Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00193/0.00193, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003216/0.003216, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.531/1.531, allocations: 230.3 MB / 258 MB, free: 8.223 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.003162/0.003162, allocations: 63.89 kB / 378.8 MB, free: 2.77 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2924, allocations: 53.36 MB / 432.1 MB, free: 7.055 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.005462/0.2979, allocations: 2.796 MB / 434.9 MB, free: 4.246 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001619/0.2995, allocations: 0.7595 MB / 435.7 MB, free: 3.48 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.2996, allocations: 4 kB / 435.7 MB, free: 3.477 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.2998, allocations: 43.56 kB / 435.7 MB, free: 3.434 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.3, allocations: 91.2 kB / 435.8 MB, free: 3.344 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.3004, allocations: 115.8 kB / 435.9 MB, free: 3.23 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004613/0.3008, allocations: 386.5 kB / 436.3 MB, free: 2.852 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.301, allocations: 64.88 kB / 436.4 MB, free: 2.785 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003475/0.3014, allocations: 159.5 kB / 436.5 MB, free: 2.629 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002583/0.3016, allocations: 171.3 kB / 436.7 MB, free: 2.461 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.925e-05/0.3017, allocations: 32 kB / 436.7 MB, free: 2.43 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.3018, allocations: 44 kB / 436.8 MB, free: 2.387 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.64e-05/0.3019, allocations: 71.8 kB / 436.8 MB, free: 2.316 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000191/0.3021, allocations: 155.2 kB / 437 MB, free: 2.164 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005252/0.3026, allocations: 388.1 kB / 437.4 MB, free: 1.789 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.3026, allocations: 0 / 437.4 MB, free: 1.789 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.733e-06/0.3026, allocations: 0 / 437.4 MB, free: 1.789 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 9.147e-06/0.3026, allocations: 0 / 437.4 MB, free: 1.789 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.001711/0.3043, allocations: 0.6086 MB / 438 MB, free: 1.145 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.3044, allocations: 16.02 kB / 438 MB, free: 1.129 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/0.3045, allocations: 40.75 kB / 438 MB, free: 1.09 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004134/0.305, allocations: 213.1 kB / 438.2 MB, free: 0.8555 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.305, allocations: 20.81 kB / 438.3 MB, free: 0.8359 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.225e-05/0.305, allocations: 20.33 kB / 438.3 MB, free: 0.8164 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008272/0.3059, allocations: 318 kB / 438.6 MB, free: 0.4922 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3059, allocations: 0 / 438.6 MB, free: 0.4922 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.3059, allocations: 8 kB / 438.6 MB, free: 496 kB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.3059, allocations: 4 kB / 438.6 MB, free: 492 kB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.3069, allocations: 305.5 kB / 438.9 MB, free: 188 kB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001928/0.3089, allocations: 0.9288 MB / 439.8 MB, free: 15.2 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.003421/0.3123, allocations: 488.7 kB / 440.3 MB, free: 14.71 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007022/0.313, allocations: 200.3 kB / 440.5 MB, free: 14.52 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.313, allocations: 11.92 kB / 440.5 MB, free: 14.5 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007268/0.3137, allocations: 245.1 kB / 440.8 MB, free: 14.25 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=21): time 2.044e-06/0.3137, allocations: 0 / 440.8 MB, free: 14.25 MB / 350.1 MB
Notification: Performance of matching and sorting (n=21): time 0.001683/0.3154, allocations: 480.3 kB / 441.2 MB, free: 13.77 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.876e-05/0.3155, allocations: 110.8 kB / 441.3 MB, free: 13.64 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.3158, allocations: 233.1 kB / 441.6 MB, free: 13.41 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.124e-05/0.3158, allocations: 37.7 kB / 441.6 MB, free: 13.36 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.316, allocations: 160.4 kB / 441.7 MB, free: 13.2 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.705e-05/0.3161, allocations: 75.38 kB / 441.8 MB, free: 13.13 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.3162, allocations: 41.94 kB / 441.9 MB, free: 13.08 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001753/0.3164, allocations: 338.8 kB / 442.2 MB, free: 12.74 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005081/0.3169, allocations: 144.3 kB / 442.3 MB, free: 12.6 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005248/0.3174, allocations: 180.2 kB / 442.5 MB, free: 12.41 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009744/0.3184, allocations: 324.7 kB / 442.8 MB, free: 12.08 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3184, allocations: 0 / 442.8 MB, free: 12.08 MB / 350.1 MB
Notification: Performance of matching and sorting (n=28) (initialization): time 0.001269/0.3197, allocations: 415 kB / 443.2 MB, free: 11.66 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.528e-05/0.3197, allocations: 33.64 kB / 443.3 MB, free: 11.62 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.3197, allocations: 4 kB / 443.3 MB, free: 11.62 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.3197, allocations: 0 / 443.3 MB, free: 11.62 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/0.3215, allocations: 275.5 kB / 443.5 MB, free: 11.35 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005259/0.3268, allocations: 3.236 MB / 446.8 MB, free: 7.895 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004416/0.3272, allocations: 59.89 kB / 446.8 MB, free: 7.836 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/0.3273, allocations: 8 kB / 446.8 MB, free: 7.828 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.0002163/0.3275, allocations: 141.7 kB / 447 MB, free: 7.68 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.267e-05/0.3276, allocations: 27.8 kB / 447 MB, free: 7.652 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.2e-05/0.3276, allocations: 30.11 kB / 447 MB, free: 7.621 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3276, allocations: 7.984 kB / 447 MB, free: 7.613 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3276, allocations: 4 kB / 447 MB, free: 7.609 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.3276, allocations: 4 kB / 447.1 MB, free: 7.605 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.3296, allocations: 0.8728 MB / 447.9 MB, free: 6.676 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3296, allocations: 4.062 kB / 447.9 MB, free: 6.672 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/0.3314, allocations: 259.6 kB / 448.2 MB, free: 6.418 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/0.3314, allocations: 8 kB / 448.2 MB, free: 6.41 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.3314, allocations: 3.984 kB / 448.2 MB, free: 6.406 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005262/0.3367, allocations: 3.24 MB / 451.4 MB, free: 2.938 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3367, allocations: 0 / 451.4 MB, free: 2.938 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.3383, allocations: 0.608 MB / 452 MB, free: 2.312 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/0.3384, allocations: 27.84 kB / 452.1 MB, free: 2.285 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/0.3384, allocations: 8 kB / 452.1 MB, free: 2.277 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/0.3388, allocations: 39.95 kB / 452.1 MB, free: 2.238 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.3389, allocations: 31.95 kB / 452.1 MB, free: 2.207 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.3389, allocations: 7.938 kB / 452.2 MB, free: 2.199 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002085/0.3391, allocations: 172.5 kB / 452.3 MB, free: 2.027 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3391, allocations: 4 kB / 452.3 MB, free: 2.023 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0005946/0.3397, allocations: 87.88 kB / 452.4 MB, free: 1.938 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.0001867/0.3399, allocations: 103.2 kB / 452.5 MB, free: 1.824 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.002702/0.3426, allocations: 0.5574 MB / 453.1 MB, free: 1.254 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.3426, allocations: 4 kB / 453.1 MB, free: 1.25 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002049/0.3447, allocations: 379.7 kB / 453.4 MB, free: 0.8789 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004938/0.3452, allocations: 52.27 kB / 453.5 MB, free: 0.8281 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.3472, allocations: 0.697 MB / 454.2 MB, free: 104 kB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.3477, allocations: 0.744 MB / 454.9 MB, free: 15.33 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0001347/0.3478, allocations: 29.94 kB / 455 MB, free: 15.3 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.239e-05/0.3479, allocations: 19.44 kB / 455 MB, free: 15.29 MB / 366.1 MB
Notification: Performance of SimCode: time 1.192e-06/0.3479, allocations: 0 / 455 MB, free: 15.29 MB / 366.1 MB
Notification: Performance of Templates: time 0.009155/0.3571, allocations: 4.004 MB / 459 MB, free: 11.31 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.9688942125067115]