Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.007173/0.007173, allocations: 185.9 kB / 17.42 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.267/3.267, allocations: 205.4 MB / 223.6 MB, free: 8.934 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.001169/0.001169, allocations: 90.34 kB / 271.9 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005255/0.0005259, allocations: 8 kB / 328.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5706/0.5712, allocations: 47.57 MB / 375.7 MB, free: 45.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1817/0.753, allocations: 82.34 MB / 458.1 MB, free: 14.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003743/0.7535, allocations: 75.97 kB / 458.1 MB, free: 14.19 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06235/0.8159, allocations: 11.06 MB / 469.2 MB, free: 3.098 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.8159, allocations: 0 / 469.2 MB, free: 3.098 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.172e-05/0.816, allocations: 8 kB / 469.2 MB, free: 3.09 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.002303/0.8183, allocations: 0.8577 MB / 470.1 MB, free: 2.176 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.162e-05/0.8184, allocations: 19.91 kB / 470.1 MB, free: 2.156 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/0.8186, allocations: 68.09 kB / 470.1 MB, free: 2.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.8197, allocations: 430.7 kB / 470.6 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.241e-05/0.8198, allocations: 29.38 kB / 470.6 MB, free: 1.598 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-05/0.8199, allocations: 36.38 kB / 470.6 MB, free: 1.562 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.8211, allocations: 446.1 kB / 471.1 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.8211, allocations: 192 / 471.1 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.276e-05/0.8212, allocations: 23.94 kB / 471.1 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.8212, allocations: 8 kB / 471.1 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.8223, allocations: 319.8 kB / 471.4 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00416/0.8264, allocations: 1.738 MB / 473.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.8277, allocations: 368.9 kB / 473.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00059/0.8283, allocations: 192.8 kB / 473.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.809e-05/0.8284, allocations: 7.938 kB / 473.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007724/0.8292, allocations: 266.4 kB / 474 MB, free: 14.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 8.096e-06/0.8292, allocations: 0 / 474 MB, free: 14.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.003662/0.8329, allocations: 1.044 MB / 475 MB, free: 12.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/0.833, allocations: 183.9 kB / 475.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.8342, allocations: 497.9 kB / 475.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.611e-05/0.8343, allocations: 37.7 kB / 475.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003244/0.8347, allocations: 256.4 kB / 476 MB, free: 11.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/0.8349, allocations: 126.2 kB / 476.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.8349, allocations: 8 kB / 476.1 MB, free: 11.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000275/0.8352, allocations: 362.7 kB / 476.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004831/0.8357, allocations: 124.8 kB / 476.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006229/0.8364, allocations: 217.2 kB / 476.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008977/0.8373, allocations: 269.3 kB / 477 MB, free: 10.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.8373, allocations: 0 / 477 MB, free: 10.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001809/0.8391, allocations: 484.8 kB / 477.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.552e-05/0.8392, allocations: 4 kB / 477.5 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.8392, allocations: 0 / 477.5 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000991/0.8402, allocations: 163.4 kB / 477.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/0.8406, allocations: 43.97 kB / 477.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008055/0.8487, allocations: 5.95 MB / 483.7 MB, free: 3.574 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007216/0.8495, allocations: 63.78 kB / 483.7 MB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.949e-05/0.8496, allocations: 12 kB / 483.7 MB, free: 3.5 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.0005316/0.8501, allocations: 188 kB / 483.9 MB, free: 3.309 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.8503, allocations: 59.34 kB / 484 MB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/0.8519, allocations: 0.5085 MB / 484.5 MB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.8519, allocations: 4 kB / 484.5 MB, free: 2.715 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.8519, allocations: 8.125 kB / 484.5 MB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.8519, allocations: 7.922 kB / 484.5 MB, free: 2.699 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000964/0.8529, allocations: 0.5009 MB / 485 MB, free: 2.148 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.8529, allocations: 0 / 485 MB, free: 2.148 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.8531, allocations: 31.92 kB / 485 MB, free: 2.117 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006826/0.8538, allocations: 151.5 kB / 485.2 MB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-05/0.8539, allocations: 11.94 kB / 485.2 MB, free: 1.945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006732/0.8606, allocations: 5.807 MB / 491 MB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.8607, allocations: 0 / 491 MB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.8625, allocations: 0.5148 MB / 491.5 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003759/0.8629, allocations: 168.4 kB / 491.7 MB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.863, allocations: 8 kB / 491.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004158/0.8635, allocations: 39.97 kB / 491.7 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002515/0.8637, allocations: 51.92 kB / 491.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-05/0.8638, allocations: 11.98 kB / 491.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007655/0.8646, allocations: 355.1 kB / 492.2 MB, free: 10.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.8646, allocations: 0 / 492.2 MB, free: 10.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001371/0.866, allocations: 179.7 kB / 492.3 MB, free: 10.25 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.001715/0.8677, allocations: 449.8 kB / 492.8 MB, free: 9.828 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001927/0.8696, allocations: 0.811 MB / 493.6 MB, free: 8.965 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.8697, allocations: 0 / 493.6 MB, free: 8.965 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.8708, allocations: 0.655 MB / 494.2 MB, free: 8.258 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.8719, allocations: 108.3 kB / 494.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/0.8752, allocations: 1.178 MB / 495.5 MB, free: 6.949 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006436/0.8759, allocations: 0.8632 MB / 496.4 MB, free: 6.062 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.876, allocations: 35.42 kB / 496.4 MB, free: 6.031 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.8761, allocations: 0 / 496.4 MB, free: 6.031 MB / 378.7 MB Notification: Performance of Templates: time 0.3536/1.23, allocations: 14.68 MB / 0.4991 GB, free: 106.3 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches