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.001367/0.001367, allocations: 116.2 kB / 20.43 MB, free: 1.297 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.002077/0.002077, allocations: 186.3 kB / 23.72 MB, free: 4.535 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.47/1.47, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.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.001606/0.001606, allocations: 47.92 kB / 370.9 MB, free: 9.453 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2561, allocations: 52.18 MB / 423.1 MB, free: 14.74 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004283/0.2604, allocations: 2.776 MB / 425.9 MB, free: 11.95 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001323/0.2617, allocations: 0.705 MB / 426.6 MB, free: 11.24 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.2618, allocations: 4 kB / 426.6 MB, free: 11.23 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.262, allocations: 43.56 kB / 426.6 MB, free: 11.19 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.2622, allocations: 91.2 kB / 426.7 MB, free: 11.1 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.2625, allocations: 103.8 kB / 426.8 MB, free: 11 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004532/0.2629, allocations: 378.5 kB / 427.2 MB, free: 10.63 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.2631, allocations: 56.89 kB / 427.3 MB, free: 10.57 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000275/0.2634, allocations: 163.4 kB / 427.4 MB, free: 10.41 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.2636, allocations: 171.3 kB / 427.6 MB, free: 10.24 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.286e-05/0.2637, allocations: 32 kB / 427.6 MB, free: 10.21 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.868e-05/0.2638, allocations: 36 kB / 427.7 MB, free: 10.18 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.167e-05/0.2638, allocations: 67.75 kB / 427.7 MB, free: 10.11 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.264, allocations: 155.2 kB / 427.9 MB, free: 9.957 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004426/0.2645, allocations: 359.9 kB / 428.2 MB, free: 9.609 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.2645, allocations: 4 kB / 428.2 MB, free: 9.605 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.223e-06/0.2645, allocations: 3.938 kB / 428.2 MB, free: 9.602 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.113e-05/0.2645, allocations: 0 / 428.2 MB, free: 9.602 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.001654/0.2661, allocations: 0.6087 MB / 428.8 MB, free: 8.957 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2662, allocations: 8.031 kB / 428.8 MB, free: 8.949 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.756e-05/0.2663, allocations: 32.75 kB / 428.9 MB, free: 8.918 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.2667, allocations: 210.9 kB / 429.1 MB, free: 8.684 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.2667, allocations: 16.81 kB / 429.1 MB, free: 8.668 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.814e-05/0.2668, allocations: 24.33 kB / 429.1 MB, free: 8.645 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008526/0.2676, allocations: 314 kB / 429.4 MB, free: 8.324 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2676, allocations: 0 / 429.4 MB, free: 8.324 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.2677, allocations: 11.98 kB / 429.4 MB, free: 8.312 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.2677, allocations: 4 kB / 429.4 MB, free: 8.309 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.2687, allocations: 293.5 kB / 429.7 MB, free: 8.02 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.2707, allocations: 0.9172 MB / 430.7 MB, free: 7.043 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.00316/0.2738, allocations: 486.1 kB / 431.1 MB, free: 6.559 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007265/0.2746, allocations: 207.8 kB / 431.3 MB, free: 6.355 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.2746, allocations: 11.92 kB / 431.3 MB, free: 6.344 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007181/0.2753, allocations: 239.5 kB / 431.6 MB, free: 6.09 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=21): time 1.824e-06/0.2753, allocations: 3.938 kB / 431.6 MB, free: 6.086 MB / 334.1 MB
Notification: Performance of matching and sorting (n=21): time 0.001741/0.2771, allocations: 460 kB / 432 MB, free: 5.633 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.084e-05/0.2771, allocations: 114.7 kB / 432.1 MB, free: 5.496 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.2774, allocations: 233 kB / 432.4 MB, free: 5.258 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.2775, allocations: 29.7 kB / 432.4 MB, free: 5.223 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.2776, allocations: 164.4 kB / 432.6 MB, free: 5.059 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 8.838e-05/0.2777, allocations: 71.38 kB / 432.6 MB, free: 4.988 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.2779, allocations: 53.88 kB / 432.7 MB, free: 4.926 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001702/0.278, allocations: 330.8 kB / 433 MB, free: 4.594 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005322/0.2786, allocations: 140.4 kB / 433.1 MB, free: 4.457 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005545/0.2791, allocations: 181.4 kB / 433.3 MB, free: 4.27 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.2801, allocations: 304.1 kB / 433.6 MB, free: 3.957 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.2801, allocations: 0 / 433.6 MB, free: 3.957 MB / 334.1 MB
Notification: Performance of matching and sorting (n=28) (initialization): time 0.001259/0.2814, allocations: 407 kB / 434 MB, free: 3.547 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.232e-05/0.2814, allocations: 37.64 kB / 434 MB, free: 3.504 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2814, allocations: 0 / 434 MB, free: 3.504 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.2815, allocations: 4 kB / 434.1 MB, free: 3.5 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001858/0.2833, allocations: 243.6 kB / 434.3 MB, free: 3.262 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005331/0.2886, allocations: 3.186 MB / 437.5 MB, free: 15.86 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004569/0.2891, allocations: 51.8 kB / 437.5 MB, free: 15.8 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.2891, allocations: 8 kB / 437.5 MB, free: 15.8 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.0002298/0.2894, allocations: 154 kB / 437.7 MB, free: 15.64 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.2894, allocations: 23.86 kB / 437.7 MB, free: 15.61 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.112e-05/0.2895, allocations: 30.11 kB / 437.7 MB, free: 15.58 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2895, allocations: 4 kB / 437.7 MB, free: 15.58 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.2895, allocations: 3.984 kB / 437.7 MB, free: 15.57 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2895, allocations: 0 / 437.7 MB, free: 15.57 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.2916, allocations: 0.8651 MB / 438.6 MB, free: 14.65 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2916, allocations: 0 / 438.6 MB, free: 14.65 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/0.2935, allocations: 231.8 kB / 438.8 MB, free: 14.43 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.2935, allocations: 7.922 kB / 438.8 MB, free: 14.42 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.2935, allocations: 4 kB / 438.8 MB, free: 14.41 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005397/0.2989, allocations: 3.216 MB / 442.1 MB, free: 10.97 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2989, allocations: 4.031 kB / 442.1 MB, free: 10.97 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.3007, allocations: 0.5906 MB / 442.7 MB, free: 10.36 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.38e-05/0.3007, allocations: 19.92 kB / 442.7 MB, free: 10.34 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.238e-05/0.3008, allocations: 11.94 kB / 442.7 MB, free: 10.32 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004109/0.3012, allocations: 39.95 kB / 442.7 MB, free: 10.29 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.571e-05/0.3013, allocations: 27.95 kB / 442.8 MB, free: 10.26 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.3013, allocations: 7.984 kB / 442.8 MB, free: 10.25 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001818/0.3015, allocations: 176.5 kB / 442.9 MB, free: 10.08 MB / 350.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3015, allocations: 0 / 442.9 MB, free: 10.08 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0005275/0.302, allocations: 83.83 kB / 443 MB, free: 10 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.0001463/0.3022, allocations: 107.2 kB / 443.1 MB, free: 9.883 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.002726/0.3049, allocations: 0.5315 MB / 443.7 MB, free: 9.34 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.3049, allocations: 0 / 443.7 MB, free: 9.34 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002147/0.3071, allocations: 354.3 kB / 444 MB, free: 8.996 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.3075, allocations: 40.36 kB / 444 MB, free: 8.953 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.3093, allocations: 0.6887 MB / 444.7 MB, free: 8.238 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.3097, allocations: 0.748 MB / 445.5 MB, free: 7.465 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001302/0.3098, allocations: 25.94 kB / 445.5 MB, free: 7.441 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.254e-05/0.3099, allocations: 23.44 kB / 445.5 MB, free: 7.422 MB / 350.1 MB
Notification: Performance of SimCode: time 4.31e-07/0.3099, allocations: 7.938 kB / 445.5 MB, free: 7.414 MB / 350.1 MB
Notification: Performance of Templates: time 0.00886/0.3188, allocations: 3.937 MB / 449.5 MB, free: 3.496 MB / 350.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  -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins/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.691782728768885]