Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 73.55 kB / 21.24 MB, free: 0.5508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002132/0.002132, allocations: 153 kB / 24.49 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5032,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5032,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 43.23 kB / 319.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09168/0.09323, allocations: 52.17 MB / 371.6 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004105/0.09733, allocations: 2.549 MB / 374.1 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.09867, allocations: 0.6817 MB / 374.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.09881, allocations: 8 kB / 374.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.09896, allocations: 47.56 kB / 374.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.09914, allocations: 83.2 kB / 374.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.09947, allocations: 107.8 kB / 375.1 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004404/0.09991, allocations: 378.5 kB / 375.4 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.1001, allocations: 56.83 kB / 375.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.1003, allocations: 151.5 kB / 375.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.1006, allocations: 159.3 kB / 375.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.806e-05/0.1006, allocations: 32 kB / 375.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.981e-05/0.1007, allocations: 32 kB / 375.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.103e-05/0.1008, allocations: 71.75 kB / 375.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.1009, allocations: 127.4 kB / 376 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004371/0.1014, allocations: 366.6 kB / 376.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1014, allocations: 0 / 376.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1014, allocations: 4 kB / 376.4 MB, free: 2.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1014, allocations: 0 / 376.4 MB, free: 2.477 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001605/0.103, allocations: 0.6048 MB / 377 MB, free: 1.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.103, allocations: 8.031 kB / 377 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.619e-05/0.1031, allocations: 32.75 kB / 377 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004219/0.1035, allocations: 210.9 kB / 377.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.1036, allocations: 16.88 kB / 377.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.144e-05/0.1036, allocations: 24.33 kB / 377.3 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000811/0.1044, allocations: 344.6 kB / 377.6 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1044, allocations: 0 / 377.6 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.118e-05/0.1045, allocations: 12 kB / 377.6 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.1045, allocations: 4 kB / 377.6 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009879/0.1055, allocations: 289.8 kB / 377.9 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.1072, allocations: 0.817 MB / 378.7 MB, free: 0 / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002997/0.1102, allocations: 486.1 kB / 379.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000669/0.1108, allocations: 203.8 kB / 379.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.1109, allocations: 3.984 kB / 379.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007138/0.1116, allocations: 259.4 kB / 379.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.753e-06/0.1116, allocations: 0 / 379.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001662/0.1133, allocations: 468.7 kB / 380.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.145e-05/0.1133, allocations: 110.8 kB / 380.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.1136, allocations: 221.8 kB / 380.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/0.1137, allocations: 33.7 kB / 380.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.1138, allocations: 168.3 kB / 380.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.226e-05/0.1139, allocations: 75.38 kB / 380.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.114, allocations: 53.88 kB / 380.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.1142, allocations: 330.8 kB / 381.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005327/0.1147, allocations: 166.1 kB / 381.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005748/0.1153, allocations: 231.6 kB / 381.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009717/0.1163, allocations: 324.1 kB / 381.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1163, allocations: 0 / 381.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001159/0.1174, allocations: 424.7 kB / 382.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.707e-05/0.1175, allocations: 37.7 kB / 382.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.1175, allocations: 3.938 kB / 382.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.1175, allocations: 3.984 kB / 382.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/0.1192, allocations: 239.7 kB / 382.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004766/0.124, allocations: 3.147 MB / 385.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003938/0.1244, allocations: 51.78 kB / 385.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.1244, allocations: 7.984 kB / 385.7 MB, free: 8.668 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001768/0.1246, allocations: 142.1 kB / 385.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.733e-05/0.1246, allocations: 31.8 kB / 385.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.31e-05/0.1247, allocations: 34.09 kB / 385.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.1247, allocations: 4 kB / 385.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1247, allocations: 0 / 385.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1247, allocations: 0 / 385.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.1265, allocations: 0.7799 MB / 386.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1265, allocations: 0 / 386.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001703/0.1282, allocations: 235.8 kB / 386.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1282, allocations: 0 / 386.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.1283, allocations: 4 kB / 386.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004807/0.1331, allocations: 3.151 MB / 390.1 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1331, allocations: 0 / 390.1 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.1348, allocations: 0.5985 MB / 390.7 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.128e-05/0.1348, allocations: 27.81 kB / 390.7 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.1349, allocations: 8.062 kB / 390.7 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/0.1352, allocations: 47.89 kB / 390.8 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.828e-05/0.1353, allocations: 23.95 kB / 390.8 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.1354, allocations: 8 kB / 390.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001724/0.1355, allocations: 169.2 kB / 391 MB, free: 3.137 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1355, allocations: 0 / 391 MB, free: 3.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004958/0.136, allocations: 83.83 kB / 391 MB, free: 3.055 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (thyristor_v4_1.vControl,inductor.i) * Number of discrete variables: 3 ($whenCondition1,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001429/0.1362, allocations: 115.2 kB / 391.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002653/0.1388, allocations: 0.5542 MB / 391.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1388, allocations: 0 / 391.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002041/0.1409, allocations: 355 kB / 392.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.1413, allocations: 44.41 kB / 392.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.1431, allocations: 0.6774 MB / 392.8 MB, free: 1.266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.1432, allocations: 142.2 kB / 392.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.1433, allocations: 25.94 kB / 392.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.72e-05/0.1434, allocations: 24.48 kB / 393 MB, free: 1.059 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1434, allocations: 4 kB / 393 MB, free: 1.055 MB / 350.1 MB Notification: Performance of Templates: time 0.008382/0.1518, allocations: 3.884 MB / 396.8 MB, free: 13.22 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.373130219988525]