Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001487, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 223.3 MB / 241.4 MB, free: 9.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008871/0.0008872, allocations: 88.41 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004539/0.0004541, allocations: 19.92 kB / 352.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3063, allocations: 50.41 MB / 402.8 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1127/0.4191, allocations: 84.15 MB / 486.9 MB, free: 12.15 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.4194, allocations: 79.95 kB / 487 MB, free: 12.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03154/0.451, allocations: 11.36 MB / 498.3 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.055e-06/0.451, allocations: 4 kB / 498.3 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.42e-05/0.4511, allocations: 16 kB / 498.4 MB, free: 0.6602 MB / 362.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.001742/0.4528, allocations: 0.8576 MB / 499.2 MB, free: 15.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.4529, allocations: 12.03 kB / 499.2 MB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.4531, allocations: 72.08 kB / 499.3 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007203/0.4539, allocations: 422.7 kB / 499.7 MB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.282e-05/0.4539, allocations: 29.38 kB / 499.7 MB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.279e-05/0.454, allocations: 44.36 kB / 499.8 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007876/0.4548, allocations: 434.2 kB / 0.4885 GB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.4548, allocations: 4.125 kB / 0.4885 GB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.382e-05/0.4549, allocations: 23.94 kB / 0.4885 GB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.4549, allocations: 15.98 kB / 0.4885 GB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006342/0.4555, allocations: 315.8 kB / 0.4888 GB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00276/0.4583, allocations: 1.738 MB / 0.4905 GB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006925/0.459, allocations: 379 kB / 0.4909 GB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003274/0.4594, allocations: 188.8 kB / 0.4911 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.4594, allocations: 4 kB / 0.4911 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004473/0.4599, allocations: 270.4 kB / 0.4913 GB, free: 11.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 2.274e-06/0.4599, allocations: 0 / 0.4913 GB, free: 11.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.002272/0.4622, allocations: 1.041 MB / 0.4923 GB, free: 10.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.4623, allocations: 187.9 kB / 0.4925 GB, free: 10.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006348/0.4629, allocations: 0.4901 MB / 0.493 GB, free: 9.773 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.463, allocations: 33.7 kB / 0.493 GB, free: 9.734 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.4632, allocations: 252.5 kB / 0.4933 GB, free: 9.484 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.4633, allocations: 122.2 kB / 0.4934 GB, free: 9.363 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.307e-05/0.4634, allocations: 15.94 kB / 0.4934 GB, free: 9.348 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.4635, allocations: 358.7 kB / 0.4938 GB, free: 8.988 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.4638, allocations: 124.8 kB / 0.4939 GB, free: 8.867 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/0.4641, allocations: 217.2 kB / 0.4941 GB, free: 8.621 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004919/0.4646, allocations: 277.1 kB / 0.4943 GB, free: 8.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4646, allocations: 0 / 0.4943 GB, free: 8.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000844/0.4655, allocations: 480.8 kB / 0.4948 GB, free: 7.852 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.4655, allocations: 8 kB / 0.4948 GB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.4655, allocations: 0 / 0.4948 GB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000525/0.4661, allocations: 159.4 kB / 0.495 GB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.4663, allocations: 51.97 kB / 0.495 GB, free: 7.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004932/0.4712, allocations: 5.951 MB / 0.5008 GB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004935/0.4718, allocations: 71.66 kB / 0.5009 GB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.4718, allocations: 12 kB / 0.5009 GB, free: 1.055 MB / 378.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.0003553/0.4722, allocations: 188 kB / 0.5011 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.4723, allocations: 47.44 kB / 0.5011 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.4734, allocations: 0.5163 MB / 0.5016 GB, free: 284 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.4734, allocations: 4 kB / 0.5016 GB, free: 280 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.4734, allocations: 0 / 0.5016 GB, free: 280 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.4734, allocations: 3.984 kB / 0.5016 GB, free: 276 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2708/0.7443, allocations: 0.4931 MB / 0.5021 GB, free: 97.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-05/0.7444, allocations: 0.75 kB / 0.5021 GB, free: 97.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/0.7447, allocations: 28.48 kB / 0.5021 GB, free: 97.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009126/0.7457, allocations: 158.7 kB / 0.5023 GB, free: 97.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.752e-05/0.7458, allocations: 7.469 kB / 0.5023 GB, free: 97.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006314/0.7521, allocations: 5.793 MB / 0.508 GB, free: 92.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.7522, allocations: 4.812 kB / 0.508 GB, free: 92.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.7541, allocations: 0.5099 MB / 0.5085 GB, free: 91.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004448/0.7546, allocations: 172 kB / 0.5086 GB, free: 91.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/0.7548, allocations: 12.27 kB / 0.5086 GB, free: 91.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005448/0.7553, allocations: 39.02 kB / 0.5087 GB, free: 91.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002718/0.7556, allocations: 54.45 kB / 0.5087 GB, free: 91.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/0.7557, allocations: 11.38 kB / 0.5087 GB, free: 91.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000884/0.7566, allocations: 359.1 kB / 0.5091 GB, free: 91.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.7566, allocations: 0 / 0.5091 GB, free: 91.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001561/0.7582, allocations: 172.1 kB / 0.5092 GB, free: 91.8 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.001525/0.7597, allocations: 443.5 kB / 0.5097 GB, free: 91.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001917/0.7617, allocations: 0.8175 MB / 0.5105 GB, free: 91.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.7617, allocations: 3.906 kB / 0.5105 GB, free: 91.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.7628, allocations: 0.6587 MB / 0.5111 GB, free: 90.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.7638, allocations: 117.8 kB / 0.5112 GB, free: 90.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.7668, allocations: 1.139 MB / 0.5123 GB, free: 90.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/0.7673, allocations: 0.8586 MB / 0.5132 GB, free: 89.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002893/0.7676, allocations: 58.08 kB / 0.5132 GB, free: 89.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.7677, allocations: 32.59 kB / 0.5133 GB, free: 89.53 MB / 378.7 MB Notification: Performance of SimCode: time 8.32e-07/0.7677, allocations: 0 / 0.5133 GB, free: 89.53 MB / 378.7 MB Notification: Performance of Templates: time 0.01564/0.7834, allocations: 8.731 MB / 0.5218 GB, free: 88.41 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches