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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 176.8 kB / 17.4 MB, free: 4.281 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 223.3 MB / 241.4 MB, free: 11.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009924/0.0009921, allocations: 98.88 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005303/0.0005307, allocations: 8 kB / 352.3 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3947, allocations: 50.4 MB / 402.7 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.5168, allocations: 81.01 MB / 483.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.5171, allocations: 72.62 kB / 483.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01637/0.5335, allocations: 4.962 MB / 488.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.923e-06/0.5336, allocations: 7.922 kB / 488.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.123e-05/0.5337, allocations: 4 kB / 488.8 MB, free: 10.26 MB / 362.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.001867/0.5356, allocations: 0.6303 MB / 489.4 MB, free: 9.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.24e-05/0.5356, allocations: 8.031 kB / 489.4 MB, free: 9.562 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.5358, allocations: 32.56 kB / 489.5 MB, free: 9.531 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005724/0.5364, allocations: 264.8 kB / 489.7 MB, free: 9.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.738e-05/0.5365, allocations: 16.81 kB / 489.7 MB, free: 9.215 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.347e-05/0.5365, allocations: 20.38 kB / 489.8 MB, free: 9.195 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008808/0.5374, allocations: 330.3 kB / 490.1 MB, free: 8.859 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.5375, allocations: 192 / 490.1 MB, free: 8.859 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.623e-05/0.5375, allocations: 11.92 kB / 490.1 MB, free: 8.848 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.5375, allocations: 8 kB / 490.1 MB, free: 8.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009941/0.5385, allocations: 337.5 kB / 490.4 MB, free: 8.512 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002323/0.5409, allocations: 1.027 MB / 491.5 MB, free: 7.418 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003278/0.5442, allocations: 0.6231 MB / 492.1 MB, free: 6.785 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000666/0.5449, allocations: 236.7 kB / 492.3 MB, free: 6.551 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.701e-05/0.5449, allocations: 0 / 492.3 MB, free: 6.551 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007248/0.5456, allocations: 257.8 kB / 492.6 MB, free: 6.277 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 3.005e-06/0.5457, allocations: 0 / 492.6 MB, free: 6.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.001718/0.5474, allocations: 0.5275 MB / 493.1 MB, free: 5.746 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.5475, allocations: 106.8 kB / 493.2 MB, free: 5.617 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003628/0.5479, allocations: 233 kB / 493.4 MB, free: 5.383 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.761e-05/0.548, allocations: 29.7 kB / 493.5 MB, free: 5.348 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.5482, allocations: 156.2 kB / 493.6 MB, free: 5.191 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.949e-05/0.5483, allocations: 78.98 kB / 493.7 MB, free: 5.113 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.5483, allocations: 4 kB / 493.7 MB, free: 5.109 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.5485, allocations: 330.8 kB / 494 MB, free: 4.777 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004906/0.549, allocations: 164.4 kB / 494.2 MB, free: 4.613 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005001/0.5495, allocations: 201.8 kB / 494.4 MB, free: 4.406 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009528/0.5505, allocations: 356.8 kB / 494.7 MB, free: 4.043 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.5505, allocations: 0 / 494.7 MB, free: 4.043 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0012/0.5517, allocations: 447.7 kB / 495.2 MB, free: 3.594 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.961e-05/0.5518, allocations: 33.7 kB / 495.2 MB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.5518, allocations: 11.88 kB / 495.2 MB, free: 3.543 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.5518, allocations: 0 / 495.2 MB, free: 3.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002219/0.5541, allocations: 335.6 kB / 495.5 MB, free: 3.215 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005896/0.56, allocations: 3.248 MB / 498.8 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005763/0.5606, allocations: 63.92 kB / 498.8 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.642e-05/0.5607, allocations: 11.98 kB / 498.9 MB, free: 15.63 MB / 378.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 ($whenCondition1,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.count) * 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002802/0.5609, allocations: 138 kB / 499 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.533e-05/0.561, allocations: 23.72 kB / 499 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.031e-05/0.5611, allocations: 30.17 kB / 499 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.5611, allocations: 4 kB / 499 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5611, allocations: 3.938 kB / 499 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.5612, allocations: 0 / 499 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00219/0.5634, allocations: 0.9558 MB / 0.4883 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.5634, allocations: 3.938 kB / 0.4883 GB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002161/0.5655, allocations: 331.7 kB / 0.4886 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.5656, allocations: 4 kB / 0.4886 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.5656, allocations: 0 / 0.4886 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005421/0.571, allocations: 3.256 MB / 0.4918 GB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.5711, allocations: 8 kB / 0.4918 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/0.5728, allocations: 0.6613 MB / 0.4924 GB, free: 9.871 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.573, allocations: 108.8 kB / 0.4925 GB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.29e-05/0.573, allocations: 11.94 kB / 0.4926 GB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003825/0.5734, allocations: 48.02 kB / 0.4926 GB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.5736, allocations: 35.89 kB / 0.4926 GB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/0.5736, allocations: 8 kB / 0.4926 GB, free: 9.645 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002037/0.5738, allocations: 172.4 kB / 0.4928 GB, free: 9.477 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5738, allocations: 0 / 0.4928 GB, free: 9.477 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005478/0.5744, allocations: 83.78 kB / 0.4929 GB, free: 9.395 MB / 378.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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000214/0.5746, allocations: 119.2 kB / 0.493 GB, free: 9.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003015/0.5776, allocations: 0.6706 MB / 0.4937 GB, free: 8.586 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5776, allocations: 4.062 kB / 0.4937 GB, free: 8.582 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002391/0.58, allocations: 470.3 kB / 0.4941 GB, free: 8.125 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004606/0.5805, allocations: 43.36 kB / 0.4942 GB, free: 8.086 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.5823, allocations: 0.8166 MB / 0.4949 GB, free: 7.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.5826, allocations: 0.756 MB / 0.4957 GB, free: 6.449 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.5828, allocations: 21.94 kB / 0.4957 GB, free: 6.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.737e-05/0.5829, allocations: 19.44 kB / 0.4957 GB, free: 6.41 MB / 378.7 MB Notification: Performance of SimCode: time 6.92e-07/0.5829, allocations: 0 / 0.4957 GB, free: 6.41 MB / 378.7 MB Notification: Performance of Templates: time 0.006932/0.5898, allocations: 3.237 MB / 0.4989 GB, free: 3.199 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches