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.00122/0.00122, allocations: 183.8 kB / 18.04 MB, free: 3.777 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.492/1.492, allocations: 205.4 MB / 224.2 MB, free: 9.027 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.0008003/0.0008002, allocations: 88.14 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003051/0.0003051, allocations: 8 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.225, allocations: 47.58 MB / 377 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09096/0.316, allocations: 79.35 MB / 456.4 MB, free: 1.191 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.3163, allocations: 67.97 kB / 456.4 MB, free: 1.125 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01467/0.331, allocations: 4.806 MB / 461.3 MB, free: 12.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.331, allocations: 0 / 461.3 MB, free: 12.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.3311, allocations: 4 kB / 461.3 MB, free: 12.3 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.00125/0.3323, allocations: 0.638 MB / 461.9 MB, free: 11.6 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3324, allocations: 8.031 kB / 461.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.594e-05/0.3324, allocations: 32.56 kB / 461.9 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.3328, allocations: 272.5 kB / 462.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.3328, allocations: 16.81 kB / 462.2 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.992e-05/0.3329, allocations: 16.38 kB / 462.2 MB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007396/0.3336, allocations: 334.3 kB / 462.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.3337, allocations: 192 / 462.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.3337, allocations: 11.88 kB / 462.6 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.3337, allocations: 8 kB / 462.6 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000914/0.3346, allocations: 333.5 kB / 462.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.3366, allocations: 1.016 MB / 463.9 MB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003189/0.3398, allocations: 0.6231 MB / 464.5 MB, free: 8.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006176/0.3404, allocations: 228.7 kB / 464.8 MB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.3405, allocations: 3.984 kB / 464.8 MB, free: 8.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006135/0.3411, allocations: 257.8 kB / 465 MB, free: 8.316 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 2.625e-06/0.3411, allocations: 0 / 465 MB, free: 8.316 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.001596/0.3427, allocations: 0.5278 MB / 465.6 MB, free: 7.785 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.325e-05/0.3428, allocations: 110.8 kB / 465.7 MB, free: 7.652 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.3431, allocations: 233 kB / 465.9 MB, free: 7.418 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.3431, allocations: 29.7 kB / 465.9 MB, free: 7.383 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.3432, allocations: 160.2 kB / 466.1 MB, free: 7.223 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.853e-05/0.3433, allocations: 67 kB / 466.1 MB, free: 7.156 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/0.3433, allocations: 8 kB / 466.1 MB, free: 7.148 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3435, allocations: 334.8 kB / 466.5 MB, free: 6.812 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004676/0.3439, allocations: 168.3 kB / 466.6 MB, free: 6.645 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004743/0.3444, allocations: 197.1 kB / 466.8 MB, free: 6.441 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008838/0.3453, allocations: 373.5 kB / 467.2 MB, free: 6.062 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3453, allocations: 0 / 467.2 MB, free: 6.062 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001076/0.3464, allocations: 446.8 kB / 467.6 MB, free: 5.613 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/0.3465, allocations: 33.69 kB / 467.7 MB, free: 5.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.3465, allocations: 3.938 kB / 467.7 MB, free: 5.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3465, allocations: 7.938 kB / 467.7 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002148/0.3487, allocations: 331.7 kB / 468 MB, free: 5.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004888/0.3536, allocations: 3.247 MB / 471.2 MB, free: 1.727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004569/0.354, allocations: 63.89 kB / 471.3 MB, free: 1.664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.3541, allocations: 8 kB / 471.3 MB, free: 1.656 MB / 346.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.000224/0.3543, allocations: 141.8 kB / 471.5 MB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.3544, allocations: 23.72 kB / 471.5 MB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.923e-05/0.3544, allocations: 26.19 kB / 471.5 MB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3544, allocations: 4 kB / 471.5 MB, free: 1.457 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3544, allocations: 3.938 kB / 471.5 MB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.3545, allocations: 7.984 kB / 471.5 MB, free: 1.445 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.3563, allocations: 0.9479 MB / 472.5 MB, free: 444 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.3563, allocations: 7.938 kB / 472.5 MB, free: 436 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0021/0.3584, allocations: 327.7 kB / 472.8 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.3584, allocations: 0 / 472.8 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.3585, allocations: 8 kB / 472.8 MB, free: 100 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004598/0.3631, allocations: 3.259 MB / 476.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3631, allocations: 0 / 476.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.3646, allocations: 0.6608 MB / 476.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.542e-05/0.3647, allocations: 104.8 kB / 476.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/0.3647, allocations: 7.938 kB / 476.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00037/0.3651, allocations: 56.02 kB / 476.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.966e-05/0.3652, allocations: 31.89 kB / 476.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.3652, allocations: 4 kB / 476.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001614/0.3654, allocations: 168.5 kB / 477.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3654, allocations: 4 kB / 477.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004934/0.3659, allocations: 91.84 kB / 477.2 MB, free: 11.41 MB / 362.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.0001816/0.3661, allocations: 107.2 kB / 477.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002935/0.369, allocations: 0.6646 MB / 477.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3691, allocations: 4 kB / 478 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00246/0.3715, allocations: 459.8 kB / 478.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.372, allocations: 59.53 kB / 478.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.3738, allocations: 0.8012 MB / 479.3 MB, free: 9.277 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.3742, allocations: 0.7482 MB / 480 MB, free: 8.504 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001623/0.3743, allocations: 29.92 kB / 480 MB, free: 8.477 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.833e-05/0.3744, allocations: 19.44 kB / 480.1 MB, free: 8.457 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.3744, allocations: 0 / 480.1 MB, free: 8.457 MB / 362.7 MB Notification: Performance of Templates: time 0.006832/0.3813, allocations: 3.244 MB / 483.3 MB, free: 5.23 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/jenkins1/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