Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009151/0.0009151, allocations: 80.8 kB / 22.28 MB, free: 2.211 MB / 18.57 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.0009728/0.0009728, allocations: 169.1 kB / 25.7 MB, free: 8.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8263/0.8263, allocations: 158.6 MB / 187.6 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.073e-05/3.243e-05, allocations: 6.25 kB / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003522/0.003554, allocations: 2.677 MB / 254.2 MB, free: 4.574 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009896/0.004544, allocations: 0.7485 MB / 255 MB, free: 3.816 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.668e-05/0.004641, allocations: 4 kB / 255 MB, free: 3.812 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.004766, allocations: 39.58 kB / 255 MB, free: 3.773 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.004894, allocations: 91.14 kB / 255.1 MB, free: 3.684 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.00514, allocations: 111.7 kB / 255.2 MB, free: 3.574 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002891/0.005429, allocations: 394.3 kB / 255.6 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.00556, allocations: 58.73 kB / 255.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.005806, allocations: 215.5 kB / 255.8 MB, free: 2.918 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.005962, allocations: 139.6 kB / 256 MB, free: 2.781 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.084e-05/0.006003, allocations: 32 kB / 256 MB, free: 2.75 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.338e-05/0.006036, allocations: 32 kB / 256 MB, free: 2.719 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.443e-05/0.006091, allocations: 67.75 kB / 256.1 MB, free: 2.652 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.842e-05/0.006179, allocations: 107.7 kB / 256.2 MB, free: 2.547 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.006411, allocations: 239.2 kB / 256.5 MB, free: 2.312 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.696e-06/0.006413, allocations: 8 kB / 256.5 MB, free: 2.305 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.006415, allocations: 0 / 256.5 MB, free: 2.305 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.006418, allocations: 0 / 256.5 MB, free: 2.305 MB / 234.7 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.0007107/0.007129, allocations: 0.5371 MB / 257 MB, free: 1.738 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.007163, allocations: 19.98 kB / 257 MB, free: 1.719 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.654e-05/0.00722, allocations: 32.91 kB / 257 MB, free: 1.688 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.007409, allocations: 182.4 kB / 257.2 MB, free: 1.477 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.007432, allocations: 24.86 kB / 257.2 MB, free: 1.449 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.474e-05/0.007467, allocations: 24.38 kB / 257.3 MB, free: 1.426 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.007779, allocations: 245.6 kB / 257.5 MB, free: 1.164 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.007787, allocations: 4.188 kB / 257.5 MB, free: 1.16 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.007805, allocations: 12.36 kB / 257.5 MB, free: 1.148 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.007813, allocations: 11.94 kB / 257.5 MB, free: 1.137 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.007919, allocations: 59.42 kB / 257.6 MB, free: 1.082 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008126/0.008732, allocations: 0.6138 MB / 258.2 MB, free: 448 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006294/0.009361, allocations: 210.3 kB / 258.4 MB, free: 228 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.009503, allocations: 96.75 kB / 258.5 MB, free: 128 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.009526, allocations: 4 kB / 258.5 MB, free: 124 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.00971, allocations: 163.5 kB / 258.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.142e-06/0.009711, allocations: 0 / 258.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002333/0.009944, allocations: 145.9 kB / 258.8 MB, free: 15.79 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.00999, allocations: 106.9 kB / 258.9 MB, free: 15.66 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.01011, allocations: 217 kB / 259.1 MB, free: 15.43 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.01013, allocations: 33.7 kB / 259.2 MB, free: 15.39 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.01019, allocations: 144.9 kB / 259.3 MB, free: 15.25 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.01023, allocations: 71.36 kB / 259.4 MB, free: 15.18 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-05/0.01029, allocations: 49.91 kB / 259.4 MB, free: 15.12 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.244e-05/0.01038, allocations: 342.7 kB / 259.8 MB, free: 14.78 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.205e-05/0.01044, allocations: 54.16 kB / 259.8 MB, free: 14.72 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.209e-05/0.01052, allocations: 115.8 kB / 259.9 MB, free: 14.58 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.01065, allocations: 136 kB / 260.1 MB, free: 14.43 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01065, allocations: 0 / 260.1 MB, free: 14.43 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001806/0.01083, allocations: 193 kB / 260.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.01086, allocations: 29.7 kB / 260.3 MB, free: 14.19 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.01086, allocations: 0 / 260.3 MB, free: 14.19 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.01087, allocations: 4 kB / 260.3 MB, free: 14.19 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005574/0.01143, allocations: 151.8 kB / 260.4 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/0.01299, allocations: 2.631 MB / 263.1 MB, free: 11.24 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.01311, allocations: 40.06 kB / 263.1 MB, free: 11.2 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.01313, allocations: 7.984 kB / 263.1 MB, free: 11.2 MB / 250.7 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 9.329e-05/0.01322, allocations: 129.7 kB / 263.2 MB, free: 11.06 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.01325, allocations: 19.98 kB / 263.3 MB, free: 11.04 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/0.01329, allocations: 34.11 kB / 263.3 MB, free: 11 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01329, allocations: 0 / 263.3 MB, free: 11 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.01329, allocations: 4 kB / 263.3 MB, free: 11 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01329, allocations: 3.938 kB / 263.3 MB, free: 10.99 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004727/0.01377, allocations: 479.3 kB / 263.8 MB, free: 10.49 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.01377, allocations: 3.984 kB / 263.8 MB, free: 10.49 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004494/0.01422, allocations: 135.8 kB / 263.9 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.01422, allocations: 0 / 263.9 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.01424, allocations: 8 kB / 263.9 MB, free: 10.35 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/0.01566, allocations: 2.635 MB / 266.5 MB, free: 7.551 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01566, allocations: 4 kB / 266.5 MB, free: 7.547 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.0159, allocations: 277.2 kB / 266.8 MB, free: 7.254 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.01592, allocations: 23.73 kB / 266.8 MB, free: 7.23 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.01595, allocations: 19.92 kB / 266.9 MB, free: 7.211 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.01606, allocations: 23.98 kB / 266.9 MB, free: 7.188 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/0.01612, allocations: 23.95 kB / 266.9 MB, free: 7.164 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.01613, allocations: 11.98 kB / 266.9 MB, free: 7.152 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.045e-05/0.01618, allocations: 66.78 kB / 267 MB, free: 7.082 MB / 250.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01618, allocations: 0 / 267 MB, free: 7.082 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002499/0.01643, allocations: 83.92 kB / 267.1 MB, free: 7 MB / 250.7 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.0001171/0.01655, allocations: 84.36 kB / 267.1 MB, free: 6.906 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000576/0.01713, allocations: 285.6 kB / 267.4 MB, free: 6.605 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.01713, allocations: 128 / 267.4 MB, free: 6.605 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004489/0.01758, allocations: 161.5 kB / 267.6 MB, free: 6.445 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.01778, allocations: 36.47 kB / 267.6 MB, free: 6.41 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009299/0.01871, allocations: 0.5453 MB / 268.2 MB, free: 5.832 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.699e-05/0.01876, allocations: 92.41 kB / 268.3 MB, free: 5.723 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.866e-05/0.01883, allocations: 21.95 kB / 268.3 MB, free: 5.703 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.01894, allocations: 83.36 kB / 268.4 MB, free: 5.621 MB / 250.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01894, allocations: 0 / 268.4 MB, free: 5.621 MB / 250.7 MB Notification: Performance of Templates: time 0.005473/0.02441, allocations: 3.993 MB / 272.4 MB, free: 1.66 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4935078299604356]