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.001369/0.001369, allocations: 84.98 kB / 22.99 MB, free: 1.504 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.00119/0.00119, allocations: 177.5 kB / 26.4 MB, free: 7.961 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 1.002/1.002, allocations: 158.6 MB / 188.3 MB, free: 2.801 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.703e-06/1.703e-06, allocations: 0 / 252.2 MB, free: 7.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.82e-05, allocations: 6.25 kB / 252.3 MB, free: 7.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003797/0.003826, allocations: 2.665 MB / 254.9 MB, free: 4.66 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.004891, allocations: 0.7253 MB / 255.6 MB, free: 3.926 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.005018, allocations: 4 kB / 255.7 MB, free: 3.922 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.005144, allocations: 43.56 kB / 255.7 MB, free: 3.879 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.005281, allocations: 91.2 kB / 255.8 MB, free: 3.789 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.005571, allocations: 115.6 kB / 255.9 MB, free: 3.676 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000329/0.0059, allocations: 382.4 kB / 256.3 MB, free: 3.297 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.006051, allocations: 64.75 kB / 256.3 MB, free: 3.23 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002849/0.006336, allocations: 215.5 kB / 256.5 MB, free: 3.02 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.006496, allocations: 135.7 kB / 256.7 MB, free: 2.887 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.006538, allocations: 32 kB / 256.7 MB, free: 2.855 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.386e-05/0.006572, allocations: 35.94 kB / 256.7 MB, free: 2.82 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.85e-05/0.00663, allocations: 71.73 kB / 256.8 MB, free: 2.75 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.078e-05/0.006721, allocations: 107.7 kB / 256.9 MB, free: 2.645 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.006975, allocations: 243.2 kB / 257.2 MB, free: 2.406 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.006977, allocations: 0 / 257.2 MB, free: 2.406 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006978, allocations: 4 kB / 257.2 MB, free: 2.402 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.006982, allocations: 0 / 257.2 MB, free: 2.402 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.0008327/0.007815, allocations: 0.6657 MB / 257.8 MB, free: 1.695 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.007851, allocations: 15.98 kB / 257.8 MB, free: 1.68 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.592e-05/0.007927, allocations: 48.75 kB / 257.9 MB, free: 1.633 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.00814, allocations: 205.2 kB / 258.1 MB, free: 1.402 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.008166, allocations: 12.88 kB / 258.1 MB, free: 1.387 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.008205, allocations: 32.36 kB / 258.1 MB, free: 1.355 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.008553, allocations: 259.2 kB / 258.4 MB, free: 1.078 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.008561, allocations: 192 / 258.4 MB, free: 1.078 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.00858, allocations: 8.375 kB / 258.4 MB, free: 1.07 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.008588, allocations: 11.94 kB / 258.4 MB, free: 1.059 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.008709, allocations: 83.36 kB / 258.5 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008737/0.009582, allocations: 0.8078 MB / 259.3 MB, free: 132 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007319/0.01031, allocations: 242.8 kB / 259.5 MB, free: 15.88 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.01047, allocations: 91.62 kB / 259.6 MB, free: 15.78 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.01049, allocations: 4 kB / 259.6 MB, free: 15.78 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005146/0.011, allocations: 177.6 kB / 259.8 MB, free: 15.57 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.011, allocations: 4 kB / 259.8 MB, free: 15.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003464/0.01135, allocations: 189.7 kB / 260 MB, free: 15.38 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.0114, allocations: 110.8 kB / 260.1 MB, free: 15.24 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.01154, allocations: 276.1 kB / 260.4 MB, free: 14.95 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.01156, allocations: 33.7 kB / 260.4 MB, free: 14.91 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.609e-05/0.01165, allocations: 203.2 kB / 260.6 MB, free: 14.71 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.01169, allocations: 75.34 kB / 260.7 MB, free: 14.64 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.817e-05/0.01176, allocations: 51.58 kB / 260.7 MB, free: 14.58 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.01188, allocations: 0.5119 MB / 261.2 MB, free: 14.05 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.421e-05/0.01195, allocations: 66.08 kB / 261.3 MB, free: 13.98 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.366e-05/0.01205, allocations: 127 kB / 261.4 MB, free: 13.83 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.01218, allocations: 140.5 kB / 261.6 MB, free: 13.68 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.01219, allocations: 4 kB / 261.6 MB, free: 13.67 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002593/0.01245, allocations: 240.8 kB / 261.8 MB, free: 13.42 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.01247, allocations: 37.7 kB / 261.8 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.01248, allocations: 0 / 261.8 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.01249, allocations: 4 kB / 261.8 MB, free: 13.37 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005679/0.01306, allocations: 147.8 kB / 262 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/0.01506, allocations: 3.892 MB / 265.9 MB, free: 9.125 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.01521, allocations: 35.86 kB / 265.9 MB, free: 9.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.01522, allocations: 11.94 kB / 265.9 MB, free: 9.078 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 0.0001019/0.01533, allocations: 180.6 kB / 266.1 MB, free: 8.891 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.01536, allocations: 31.86 kB / 266.1 MB, free: 8.859 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/0.01539, allocations: 26.12 kB / 266.2 MB, free: 8.828 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.01539, allocations: 4 kB / 266.2 MB, free: 8.824 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.0154, allocations: 0 / 266.2 MB, free: 8.824 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.0154, allocations: 3.984 kB / 266.2 MB, free: 8.82 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006409/0.01604, allocations: 0.6486 MB / 266.8 MB, free: 8.129 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.01604, allocations: 4.062 kB / 266.8 MB, free: 8.125 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005197/0.01656, allocations: 131.8 kB / 266.9 MB, free: 7.996 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01657, allocations: 0 / 266.9 MB, free: 7.996 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.01658, allocations: 8 kB / 267 MB, free: 7.988 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/0.01854, allocations: 3.912 MB / 270.9 MB, free: 3.859 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01854, allocations: 0 / 270.9 MB, free: 3.859 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.01885, allocations: 374.8 kB / 271.2 MB, free: 3.465 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.01887, allocations: 23.8 kB / 271.3 MB, free: 3.441 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.0189, allocations: 8 kB / 271.3 MB, free: 3.434 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.01902, allocations: 28.06 kB / 271.3 MB, free: 3.406 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.319e-05/0.01909, allocations: 35.89 kB / 271.3 MB, free: 3.371 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.0191, allocations: 8 kB / 271.3 MB, free: 3.363 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.469e-05/0.01917, allocations: 185.1 kB / 271.5 MB, free: 3.18 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01917, allocations: 3.938 kB / 271.5 MB, free: 3.176 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002909/0.01946, allocations: 75.89 kB / 271.6 MB, free: 3.102 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.0001045/0.01957, allocations: 107.2 kB / 271.7 MB, free: 2.988 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006575/0.02023, allocations: 292.5 kB / 272 MB, free: 2.68 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.02023, allocations: 0 / 272 MB, free: 2.68 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005168/0.02075, allocations: 168.6 kB / 272.1 MB, free: 2.512 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.02103, allocations: 40.45 kB / 272.2 MB, free: 2.473 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.0221, allocations: 0.5793 MB / 272.8 MB, free: 1.855 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.053e-05/0.02215, allocations: 84.58 kB / 272.8 MB, free: 1.754 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.87e-05/0.02224, allocations: 25.94 kB / 272.9 MB, free: 1.727 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.02237, allocations: 110.2 kB / 273 MB, free: 1.617 MB / 250.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02237, allocations: 0 / 273 MB, free: 1.617 MB / 250.7 MB Notification: Performance of Templates: time 0.006344/0.02871, allocations: 4.149 MB / 277.1 MB, free: 13.5 MB / 266.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.9173238668590784]