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.001161/0.001161, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001586/0.002747, allocations: 449.7 kB / 10.37 MB, free: 332 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.0009934/0.0009934, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001352/0.002345, allocations: 459.6 kB / 11.69 MB, free: 2.48 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.9283/0.9283, allocations: 173.4 MB / 185.8 MB, free: 9.012 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08656/1.015, allocations: 52.49 MB / 238.3 MB, free: 4.457 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.433e-06/1.433e-06, allocations: 0 / 239.6 MB, free: 3.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/1.968e-05, allocations: 2.312 kB / 239.6 MB, free: 3.195 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002674/0.002693, allocations: 2.577 MB / 242.1 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007172/0.003411, allocations: 0.6735 MB / 242.8 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.144e-05/0.003492, allocations: 0 / 242.8 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.468e-05/0.003567, allocations: 39.64 kB / 242.8 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.634e-05/0.003653, allocations: 75.27 kB / 242.9 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.003813, allocations: 83.77 kB / 243 MB, free: 15.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.004015, allocations: 298.5 kB / 243.3 MB, free: 15.44 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.004132, allocations: 62.5 kB / 243.4 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.004303, allocations: 187.5 kB / 243.5 MB, free: 15.2 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.004419, allocations: 87.77 kB / 243.6 MB, free: 15.11 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.004446, allocations: 20 kB / 243.6 MB, free: 15.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.151e-05/0.004528, allocations: 32 kB / 243.7 MB, free: 15.06 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.75e-05/0.004555, allocations: 35.88 kB / 243.7 MB, free: 15.02 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.676e-05/0.004612, allocations: 75.81 kB / 243.8 MB, free: 14.95 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.004811, allocations: 175.4 kB / 244 MB, free: 14.78 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.369e-05/0.004825, allocations: 3.938 kB / 244 MB, free: 14.77 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004825, allocations: 4 kB / 244 MB, free: 14.77 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.004841, allocations: 0 / 244 MB, free: 14.77 MB / 250.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.0005493/0.00539, allocations: 499.8 kB / 244.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.619e-05/0.005416, allocations: 8.031 kB / 244.5 MB, free: 14.25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.005463, allocations: 36.91 kB / 244.5 MB, free: 14.21 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.005622, allocations: 161.4 kB / 244.6 MB, free: 14.03 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.005636, allocations: 20.88 kB / 244.7 MB, free: 14.01 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.005662, allocations: 20.31 kB / 244.7 MB, free: 13.99 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.005845, allocations: 200.8 kB / 244.9 MB, free: 13.77 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.005854, allocations: 192 / 244.9 MB, free: 13.77 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.005867, allocations: 4.375 kB / 244.9 MB, free: 13.77 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.005877, allocations: 15.92 kB / 244.9 MB, free: 13.75 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.043e-05/0.005967, allocations: 65.39 kB / 245 MB, free: 13.69 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006151/0.006582, allocations: 0.4927 MB / 245.5 MB, free: 13.16 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.006716, allocations: 98.45 kB / 245.6 MB, free: 13.06 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.07e-05/0.006787, allocations: 52.78 kB / 245.6 MB, free: 13 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.006805, allocations: 4 kB / 245.6 MB, free: 13 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.006825, allocations: 38.5 kB / 245.6 MB, free: 12.95 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.006827, allocations: 0 / 245.6 MB, free: 12.95 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005104/0.007337, allocations: 237 kB / 245.9 MB, free: 12.71 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/0.007359, allocations: 59.31 kB / 245.9 MB, free: 12.64 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.04e-05/0.00744, allocations: 166.5 kB / 246.1 MB, free: 12.47 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.007453, allocations: 29.7 kB / 246.1 MB, free: 12.43 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.867e-05/0.007502, allocations: 140.4 kB / 246.3 MB, free: 12.29 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.007532, allocations: 63.42 kB / 246.3 MB, free: 12.23 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.007571, allocations: 37.69 kB / 246.4 MB, free: 12.19 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.967e-05/0.007641, allocations: 330.8 kB / 246.7 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.351e-05/0.007665, allocations: 19.98 kB / 246.7 MB, free: 11.84 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.536e-05/0.0077, allocations: 44.5 kB / 246.8 MB, free: 11.79 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.919e-05/0.007769, allocations: 69.59 kB / 246.8 MB, free: 11.71 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.007771, allocations: 0 / 246.8 MB, free: 11.71 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001309/0.007902, allocations: 133.2 kB / 247 MB, free: 11.58 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.007912, allocations: 4 kB / 247 MB, free: 11.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.007916, allocations: 0 / 247 MB, free: 11.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005214/0.008438, allocations: 237.8 kB / 247.2 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.008557, allocations: 51.91 kB / 247.2 MB, free: 11.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002438/0.0088, allocations: 0.5679 MB / 247.8 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.348e-05/0.008844, allocations: 11.89 kB / 247.8 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.008851, allocations: 4 kB / 247.8 MB, free: 10.66 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.863e-05/0.00892, allocations: 117.8 kB / 247.9 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.008943, allocations: 15.98 kB / 248 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.009106, allocations: 140.2 kB / 248.1 MB, free: 10.37 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.009109, allocations: 7.938 kB / 248.1 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.00911, allocations: 4.031 kB / 248.1 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.009113, allocations: 0 / 248.1 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.009465, allocations: 364.1 kB / 248.5 MB, free: 9.973 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.009466, allocations: 0 / 248.5 MB, free: 9.973 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.74e-05/0.009564, allocations: 31.97 kB / 248.5 MB, free: 9.941 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.676e-05/0.009581, allocations: 19.86 kB / 248.5 MB, free: 9.922 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003696/0.00995, allocations: 148.7 kB / 248.7 MB, free: 9.773 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.009961, allocations: 4 kB / 248.7 MB, free: 9.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002248/0.01019, allocations: 0.5796 MB / 249.2 MB, free: 9.164 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.01019, allocations: 0 / 249.2 MB, free: 9.164 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.01046, allocations: 292.9 kB / 249.5 MB, free: 8.855 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.01048, allocations: 4 kB / 249.5 MB, free: 8.852 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.989e-05/0.01054, allocations: 12 kB / 249.5 MB, free: 8.84 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/0.01056, allocations: 15.91 kB / 249.6 MB, free: 8.824 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.01057, allocations: 4.062 kB / 249.6 MB, free: 8.82 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.363e-05/0.0106, allocations: 53.84 kB / 249.6 MB, free: 8.766 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0106, allocations: 0 / 249.6 MB, free: 8.766 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001537/0.01076, allocations: 59.83 kB / 249.7 MB, free: 8.707 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 9.456e-05/0.01085, allocations: 92.39 kB / 249.8 MB, free: 8.609 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001533/0.01101, allocations: 92.7 kB / 249.8 MB, free: 8.516 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.01101, allocations: 4 kB / 249.9 MB, free: 8.512 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.257e-05/0.01108, allocations: 64.66 kB / 249.9 MB, free: 8.449 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.01125, allocations: 43.92 kB / 250 MB, free: 8.406 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.01368, allocations: 475.1 kB / 250.4 MB, free: 7.914 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.516e-05/0.01373, allocations: 84.2 kB / 250.5 MB, free: 7.812 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.77e-05/0.01376, allocations: 5.5 kB / 250.5 MB, free: 7.809 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.399e-05/0.01384, allocations: 83.34 kB / 250.6 MB, free: 7.727 MB / 250.7 MB Notification: Performance of SimCode: time 4.9e-07/0.01384, allocations: 0 / 250.6 MB, free: 7.727 MB / 250.7 MB Notification: Performance of Templates: time 0.004203/0.01804, allocations: 2.563 MB / 253.2 MB, free: 5.207 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.557034570723772]