Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001694/0.002776, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008075/0.0008075, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001105/0.001913, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9078/0.9078, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1782/1.086, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 239.7 MB, free: 6.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.292e-05, allocations: 2.312 kB / 239.8 MB, free: 6.348 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003798/0.003821, allocations: 2.577 MB / 242.3 MB, free: 3.773 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.004885, allocations: 0.6562 MB / 243 MB, free: 3.113 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.005, allocations: 0.9688 kB / 243 MB, free: 3.113 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.00511, allocations: 43.58 kB / 243 MB, free: 3.07 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.00525, allocations: 73.73 kB / 243.1 MB, free: 3 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.005472, allocations: 87.69 kB / 243.2 MB, free: 2.914 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.005766, allocations: 290.5 kB / 243.5 MB, free: 2.629 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.00592, allocations: 67.66 kB / 243.5 MB, free: 2.562 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000262/0.006182, allocations: 187.5 kB / 243.7 MB, free: 2.379 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.006343, allocations: 84.41 kB / 243.8 MB, free: 2.297 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/0.006381, allocations: 21.97 kB / 243.8 MB, free: 2.277 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.006493, allocations: 43.97 kB / 243.9 MB, free: 2.234 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.271e-05/0.006536, allocations: 35.88 kB / 243.9 MB, free: 2.199 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.816e-05/0.006614, allocations: 71.88 kB / 244 MB, free: 2.129 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.006891, allocations: 175.4 kB / 244.1 MB, free: 1.957 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.099e-05/0.006902, allocations: 0 / 244.1 MB, free: 1.957 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.006903, allocations: 1.469 kB / 244.1 MB, free: 1.957 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.006916, allocations: 0 / 244.1 MB, free: 1.957 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.000713/0.007629, allocations: 497.6 kB / 244.6 MB, free: 1.445 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.007665, allocations: 12.02 kB / 244.6 MB, free: 1.434 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.047e-05/0.007735, allocations: 34.58 kB / 244.7 MB, free: 1.402 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.007957, allocations: 161.4 kB / 244.8 MB, free: 1.219 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.855e-05/0.007975, allocations: 20.88 kB / 244.9 MB, free: 1.199 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.271e-05/0.008018, allocations: 21.5 kB / 244.9 MB, free: 1.18 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.008282, allocations: 208.7 kB / 245.1 MB, free: 0.957 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.008295, allocations: 192 / 245.1 MB, free: 0.957 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.008312, allocations: 9.344 kB / 245.1 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.008324, allocations: 11.94 kB / 245.1 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.008449, allocations: 53.47 kB / 245.2 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008676/0.009316, allocations: 0.5036 MB / 245.7 MB, free: 364 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.009498, allocations: 95.06 kB / 245.7 MB, free: 260 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.009601, allocations: 59.31 kB / 245.8 MB, free: 200 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.009628, allocations: 11.94 kB / 245.8 MB, free: 188 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.009651, allocations: 30.56 kB / 245.8 MB, free: 148 kB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.009652, allocations: 0 / 245.8 MB, free: 148 kB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007302/0.01038, allocations: 222.5 kB / 246.1 MB, free: 15.92 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.01041, allocations: 55.41 kB / 246.1 MB, free: 15.86 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.01053, allocations: 172 kB / 246.3 MB, free: 15.68 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.01055, allocations: 33.7 kB / 246.3 MB, free: 15.64 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/0.01062, allocations: 136.9 kB / 246.5 MB, free: 15.5 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.01066, allocations: 63.42 kB / 246.5 MB, free: 15.44 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.815e-05/0.01072, allocations: 42.47 kB / 246.6 MB, free: 15.39 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.01083, allocations: 330.8 kB / 246.9 MB, free: 15.06 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.877e-05/0.01086, allocations: 17.62 kB / 246.9 MB, free: 15.04 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.762e-05/0.01092, allocations: 39.75 kB / 246.9 MB, free: 15 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.01103, allocations: 73.88 kB / 247 MB, free: 14.92 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.01103, allocations: 4 kB / 247 MB, free: 14.92 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002098/0.01124, allocations: 137.6 kB / 247.1 MB, free: 14.78 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.01125, allocations: 5.875 kB / 247.2 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.01126, allocations: 0 / 247.2 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007598/0.01202, allocations: 241.7 kB / 247.4 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.01218, allocations: 47.2 kB / 247.4 MB, free: 14.47 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003557/0.01254, allocations: 0.5639 MB / 248 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.519e-05/0.01261, allocations: 15.92 kB / 248 MB, free: 13.87 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.01262, allocations: 8 kB / 248 MB, free: 13.86 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 8.316e-05/0.01271, allocations: 109.8 kB / 248.1 MB, free: 13.74 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.131e-05/0.01275, allocations: 19.98 kB / 248.1 MB, free: 13.72 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.01299, allocations: 140.1 kB / 248.3 MB, free: 13.57 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.013, allocations: 7.984 kB / 248.3 MB, free: 13.57 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.013, allocations: 0 / 248.3 MB, free: 13.57 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.013, allocations: 0 / 248.3 MB, free: 13.57 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005031/0.01351, allocations: 356.2 kB / 248.6 MB, free: 13.19 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01351, allocations: 0 / 248.6 MB, free: 13.19 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.01365, allocations: 35.97 kB / 248.7 MB, free: 13.15 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.327e-05/0.01368, allocations: 19.84 kB / 248.7 MB, free: 13.13 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005736/0.01425, allocations: 160.6 kB / 248.9 MB, free: 12.97 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.01426, allocations: 0 / 248.9 MB, free: 12.97 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003224/0.01459, allocations: 0.5795 MB / 249.4 MB, free: 12.37 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.01459, allocations: 0 / 249.4 MB, free: 12.37 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004339/0.01502, allocations: 297 kB / 249.7 MB, free: 12.05 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.01505, allocations: 8 kB / 249.7 MB, free: 12.05 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.92e-05/0.01515, allocations: 8 kB / 249.7 MB, free: 12.04 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.01519, allocations: 19.84 kB / 249.8 MB, free: 12.02 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.0152, allocations: 4 kB / 249.8 MB, free: 12.02 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.381e-05/0.01525, allocations: 53.84 kB / 249.8 MB, free: 11.96 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01525, allocations: 0 / 249.8 MB, free: 11.96 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002679/0.01552, allocations: 59.84 kB / 249.9 MB, free: 11.9 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.0001342/0.01565, allocations: 92.39 kB / 250 MB, free: 11.8 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002327/0.01589, allocations: 95.08 kB / 250.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/0.0159, allocations: 11.92 kB / 250.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.01602, allocations: 65.89 kB / 250.1 MB, free: 11.63 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.01637, allocations: 261.8 kB / 250.4 MB, free: 11.33 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003815/0.02019, allocations: 471.2 kB / 250.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.853e-05/0.02025, allocations: 80.2 kB / 250.9 MB, free: 10.74 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.791e-05/0.02031, allocations: 13.48 kB / 250.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.02043, allocations: 87.34 kB / 251 MB, free: 10.64 MB / 250.7 MB Notification: Performance of SimCode: time 1.011e-06/0.02043, allocations: 0 / 251 MB, free: 10.64 MB / 250.7 MB Notification: Performance of Templates: time 0.005863/0.02629, allocations: 2.766 MB / 253.8 MB, free: 7.93 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.566342007368803]