Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 210.9 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.51/1.51, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 47.92 kB / 378.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3461, allocations: 53.36 MB / 431.6 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.005572/0.3517, allocations: 2.599 MB / 434.2 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.3533, allocations: 0.709 MB / 434.9 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.3534, allocations: 4 kB / 434.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.3536, allocations: 43.56 kB / 434.9 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.3538, allocations: 91.2 kB / 435 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004184/0.3542, allocations: 115.8 kB / 435.1 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005339/0.3547, allocations: 390.5 kB / 435.5 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.3549, allocations: 60.55 kB / 435.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003585/0.3553, allocations: 167.5 kB / 435.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.3556, allocations: 171.3 kB / 435.9 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.553e-05/0.3556, allocations: 32 kB / 435.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.3558, allocations: 40 kB / 436 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.473e-05/0.3559, allocations: 75.73 kB / 436.1 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.3561, allocations: 131.4 kB / 436.2 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006108/0.3567, allocations: 385.1 kB / 436.6 MB, free: 1.684 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3567, allocations: 0 / 436.6 MB, free: 1.684 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3567, allocations: 0 / 436.6 MB, free: 1.684 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.3567, allocations: 0 / 436.6 MB, free: 1.684 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.001722/0.3584, allocations: 0.6126 MB / 437.2 MB, free: 1.035 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.3585, allocations: 8.031 kB / 437.2 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.3587, allocations: 44.75 kB / 437.2 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/0.3591, allocations: 217 kB / 437.4 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.3592, allocations: 12.81 kB / 437.4 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.797e-05/0.3592, allocations: 28.31 kB / 437.5 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008894/0.3601, allocations: 347.7 kB / 437.8 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3601, allocations: 0 / 437.8 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/0.3602, allocations: 12 kB / 437.8 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.3602, allocations: 4 kB / 437.8 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009594/0.3612, allocations: 297.5 kB / 438.1 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.363, allocations: 0.8203 MB / 438.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003198/0.3662, allocations: 490.1 kB / 439.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006383/0.3668, allocations: 200.7 kB / 439.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.3668, allocations: 8 kB / 439.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006912/0.3675, allocations: 263.5 kB / 439.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.754e-06/0.3675, allocations: 0 / 439.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001598/0.3691, allocations: 476.3 kB / 440.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.194e-05/0.3692, allocations: 106.8 kB / 440.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.3695, allocations: 233 kB / 440.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.3695, allocations: 29.7 kB / 440.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.3697, allocations: 172.4 kB / 440.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.791e-05/0.3697, allocations: 79.33 kB / 441 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.3699, allocations: 45.92 kB / 441 MB, free: 13.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.37, allocations: 334.8 kB / 441.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005059/0.3705, allocations: 170 kB / 441.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005779/0.3711, allocations: 235.6 kB / 441.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000938/0.3721, allocations: 316.1 kB / 442 MB, free: 11.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3721, allocations: 0 / 442 MB, free: 11.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001178/0.3732, allocations: 444.6 kB / 442.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.403e-05/0.3733, allocations: 37.69 kB / 442.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.3733, allocations: 11.88 kB / 442.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3733, allocations: 0 / 442.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00198/0.3753, allocations: 263.7 kB / 442.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00519/0.3805, allocations: 3.19 MB / 446 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004146/0.3809, allocations: 56.09 kB / 446 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.3809, allocations: 4 kB / 446 MB, free: 7.73 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.0002119/0.3811, allocations: 141.8 kB / 446.2 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/0.3812, allocations: 27.8 kB / 446.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.351e-05/0.3812, allocations: 30.12 kB / 446.2 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3813, allocations: 0 / 446.2 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3813, allocations: 7.984 kB / 446.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3813, allocations: 0 / 446.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.3831, allocations: 0.8032 MB / 447 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3831, allocations: 0 / 447 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001991/0.3851, allocations: 263.7 kB / 447.3 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.3851, allocations: 0 / 447.3 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.3851, allocations: 11.94 kB / 447.3 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005165/0.3903, allocations: 3.182 MB / 450.5 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3903, allocations: 4 kB / 450.5 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.3919, allocations: 0.6133 MB / 451.1 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/0.392, allocations: 19.89 kB / 451.1 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.585e-05/0.392, allocations: 4 kB / 451.1 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.3924, allocations: 48 kB / 451.2 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.057e-05/0.3925, allocations: 27.91 kB / 451.2 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.3925, allocations: 11.98 kB / 451.2 MB, free: 2.266 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001919/0.3927, allocations: 168.5 kB / 451.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3927, allocations: 0 / 451.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004984/0.3932, allocations: 87.83 kB / 451.5 MB, free: 2.012 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.0001559/0.3933, allocations: 103.2 kB / 451.6 MB, free: 1.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002908/0.3962, allocations: 0.5864 MB / 452.1 MB, free: 1.293 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.3962, allocations: 0 / 452.1 MB, free: 1.293 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002219/0.3985, allocations: 379.8 kB / 452.5 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.3989, allocations: 37.67 kB / 452.5 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.4007, allocations: 0.7085 MB / 453.3 MB, free: 156 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.4009, allocations: 142.2 kB / 453.4 MB, free: 16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000123/0.401, allocations: 17.95 kB / 453.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.424e-05/0.4011, allocations: 27.42 kB / 453.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4011, allocations: 0 / 453.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of Templates: time 0.009276/0.4104, allocations: 4.344 MB / 457.8 MB, free: 11.67 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.9661165699362755]