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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001295/0.001296, allocations: 172.5 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008306/0.0008306, allocations: 82.69 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.289e-05/3.291e-05, allocations: 7.984 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1088, allocations: 47.57 MB / 370 MB, free: 1.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3266/0.4354, allocations: 79.21 MB / 449.2 MB, free: 14.06 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.4358, allocations: 69.08 kB / 449.3 MB, free: 14.03 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01444/0.4502, allocations: 4.785 MB / 454.1 MB, free: 9.895 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.63e-06/0.4503, allocations: 4 kB / 454.1 MB, free: 9.891 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.4503, allocations: 6.078 kB / 454.1 MB, free: 9.887 MB / 330.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.001224/0.4515, allocations: 0.6009 MB / 454.7 MB, free: 9.254 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.4516, allocations: 12.03 kB / 454.7 MB, free: 9.242 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.038e-05/0.4517, allocations: 31.7 kB / 454.7 MB, free: 9.211 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.452, allocations: 257.1 kB / 455 MB, free: 8.938 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.452, allocations: 19.7 kB / 455 MB, free: 8.926 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.268e-05/0.4521, allocations: 19.25 kB / 455 MB, free: 8.914 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004391/0.4525, allocations: 249.2 kB / 455.3 MB, free: 8.727 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.4526, allocations: 4 kB / 455.3 MB, free: 8.723 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.4526, allocations: 7.25 kB / 455.3 MB, free: 8.723 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.4526, allocations: 4 kB / 455.3 MB, free: 8.719 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003333/0.453, allocations: 174.9 kB / 455.5 MB, free: 8.613 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.4549, allocations: 1.018 MB / 456.5 MB, free: 7.719 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002614/0.4575, allocations: 475.6 kB / 456.9 MB, free: 7.324 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.4578, allocations: 157 kB / 457.1 MB, free: 7.215 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.4579, allocations: 0 / 457.1 MB, free: 7.215 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003272/0.4582, allocations: 187.3 kB / 457.3 MB, free: 7.047 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.533e-06/0.4582, allocations: 0 / 457.3 MB, free: 7.047 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004707/0.4587, allocations: 216.8 kB / 457.5 MB, free: 6.883 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.11e-05/0.4588, allocations: 106.8 kB / 457.6 MB, free: 6.754 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.459, allocations: 210.4 kB / 457.8 MB, free: 6.574 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.4591, allocations: 33.02 kB / 457.8 MB, free: 6.539 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.4592, allocations: 159 kB / 458 MB, free: 6.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.54e-05/0.4593, allocations: 68.38 kB / 458 MB, free: 6.352 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-05/0.4593, allocations: 3.5 kB / 458.1 MB, free: 6.352 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.4594, allocations: 339.9 kB / 458.4 MB, free: 6.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.4596, allocations: 85.41 kB / 458.5 MB, free: 5.965 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.4598, allocations: 110.3 kB / 458.6 MB, free: 5.883 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.4599, allocations: 109.1 kB / 458.7 MB, free: 5.801 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.46, allocations: 0 / 458.7 MB, free: 5.801 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004555/0.4604, allocations: 291.4 kB / 459 MB, free: 5.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.222e-05/0.4605, allocations: 33.7 kB / 459 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4605, allocations: 0 / 459 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.4605, allocations: 0 / 459 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002219/0.4627, allocations: 343.4 kB / 459.3 MB, free: 5.199 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004091/0.4668, allocations: 3.043 MB / 462.4 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004606/0.4673, allocations: 71.92 kB / 462.4 MB, free: 1.895 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.4674, allocations: 8 kB / 462.5 MB, free: 1.887 MB / 330.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 () * 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.0001204/0.4675, allocations: 121.1 kB / 462.6 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.4675, allocations: 23.67 kB / 462.6 MB, free: 1.738 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.845e-05/0.4676, allocations: 37.89 kB / 462.6 MB, free: 1.699 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.4676, allocations: 4 kB / 462.6 MB, free: 1.695 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.4676, allocations: 4 kB / 462.6 MB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.4677, allocations: 0 / 462.6 MB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.4689, allocations: 0.7919 MB / 463.4 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4689, allocations: 0 / 463.4 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002225/0.4711, allocations: 327.7 kB / 463.8 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.4712, allocations: 4 kB / 463.8 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.4712, allocations: 0 / 463.8 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004066/0.4753, allocations: 3.052 MB / 466.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.4753, allocations: 4.031 kB / 466.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006951/0.476, allocations: 458.8 kB / 467.3 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.925e-05/0.4761, allocations: 100.8 kB / 467.4 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.743e-05/0.4762, allocations: 11.98 kB / 467.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004011/0.4766, allocations: 59.95 kB / 467.4 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.4767, allocations: 27.95 kB / 467.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.4767, allocations: 4 kB / 467.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001691/0.4769, allocations: 169.4 kB / 467.6 MB, free: 12.33 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4769, allocations: 4 kB / 467.6 MB, free: 12.33 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004753/0.4774, allocations: 87.84 kB / 467.7 MB, free: 12.24 MB / 346.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) * 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.0001866/0.4776, allocations: 119.6 kB / 467.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002247/0.4798, allocations: 487 kB / 468.3 MB, free: 11.63 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4798, allocations: 0 / 468.3 MB, free: 11.63 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001906/0.4817, allocations: 343.9 kB / 468.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.4821, allocations: 32.42 kB / 468.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.4835, allocations: 476.9 kB / 469.1 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.4838, allocations: 0.7597 MB / 469.9 MB, free: 9.98 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001477/0.484, allocations: 26.06 kB / 469.9 MB, free: 9.957 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.271e-05/0.4841, allocations: 23.38 kB / 469.9 MB, free: 9.934 MB / 346.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4841, allocations: 0 / 469.9 MB, free: 9.934 MB / 346.7 MB Notification: Performance of Templates: time 0.006495/0.4906, allocations: 3.232 MB / 473.2 MB, free: 6.707 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) 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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches