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.00148/0.00148, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.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.0008005, allocations: 90.69 kB / 262.5 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.827e-05/1.837e-05, allocations: 4 kB / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07903/0.07907, allocations: 47.59 MB / 363.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2892/0.3684, allocations: 78.79 MB / 441.9 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/0.3686, allocations: 64.16 kB / 441.9 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01382/0.3824, allocations: 4.736 MB / 446.7 MB, free: 12.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3825, allocations: 0 / 446.7 MB, free: 12.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.3825, allocations: 18.06 kB / 446.7 MB, free: 12.78 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.00112/0.3836, allocations: 0.6001 MB / 447.3 MB, free: 12.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3837, allocations: 12.03 kB / 447.3 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.99e-05/0.3838, allocations: 27.72 kB / 447.3 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.3841, allocations: 266.4 kB / 447.6 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.3841, allocations: 7.953 kB / 447.6 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.399e-05/0.3841, allocations: 15.62 kB / 447.6 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003119/0.3845, allocations: 162.4 kB / 447.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/0.3848, allocations: 213.9 kB / 448 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3849, allocations: 0 / 448 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.3849, allocations: 3.938 kB / 448 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3849, allocations: 7.938 kB / 448 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.3867, allocations: 0.9677 MB / 448.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002617/0.3893, allocations: 471.3 kB / 449.4 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/0.3896, allocations: 147.7 kB / 449.6 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.3896, allocations: 3.984 kB / 449.6 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002656/0.3899, allocations: 171.3 kB / 449.7 MB, free: 10.03 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.413e-06/0.3899, allocations: 0 / 449.7 MB, free: 10.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003781/0.3903, allocations: 203.9 kB / 449.9 MB, free: 9.875 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.3904, allocations: 118.8 kB / 450 MB, free: 9.734 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.3905, allocations: 185.5 kB / 450.2 MB, free: 9.578 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.3906, allocations: 29.08 kB / 450.2 MB, free: 9.547 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.3907, allocations: 162.9 kB / 450.4 MB, free: 9.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.679e-05/0.3908, allocations: 65.45 kB / 450.5 MB, free: 9.355 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.919e-05/0.3908, allocations: 4 kB / 450.5 MB, free: 9.352 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3909, allocations: 333.3 kB / 450.8 MB, free: 9.027 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.3911, allocations: 77.72 kB / 450.9 MB, free: 8.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.3912, allocations: 111.6 kB / 451 MB, free: 8.895 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.3913, allocations: 74.34 kB / 451.1 MB, free: 8.852 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3913, allocations: 4 kB / 451.1 MB, free: 8.848 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003719/0.3917, allocations: 229 kB / 451.3 MB, free: 8.676 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.766e-05/0.3918, allocations: 36.89 kB / 451.3 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3918, allocations: 0 / 451.3 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3918, allocations: 8.094 kB / 451.3 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002293/0.3941, allocations: 331.6 kB / 451.7 MB, free: 8.305 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004009/0.3981, allocations: 2.969 MB / 454.6 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004085/0.3985, allocations: 59.81 kB / 454.7 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.3986, allocations: 15.91 kB / 454.7 MB, free: 5.148 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.0001101/0.3987, allocations: 105 kB / 454.8 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/0.3987, allocations: 19.72 kB / 454.8 MB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.957e-05/0.3988, allocations: 28.95 kB / 454.8 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3988, allocations: 3.938 kB / 454.8 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3988, allocations: 7.953 kB / 454.9 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.257e-06/0.3988, allocations: 0 / 454.9 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.3999, allocations: 0.73 MB / 455.6 MB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.3999, allocations: 4 kB / 455.6 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002283/0.4022, allocations: 323.6 kB / 455.9 MB, free: 4.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4023, allocations: 0 / 455.9 MB, free: 4.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.4023, allocations: 7.984 kB / 455.9 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003861/0.4062, allocations: 2.957 MB / 458.9 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4062, allocations: 32 / 458.9 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005402/0.4067, allocations: 442.1 kB / 459.3 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.561e-05/0.4068, allocations: 108.7 kB / 459.4 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.964e-05/0.4068, allocations: 0 / 459.4 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.4072, allocations: 52.02 kB / 459.5 MB, free: 412 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.343e-05/0.4073, allocations: 31.83 kB / 459.5 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.4074, allocations: 15.77 kB / 459.5 MB, free: 372 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001251/0.4075, allocations: 153.2 kB / 459.7 MB, free: 248 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4075, allocations: 3.938 kB / 459.7 MB, free: 244 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004396/0.4079, allocations: 79.84 kB / 459.7 MB, free: 164 kB / 330.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.0001571/0.4081, allocations: 107.2 kB / 459.8 MB, free: 44 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002147/0.4103, allocations: 472.8 kB / 460.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4103, allocations: 0 / 460.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0019/0.4122, allocations: 342.1 kB / 460.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.4125, allocations: 31.48 kB / 460.7 MB, free: 15.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.4137, allocations: 466.7 kB / 461.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.4141, allocations: 0.7594 MB / 461.9 MB, free: 14.09 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001359/0.4142, allocations: 26.02 kB / 461.9 MB, free: 14.06 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.4143, allocations: 19.44 kB / 461.9 MB, free: 14.04 MB / 346.7 MB Notification: Performance of SimCode: time 6.71e-07/0.4143, allocations: 0 / 461.9 MB, free: 14.04 MB / 346.7 MB Notification: Performance of Templates: time 0.005791/0.4201, allocations: 2.894 MB / 464.8 MB, free: 11.16 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