Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 80.8 kB / 22.29 MB, free: 2.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 168.9 kB / 25.69 MB, free: 8.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8846/0.8846, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.634e-06/1.634e-06, allocations: 0 / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.38e-05, allocations: 2.312 kB / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002636/0.00266, allocations: 2.475 MB / 254 MB, free: 4.773 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008796/0.00354, allocations: 0.6747 MB / 254.7 MB, free: 4.094 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.145e-05/0.003631, allocations: 11.94 kB / 254.7 MB, free: 4.082 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.003758, allocations: 31.64 kB / 254.7 MB, free: 4.051 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.687e-05/0.003855, allocations: 79.28 kB / 254.8 MB, free: 3.973 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.004093, allocations: 75.77 kB / 254.9 MB, free: 3.898 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.0043, allocations: 294.4 kB / 255.2 MB, free: 3.609 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.004431, allocations: 54.53 kB / 255.2 MB, free: 3.559 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.0046, allocations: 171.6 kB / 255.4 MB, free: 3.391 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.004716, allocations: 83.77 kB / 255.5 MB, free: 3.309 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.004746, allocations: 20 kB / 255.5 MB, free: 3.289 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.105e-05/0.004817, allocations: 43.92 kB / 255.5 MB, free: 3.246 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.277e-05/0.00486, allocations: 51.77 kB / 255.6 MB, free: 3.195 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.858e-05/0.004918, allocations: 83.81 kB / 255.7 MB, free: 3.113 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.005135, allocations: 195.4 kB / 255.8 MB, free: 2.922 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.005138, allocations: 0 / 255.8 MB, free: 2.922 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.00514, allocations: 0 / 255.8 MB, free: 2.922 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.005144, allocations: 0 / 255.8 MB, free: 2.922 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005357/0.00568, allocations: 452.1 kB / 256.3 MB, free: 2.457 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.005721, allocations: 11.98 kB / 256.3 MB, free: 2.445 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.673e-05/0.005777, allocations: 32.91 kB / 256.3 MB, free: 2.414 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.005964, allocations: 158.1 kB / 256.5 MB, free: 2.234 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.005979, allocations: 16.88 kB / 256.5 MB, free: 2.219 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.006013, allocations: 20.38 kB / 256.5 MB, free: 2.199 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.006213, allocations: 200.8 kB / 256.7 MB, free: 1.98 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.006223, allocations: 192 / 256.7 MB, free: 1.98 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.00624, allocations: 11.94 kB / 256.7 MB, free: 1.969 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-06/0.006248, allocations: 8 kB / 256.7 MB, free: 1.961 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.278e-05/0.006341, allocations: 57.45 kB / 256.8 MB, free: 1.906 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007097/0.007051, allocations: 0.5121 MB / 257.3 MB, free: 1.363 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.007199, allocations: 98.42 kB / 257.4 MB, free: 1.258 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.882e-05/0.007278, allocations: 52.83 kB / 257.5 MB, free: 1.203 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.007295, allocations: 4 kB / 257.5 MB, free: 1.199 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.007317, allocations: 30.56 kB / 257.5 MB, free: 1.16 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.007319, allocations: 0 / 257.5 MB, free: 1.16 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005415/0.00786, allocations: 230.2 kB / 257.7 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.007888, allocations: 63.34 kB / 257.8 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.008059, allocations: 154.6 kB / 257.9 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.008074, allocations: 29.7 kB / 258 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.008132, allocations: 144.4 kB / 258.1 MB, free: 0.5078 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.008161, allocations: 59.47 kB / 258.2 MB, free: 460 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.008204, allocations: 37.69 kB / 258.2 MB, free: 416 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.418e-05/0.008278, allocations: 330.8 kB / 258.5 MB, free: 76 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.682e-05/0.008305, allocations: 15.98 kB / 258.5 MB, free: 60 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.949e-05/0.008344, allocations: 37.69 kB / 258.6 MB, free: 16 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.849e-05/0.008433, allocations: 69.88 kB / 258.6 MB, free: 15.94 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.008435, allocations: 4 kB / 258.6 MB, free: 15.94 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001567/0.008591, allocations: 122.4 kB / 258.8 MB, free: 15.81 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.008605, allocations: 4 kB / 258.8 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.008611, allocations: 0 / 258.8 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005292/0.00914, allocations: 172.6 kB / 258.9 MB, free: 15.63 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.848e-05/0.009208, allocations: 27.98 kB / 259 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000264/0.009472, allocations: 0.5678 MB / 259.5 MB, free: 15.01 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.848e-05/0.009521, allocations: 15.89 kB / 259.5 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.009528, allocations: 4.031 kB / 259.5 MB, free: 14.99 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 6.978e-05/0.009598, allocations: 113.8 kB / 259.7 MB, free: 14.87 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.009626, allocations: 19.98 kB / 259.7 MB, free: 14.85 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.00982, allocations: 144.1 kB / 259.8 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.009824, allocations: 4 kB / 259.8 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.009825, allocations: 0 / 259.8 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.009829, allocations: 0 / 259.8 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/0.0102, allocations: 371.4 kB / 260.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.0102, allocations: 0 / 260.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.339e-05/0.01028, allocations: 31.91 kB / 260.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004022/0.01068, allocations: 156.6 kB / 260.4 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.0107, allocations: 8 kB / 260.4 MB, free: 14.11 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002451/0.01094, allocations: 0.5679 MB / 260.9 MB, free: 13.52 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01095, allocations: 4 kB / 260.9 MB, free: 13.51 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.01125, allocations: 301.2 kB / 261.2 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.846e-05/0.01127, allocations: 19.84 kB / 261.3 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.01129, allocations: 3.984 kB / 261.3 MB, free: 13.17 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.881e-05/0.01135, allocations: 8 kB / 261.3 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.781e-05/0.01138, allocations: 11.92 kB / 261.3 MB, free: 13.15 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.01139, allocations: 15.92 kB / 261.3 MB, free: 13.14 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.109e-05/0.01142, allocations: 41.83 kB / 261.3 MB, free: 13.09 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01142, allocations: 0 / 261.3 MB, free: 13.09 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001704/0.01159, allocations: 59.88 kB / 261.4 MB, free: 13.04 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001151/0.0117, allocations: 84.45 kB / 261.5 MB, free: 12.94 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.01188, allocations: 94.2 kB / 261.6 MB, free: 12.85 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.01188, allocations: 0 / 261.6 MB, free: 12.85 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.656e-05/0.01195, allocations: 69.77 kB / 261.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.01212, allocations: 20 kB / 261.7 MB, free: 12.76 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00077/0.01289, allocations: 474.4 kB / 262.1 MB, free: 12.27 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.827e-05/0.01293, allocations: 84.2 kB / 262.2 MB, free: 12.16 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.674e-05/0.01297, allocations: 9.5 kB / 262.2 MB, free: 12.15 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.34e-05/0.01304, allocations: 75.36 kB / 262.3 MB, free: 12.08 MB / 250.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01305, allocations: 4 kB / 262.3 MB, free: 12.07 MB / 250.7 MB Notification: Performance of Templates: time 0.004223/0.01727, allocations: 2.39 MB / 264.7 MB, free: 9.703 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.642694840207696]