Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.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.0009577/0.0009577, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001476/0.002434, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0008913/0.0008913, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001236/0.002128, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.9502/0.9502, allocations: 158.6 MB / 171.2 MB, free: 2.496 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1789/1.129, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.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.HeatingResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|heatingResistor.i|heatingResistor.LossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor") translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|heatingResistor.i|heatingResistor.LossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.397e-05, allocations: 5.406 kB / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.00306/0.003084, allocations: 2.226 MB / 224.2 MB, free: 13.81 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007614/0.003845, allocations: 0.5072 MB / 224.7 MB, free: 13.3 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.01e-05/0.003926, allocations: 4 kB / 224.7 MB, free: 13.29 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.53e-05/0.004001, allocations: 19.78 kB / 224.7 MB, free: 13.27 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.524e-05/0.004076, allocations: 51.52 kB / 224.8 MB, free: 13.22 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.004216, allocations: 35.94 kB / 224.8 MB, free: 13.19 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.004365, allocations: 163.1 kB / 225 MB, free: 13.03 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.004512, allocations: 38.31 kB / 225 MB, free: 12.99 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.004684, allocations: 111.7 kB / 225.1 MB, free: 12.88 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.341e-05/0.004778, allocations: 51.88 kB / 225.2 MB, free: 12.83 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.0048, allocations: 15.94 kB / 225.2 MB, free: 12.81 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.12e-05/0.004871, allocations: 19.98 kB / 225.2 MB, free: 12.79 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.004894, allocations: 19.94 kB / 225.2 MB, free: 12.77 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.00493, allocations: 43.94 kB / 225.3 MB, free: 12.73 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.005118, allocations: 107.6 kB / 225.4 MB, free: 12.62 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.417e-05/0.005132, allocations: 0 / 225.4 MB, free: 12.62 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.005133, allocations: 0 / 225.4 MB, free: 12.62 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.005143, allocations: 0 / 225.4 MB, free: 12.62 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004479/0.005591, allocations: 372.2 kB / 225.7 MB, free: 12.24 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.005623, allocations: 8.031 kB / 225.8 MB, free: 12.23 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.005789, allocations: 102 kB / 225.9 MB, free: 12.11 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.006206, allocations: 137.5 kB / 226 MB, free: 11.95 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.006218, allocations: 8.609 kB / 226 MB, free: 11.95 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.006236, allocations: 12.38 kB / 226 MB, free: 11.93 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.006401, allocations: 122.5 kB / 226.1 MB, free: 11.8 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.006415, allocations: 4.125 kB / 226.1 MB, free: 11.8 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.006429, allocations: 4.375 kB / 226.1 MB, free: 11.79 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.006439, allocations: 3.938 kB / 226.1 MB, free: 11.79 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.586e-05/0.006494, allocations: 32.69 kB / 226.2 MB, free: 11.76 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004689/0.006963, allocations: 350.4 kB / 226.5 MB, free: 11.39 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.007163, allocations: 66.47 kB / 226.6 MB, free: 11.32 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.763e-05/0.00719, allocations: 20.97 kB / 226.6 MB, free: 11.29 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.007203, allocations: 0 / 226.6 MB, free: 11.29 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.007226, allocations: 34.56 kB / 226.6 MB, free: 11.25 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 8.71e-07/0.007227, allocations: 0 / 226.6 MB, free: 11.25 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.00033/0.007557, allocations: 134.3 kB / 226.8 MB, free: 11.11 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.007588, allocations: 51.41 kB / 226.8 MB, free: 11.05 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.495e-05/0.007673, allocations: 146.6 kB / 227 MB, free: 10.89 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.007687, allocations: 33.7 kB / 227 MB, free: 10.85 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.344e-05/0.00776, allocations: 128.1 kB / 227.1 MB, free: 10.72 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.007775, allocations: 19.73 kB / 227.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.007818, allocations: 29.69 kB / 227.2 MB, free: 10.67 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.426e-05/0.007892, allocations: 326.8 kB / 227.5 MB, free: 10.34 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.398e-05/0.007906, allocations: 4 kB / 227.5 MB, free: 10.34 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.524e-05/0.007931, allocations: 26.52 kB / 227.5 MB, free: 10.3 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.989e-05/0.007981, allocations: 46.53 kB / 227.6 MB, free: 10.25 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.007984, allocations: 0 / 227.6 MB, free: 10.25 MB / 234.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000129/0.008113, allocations: 94.38 kB / 227.7 MB, free: 10.14 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.008129, allocations: 4 kB / 227.7 MB, free: 10.14 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.008136, allocations: 4 kB / 227.7 MB, free: 10.14 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000157/0.008293, allocations: 32.78 kB / 227.7 MB, free: 10.1 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.307e-05/0.008336, allocations: 11.98 kB / 227.7 MB, free: 10.09 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009947/0.009331, allocations: 1.411 MB / 229.1 MB, free: 8.598 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.685e-05/0.009378, allocations: 7.938 kB / 229.1 MB, free: 8.59 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.009385, allocations: 0 / 229.1 MB, free: 8.59 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 7.962e-05/0.009464, allocations: 121.7 kB / 229.2 MB, free: 8.461 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.009484, allocations: 12.02 kB / 229.3 MB, free: 8.449 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.683e-05/0.009501, allocations: 12.78 kB / 229.3 MB, free: 8.434 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.009503, allocations: 0 / 229.3 MB, free: 8.434 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.009506, allocations: 0 / 229.3 MB, free: 8.434 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.00951, allocations: 0 / 229.3 MB, free: 8.434 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.009646, allocations: 101.8 kB / 229.4 MB, free: 8.316 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.00965, allocations: 0 / 229.4 MB, free: 8.316 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.85e-05/0.009679, allocations: 4 kB / 229.4 MB, free: 8.312 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/0.009693, allocations: 11.91 kB / 229.4 MB, free: 8.301 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.615e-05/0.009789, allocations: 32.81 kB / 229.4 MB, free: 8.266 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.009797, allocations: 8 kB / 229.4 MB, free: 8.258 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.01087, allocations: 1.391 MB / 230.8 MB, free: 6.785 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.01087, allocations: 3.984 kB / 230.8 MB, free: 6.781 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.01101, allocations: 184.2 kB / 231 MB, free: 6.582 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.262e-06/0.01102, allocations: 4.031 kB / 231 MB, free: 6.578 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.861e-05/0.01107, allocations: 4 kB / 231 MB, free: 6.574 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.0111, allocations: 11.98 kB / 231 MB, free: 6.562 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.01111, allocations: 0 / 231 MB, free: 6.562 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.816e-05/0.01113, allocations: 28.83 kB / 231 MB, free: 6.531 MB / 234.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01113, allocations: 0 / 231 MB, free: 6.531 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000209/0.01134, allocations: 43.83 kB / 231.1 MB, free: 6.488 MB / 234.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001084/0.01145, allocations: 80.41 kB / 231.2 MB, free: 6.398 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002581/0.01171, allocations: 166.2 kB / 231.3 MB, free: 6.223 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/0.01172, allocations: 0 / 231.3 MB, free: 6.223 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 9.884e-05/0.01182, allocations: 151.4 kB / 231.5 MB, free: 6.059 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.01201, allocations: 87.27 kB / 231.6 MB, free: 5.961 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.0142, allocations: 296.7 kB / 231.9 MB, free: 5.641 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.819e-05/0.01424, allocations: 63.34 kB / 231.9 MB, free: 5.559 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 4.583e-05/0.01429, allocations: 8.484 kB / 231.9 MB, free: 5.551 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.508e-05/0.01436, allocations: 59.38 kB / 232 MB, free: 5.492 MB / 234.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01436, allocations: 4 kB / 232 MB, free: 5.488 MB / 234.7 MB Notification: Performance of Templates: time 0.0037/0.01806, allocations: 1.654 MB / 233.6 MB, free: 3.848 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingResistor/HeatingResistor.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.8049388471990824]