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.001618/0.001618, allocations: 180 kB / 17.01 MB, free: 5.125 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.582/1.582, allocations: 205.4 MB / 223.1 MB, free: 9.023 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.0009534/0.0009536, allocations: 94.58 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002535/0.0002534, allocations: 4 kB / 328.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2397, allocations: 47.56 MB / 375.8 MB, free: 45.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1019/0.3417, allocations: 79.3 MB / 455.1 MB, free: 1.371 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.342, allocations: 75.95 kB / 455.2 MB, free: 1.297 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01498/0.357, allocations: 4.79 MB / 460 MB, free: 12.49 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.357, allocations: 0 / 460 MB, free: 12.49 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.3571, allocations: 4 kB / 460 MB, free: 12.49 MB / 346.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.001293/0.3584, allocations: 0.6418 MB / 460.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.3584, allocations: 12.03 kB / 460.6 MB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.987e-05/0.3585, allocations: 27.62 kB / 460.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.3588, allocations: 259.7 kB / 460.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.3589, allocations: 16.39 kB / 460.9 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.3589, allocations: 24 kB / 460.9 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007535/0.3597, allocations: 329.7 kB / 461.3 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3597, allocations: 0 / 461.3 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.96e-05/0.3597, allocations: 12 kB / 461.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3598, allocations: 4 kB / 461.3 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009261/0.3607, allocations: 329.5 kB / 461.6 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.3626, allocations: 1.017 MB / 462.6 MB, free: 9.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003464/0.3661, allocations: 0.6153 MB / 463.2 MB, free: 9.035 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.3661, allocations: 15.92 kB / 463.3 MB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006329/0.3667, allocations: 262.9 kB / 463.5 MB, free: 8.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.863e-06/0.3668, allocations: 0 / 463.5 MB, free: 8.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.001618/0.3684, allocations: 0.5343 MB / 464 MB, free: 8.211 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.834e-05/0.3685, allocations: 77.11 kB / 464.1 MB, free: 8.117 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.3687, allocations: 204.2 kB / 464.3 MB, free: 7.914 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.3688, allocations: 29.7 kB / 464.3 MB, free: 7.879 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.3689, allocations: 160.2 kB / 464.5 MB, free: 7.719 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.71e-05/0.369, allocations: 75 kB / 464.6 MB, free: 7.645 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/0.369, allocations: 4 kB / 464.6 MB, free: 7.641 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3691, allocations: 330.8 kB / 464.9 MB, free: 7.309 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004712/0.3696, allocations: 164.4 kB / 465.1 MB, free: 7.145 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004836/0.3701, allocations: 208.2 kB / 465.3 MB, free: 6.934 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004677/0.3706, allocations: 186.6 kB / 465.4 MB, free: 6.746 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3706, allocations: 3.938 kB / 465.5 MB, free: 6.742 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001111/0.3717, allocations: 452.5 kB / 465.9 MB, free: 6.289 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.53e-05/0.3718, allocations: 37.7 kB / 465.9 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.3718, allocations: 0 / 465.9 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.3718, allocations: 3.984 kB / 465.9 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002442/0.3743, allocations: 335.6 kB / 466.3 MB, free: 5.914 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005289/0.3796, allocations: 3.279 MB / 469.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000498/0.3801, allocations: 59.83 kB / 469.6 MB, free: 2.309 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.3802, allocations: 15.97 kB / 469.6 MB, free: 2.293 MB / 346.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.0002056/0.3804, allocations: 143.9 kB / 469.8 MB, free: 2.145 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/0.3804, allocations: 27.67 kB / 469.8 MB, free: 2.117 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.604e-05/0.3805, allocations: 30.17 kB / 469.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3805, allocations: 4 kB / 469.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.3805, allocations: 0 / 469.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3805, allocations: 0 / 469.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003771/0.3809, allocations: 349.2 kB / 470.2 MB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3809, allocations: 0 / 470.2 MB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002434/0.3833, allocations: 331.6 kB / 470.5 MB, free: 1.371 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.738e-06/0.3834, allocations: 4 kB / 470.5 MB, free: 1.367 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.3834, allocations: 0 / 470.5 MB, free: 1.367 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005068/0.3885, allocations: 3.283 MB / 473.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3885, allocations: 0 / 473.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.39, allocations: 0.6012 MB / 474.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-05/0.3901, allocations: 104.8 kB / 474.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.3902, allocations: 4 kB / 474.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.3906, allocations: 52.02 kB / 474.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.995e-05/0.3907, allocations: 31.95 kB / 474.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.3907, allocations: 7.984 kB / 474.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001676/0.3909, allocations: 168.4 kB / 474.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3909, allocations: 4 kB / 474.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004587/0.3913, allocations: 87.83 kB / 474.8 MB, free: 12.73 MB / 362.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.0001886/0.3915, allocations: 117.4 kB / 474.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002929/0.3945, allocations: 0.6481 MB / 475.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3945, allocations: 0 / 475.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0023/0.3968, allocations: 431.8 kB / 476 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.3972, allocations: 28.38 kB / 476 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.3989, allocations: 0.7759 MB / 476.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.3992, allocations: 0.7521 MB / 477.6 MB, free: 9.918 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001822/0.3994, allocations: 25.94 kB / 477.6 MB, free: 9.891 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.03e-05/0.3995, allocations: 19.44 kB / 477.6 MB, free: 9.871 MB / 362.7 MB Notification: Performance of SimCode: time 7.32e-07/0.3995, allocations: 0 / 477.6 MB, free: 9.871 MB / 362.7 MB Notification: Performance of Templates: time 0.006274/0.4057, allocations: 3.139 MB / 480.7 MB, free: 6.758 MB / 362.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