Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001515/0.001515, allocations: 172.8 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.54/1.54, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.0008301/0.0008301, allocations: 82.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.427e-05/2.448e-05, allocations: 0 / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08262/0.08267, allocations: 47.57 MB / 370 MB, free: 1.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3291/0.4118, allocations: 82.17 MB / 452.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/0.4121, allocations: 72.72 kB / 452.3 MB, free: 11.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02974/0.4418, allocations: 11.04 MB / 463.3 MB, free: 1.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4419, allocations: 0 / 463.3 MB, free: 1.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.668e-05/0.4419, allocations: 12.22 kB / 463.3 MB, free: 1.578 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001252/0.4432, allocations: 0.7947 MB / 464.1 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.4432, allocations: 12.03 kB / 464.1 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.4433, allocations: 63.25 kB / 464.2 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006166/0.444, allocations: 397.7 kB / 464.6 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/0.444, allocations: 32.72 kB / 464.6 MB, free: 200 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.397e-05/0.4441, allocations: 43.95 kB / 464.6 MB, free: 156 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007569/0.4449, allocations: 414.5 kB / 465 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.4449, allocations: 0 / 465 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.537e-05/0.4449, allocations: 20 kB / 465.1 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.445, allocations: 15.94 kB / 465.1 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005583/0.4455, allocations: 291 kB / 465.4 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002666/0.4482, allocations: 1.752 MB / 467.1 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006028/0.4488, allocations: 352.5 kB / 467.5 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.4491, allocations: 176.8 kB / 467.6 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.4492, allocations: 4 kB / 467.6 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004122/0.4496, allocations: 270.3 kB / 467.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 2.003e-06/0.4496, allocations: 0 / 467.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.0009891/0.4506, allocations: 457.1 kB / 468.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.4507, allocations: 187.9 kB / 468.5 MB, free: 12.03 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005945/0.4513, allocations: 443.1 kB / 469 MB, free: 11.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.91e-05/0.4514, allocations: 37.69 kB / 469 MB, free: 11.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.4516, allocations: 256.5 kB / 469.2 MB, free: 11.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.4517, allocations: 118.3 kB / 469.4 MB, free: 11.17 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/0.4518, allocations: 12 kB / 469.4 MB, free: 11.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.452, allocations: 354.8 kB / 469.7 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.4522, allocations: 116.9 kB / 469.8 MB, free: 10.69 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/0.4525, allocations: 201.3 kB / 470 MB, free: 10.46 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.4527, allocations: 121.5 kB / 470.2 MB, free: 10.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.4527, allocations: 7.891 kB / 470.2 MB, free: 10.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006968/0.4534, allocations: 453.2 kB / 470.6 MB, free: 9.875 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.4534, allocations: 8 kB / 470.6 MB, free: 9.867 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.4534, allocations: 0 / 470.6 MB, free: 9.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005026/0.4539, allocations: 163.4 kB / 470.8 MB, free: 9.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.4542, allocations: 47.84 kB / 470.8 MB, free: 9.648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004976/0.4592, allocations: 5.939 MB / 476.8 MB, free: 3.176 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000506/0.4597, allocations: 67.55 kB / 476.8 MB, free: 3.109 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.4598, allocations: 8 kB / 476.8 MB, free: 3.102 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition2,$PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.IdealThyristor1.off,IdealThyristor1.off,IdealGTOThyristor1.off,IdealGTOThyristor1.fire,booleanStep1.combiTimeTable.nextTimeEvent,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.IdealThyristor2.off,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001579/0.4599, allocations: 135.2 kB / 477 MB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.091e-05/0.46, allocations: 55.5 kB / 477 MB, free: 2.906 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009989/0.461, allocations: 493 kB / 477.5 MB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.461, allocations: 7.953 kB / 477.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.4611, allocations: 0 / 477.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4611, allocations: 0 / 477.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006034/0.4617, allocations: 0.4971 MB / 478 MB, free: 1.848 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4617, allocations: 4 kB / 478 MB, free: 1.844 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.4618, allocations: 35.91 kB / 478 MB, free: 1.809 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000391/0.4622, allocations: 143.4 kB / 478.2 MB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/0.4623, allocations: 19.98 kB / 478.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004539/0.4668, allocations: 5.791 MB / 484 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4669, allocations: 0 / 484 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000973/0.4678, allocations: 495.2 kB / 484.5 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002534/0.4681, allocations: 176.4 kB / 484.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.729e-05/0.4682, allocations: 7.984 kB / 484.7 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002962/0.4685, allocations: 39.94 kB / 484.7 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.4687, allocations: 55.91 kB / 484.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.4687, allocations: 12 kB / 484.8 MB, free: 10.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004312/0.4691, allocations: 353.2 kB / 485.1 MB, free: 10.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4691, allocations: 0 / 485.1 MB, free: 10.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007743/0.4699, allocations: 175.8 kB / 485.3 MB, free: 9.977 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealGTOThyristor1.off,IdealGTOThyristor1.fire,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009561/0.4709, allocations: 397.2 kB / 485.7 MB, free: 9.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.472, allocations: 0.7947 MB / 486.5 MB, free: 8.742 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.472, allocations: 0 / 486.5 MB, free: 8.742 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000692/0.4727, allocations: 0.6469 MB / 487.1 MB, free: 8.043 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005095/0.4732, allocations: 103.3 kB / 487.2 MB, free: 7.941 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.4749, allocations: 0.697 MB / 487.9 MB, free: 7.223 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005177/0.4754, allocations: 0.8748 MB / 488.8 MB, free: 6.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002174/0.4757, allocations: 55.44 kB / 488.8 MB, free: 6.262 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.754e-05/0.4758, allocations: 27.44 kB / 488.9 MB, free: 6.238 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.4758, allocations: 0 / 488.9 MB, free: 6.238 MB / 362.7 MB Notification: Performance of Templates: time 0.01633/0.4921, allocations: 8.612 MB / 497.5 MB, free: 13.61 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches