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.001075/0.001074, allocations: 181.4 kB / 16.39 MB, free: 5.762 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.29/1.29, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0007763/0.0007764, allocations: 98.3 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003034/0.0003034, allocations: 11.94 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2927, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1056/0.3984, allocations: 80.98 MB / 482.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.3987, allocations: 73.2 kB / 482.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01509/0.4138, allocations: 4.954 MB / 487.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4138, allocations: 0 / 487.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.4139, allocations: 12 kB / 487.5 MB, free: 10.46 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.001315/0.4152, allocations: 0.634 MB / 488.1 MB, free: 9.773 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.4152, allocations: 8.031 kB / 488.1 MB, free: 9.766 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.219e-05/0.4153, allocations: 31.62 kB / 488.2 MB, free: 9.734 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.4157, allocations: 259.4 kB / 488.4 MB, free: 9.438 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.4157, allocations: 16.42 kB / 488.4 MB, free: 9.422 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.576e-05/0.4158, allocations: 20 kB / 488.5 MB, free: 9.402 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007385/0.4165, allocations: 333.7 kB / 488.8 MB, free: 9.062 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.4165, allocations: 3.953 kB / 488.8 MB, free: 9.059 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.4166, allocations: 7.938 kB / 488.8 MB, free: 9.051 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.4166, allocations: 4 kB / 488.8 MB, free: 9.047 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009223/0.4175, allocations: 333.5 kB / 489.1 MB, free: 8.723 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.4195, allocations: 1.019 MB / 490.2 MB, free: 7.637 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003524/0.423, allocations: 0.6232 MB / 490.8 MB, free: 7.004 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.4231, allocations: 0 / 490.8 MB, free: 7.004 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007092/0.4238, allocations: 262 kB / 491 MB, free: 6.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.613e-06/0.4238, allocations: 0 / 491 MB, free: 6.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.001553/0.4254, allocations: 0.5266 MB / 491.6 MB, free: 6.199 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.313e-05/0.4255, allocations: 85.09 kB / 491.6 MB, free: 6.098 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/0.4257, allocations: 204.5 kB / 491.8 MB, free: 5.895 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.4258, allocations: 29.7 kB / 491.9 MB, free: 5.859 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.4259, allocations: 168.1 kB / 492 MB, free: 5.691 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.051e-05/0.426, allocations: 63.02 kB / 492.1 MB, free: 5.629 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.032e-05/0.426, allocations: 8 kB / 492.1 MB, free: 5.621 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.4262, allocations: 338.8 kB / 492.4 MB, free: 5.281 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004764/0.4267, allocations: 160.4 kB / 492.6 MB, free: 5.121 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004836/0.4272, allocations: 201 kB / 492.8 MB, free: 4.918 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004899/0.4277, allocations: 195 kB / 493 MB, free: 4.723 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.4277, allocations: 0 / 493 MB, free: 4.723 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001078/0.4288, allocations: 452.6 kB / 493.4 MB, free: 4.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.427e-05/0.4289, allocations: 29.7 kB / 493.4 MB, free: 4.234 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.4289, allocations: 4 kB / 493.5 MB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.4289, allocations: 0 / 493.5 MB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002398/0.4313, allocations: 343.5 kB / 493.8 MB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005166/0.4365, allocations: 3.279 MB / 497.1 MB, free: 360 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004984/0.437, allocations: 59.83 kB / 497.1 MB, free: 300 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.4371, allocations: 16.05 kB / 497.1 MB, free: 284 kB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0001979/0.4373, allocations: 144.7 kB / 497.3 MB, free: 132 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.4373, allocations: 23.72 kB / 497.3 MB, free: 108 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.287e-05/0.4374, allocations: 30.17 kB / 497.3 MB, free: 76 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.4374, allocations: 3.953 kB / 497.3 MB, free: 72 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.4374, allocations: 4 kB / 497.3 MB, free: 68 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4374, allocations: 0 / 497.3 MB, free: 68 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.4378, allocations: 349.3 kB / 497.7 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.4378, allocations: 0 / 497.7 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002386/0.4402, allocations: 323.7 kB / 498 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.4403, allocations: 4 kB / 498 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.4403, allocations: 4 kB / 498 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00508/0.4454, allocations: 3.283 MB / 0.4895 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.4454, allocations: 0 / 0.4895 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.447, allocations: 0.593 MB / 0.4901 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.4471, allocations: 116.7 kB / 0.4902 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.4471, allocations: 4 kB / 0.4902 GB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003979/0.4475, allocations: 56 kB / 0.4903 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.4477, allocations: 27.95 kB / 0.4903 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.4477, allocations: 8 kB / 0.4903 GB, free: 10.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000184/0.4479, allocations: 172.5 kB / 0.4905 GB, free: 10.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4479, allocations: 0 / 0.4905 GB, free: 10.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004741/0.4484, allocations: 83.84 kB / 0.4906 GB, free: 10.72 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.000199/0.4486, allocations: 123.6 kB / 0.4907 GB, free: 10.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002971/0.4516, allocations: 0.6511 MB / 0.4913 GB, free: 9.926 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4516, allocations: 4.062 kB / 0.4913 GB, free: 9.922 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002312/0.4539, allocations: 421.3 kB / 0.4917 GB, free: 9.512 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.4542, allocations: 31.55 kB / 0.4918 GB, free: 9.484 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.4559, allocations: 0.7743 MB / 0.4925 GB, free: 8.688 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.4562, allocations: 0.7521 MB / 0.4932 GB, free: 7.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001553/0.4563, allocations: 29.88 kB / 0.4933 GB, free: 7.883 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.261e-05/0.4564, allocations: 19.44 kB / 0.4933 GB, free: 7.863 MB / 378.7 MB Notification: Performance of SimCode: time 1.213e-06/0.4564, allocations: 4 kB / 0.4933 GB, free: 7.859 MB / 378.7 MB Notification: Performance of Templates: time 0.006811/0.4632, allocations: 3.138 MB / 0.4964 GB, free: 4.742 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/jenkins/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