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.001075/0.001075, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.756/1.756, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0009557/0.0009558, allocations: 88.16 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003248, allocations: 4 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2863, allocations: 47.58 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.105/0.3914, allocations: 82.26 MB / 458.1 MB, free: 14.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.3918, allocations: 71.97 kB / 458.1 MB, free: 14.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02986/0.4217, allocations: 11.06 MB / 469.2 MB, free: 3.246 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4217, allocations: 0 / 469.2 MB, free: 3.246 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.985e-05/0.4218, allocations: 8 kB / 469.2 MB, free: 3.238 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001672/0.4235, allocations: 0.8691 MB / 470.1 MB, free: 2.312 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.4235, allocations: 8.031 kB / 470.1 MB, free: 2.305 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.4237, allocations: 75.09 kB / 470.2 MB, free: 2.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006768/0.4243, allocations: 397.9 kB / 470.5 MB, free: 1.801 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/0.4244, allocations: 32.98 kB / 470.6 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.317e-05/0.4245, allocations: 43.95 kB / 470.6 MB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007689/0.4252, allocations: 437.5 kB / 471.1 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.4253, allocations: 0 / 471.1 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.584e-05/0.4253, allocations: 20 kB / 471.1 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.4253, allocations: 8 kB / 471.1 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000594/0.4259, allocations: 319.8 kB / 471.4 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002434/0.4284, allocations: 1.749 MB / 473.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006594/0.4291, allocations: 360.7 kB / 473.5 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.4291, allocations: 4 kB / 473.5 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004534/0.4296, allocations: 266.4 kB / 473.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 1.954e-06/0.4296, allocations: 0 / 473.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.002241/0.4318, allocations: 1.037 MB / 474.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.432, allocations: 187.9 kB / 475 MB, free: 13.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005472/0.4325, allocations: 445.1 kB / 475.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.4326, allocations: 41.64 kB / 475.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.4328, allocations: 260.3 kB / 475.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.446e-05/0.4329, allocations: 122.3 kB / 475.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/0.4329, allocations: 8 kB / 475.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.433, allocations: 358.8 kB / 476.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.4333, allocations: 128.8 kB / 476.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/0.4337, allocations: 209.3 kB / 476.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.434, allocations: 129.8 kB / 476.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.434, allocations: 0 / 476.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008816/0.4349, allocations: 489.1 kB / 477.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.4349, allocations: 8 kB / 477.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.4349, allocations: 0 / 477.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005228/0.4354, allocations: 159.2 kB / 477.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.4357, allocations: 47.97 kB / 477.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005087/0.4408, allocations: 5.982 MB / 483.3 MB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005359/0.4413, allocations: 63.72 kB / 483.4 MB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.4414, allocations: 15.95 kB / 483.4 MB, free: 4.035 MB / 362.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 () * Number of clocked 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.0003874/0.4418, allocations: 188 kB / 483.6 MB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.772e-05/0.4419, allocations: 55.34 kB / 483.6 MB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.4429, allocations: 0.509 MB / 484.1 MB, free: 3.258 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.443, allocations: 7.953 kB / 484.1 MB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.443, allocations: 4.125 kB / 484.1 MB, free: 3.246 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.443, allocations: 7.969 kB / 484.2 MB, free: 3.238 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00062/0.4436, allocations: 0.4933 MB / 484.6 MB, free: 2.695 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.4436, allocations: 0 / 484.6 MB, free: 2.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.4438, allocations: 31.92 kB / 484.7 MB, free: 2.664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004329/0.4442, allocations: 155.3 kB / 484.8 MB, free: 2.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/0.4442, allocations: 8 kB / 484.8 MB, free: 2.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004802/0.449, allocations: 5.84 MB / 490.7 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4491, allocations: 0 / 490.7 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.4503, allocations: 0.5148 MB / 491.2 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002418/0.4506, allocations: 164.4 kB / 491.4 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.304e-05/0.4506, allocations: 8 kB / 491.4 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.4509, allocations: 43.92 kB / 491.4 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.4511, allocations: 63.84 kB / 491.5 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.4511, allocations: 8 kB / 491.5 MB, free: 11.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004438/0.4516, allocations: 355.1 kB / 491.8 MB, free: 10.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4516, allocations: 4 kB / 491.8 MB, free: 10.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008559/0.4524, allocations: 179.7 kB / 492 MB, free: 10.75 MB / 378.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) * Number of clocked states: 0 () * 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.001101/0.4536, allocations: 437.2 kB / 492.4 MB, free: 10.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.4548, allocations: 0.8224 MB / 493.2 MB, free: 9.473 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.4548, allocations: 0 / 493.2 MB, free: 9.473 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007438/0.4555, allocations: 0.6666 MB / 493.9 MB, free: 8.754 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005122/0.4561, allocations: 100.3 kB / 494 MB, free: 8.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.4582, allocations: 1.138 MB / 495.2 MB, free: 7.496 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.4587, allocations: 0.867 MB / 496 MB, free: 6.602 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002225/0.4589, allocations: 59.42 kB / 496.1 MB, free: 6.543 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.847e-05/0.459, allocations: 27.44 kB / 496.1 MB, free: 6.516 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.459, allocations: 4 kB / 496.1 MB, free: 6.512 MB / 378.7 MB Notification: Performance of Templates: time 0.206/0.665, allocations: 8.619 MB / 0.4929 GB, free: 107.1 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