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.001033/0.001033, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001472/0.002505, allocations: 445.7 kB / 10.37 MB, free: 328 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.001079/0.001079, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001429/0.002508, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.914/0.914, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1577/1.072, allocations: 49.48 MB / 220.6 MB, free: 1.445 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.573e-06/1.573e-06, allocations: 0 / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.542e-05, allocations: 6.312 kB / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003959/0.003985, allocations: 2.218 MB / 224.1 MB, free: 13.93 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009849/0.00497, allocations: 0.5072 MB / 224.6 MB, free: 13.41 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.888e-05/0.005069, allocations: 7.938 kB / 224.6 MB, free: 13.4 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.273e-05/0.005151, allocations: 19.8 kB / 224.6 MB, free: 13.38 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.005268, allocations: 39.62 kB / 224.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.00544, allocations: 47.81 kB / 224.7 MB, free: 13.3 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.005655, allocations: 163.1 kB / 224.8 MB, free: 13.14 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.005799, allocations: 34.31 kB / 224.9 MB, free: 13.11 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.006032, allocations: 115.7 kB / 225 MB, free: 12.99 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.006145, allocations: 43.88 kB / 225 MB, free: 12.95 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.006173, allocations: 12 kB / 225 MB, free: 12.94 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.472e-05/0.006268, allocations: 23.94 kB / 225.1 MB, free: 12.91 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.14e-05/0.006299, allocations: 23.88 kB / 225.1 MB, free: 12.89 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.489e-05/0.006354, allocations: 39.94 kB / 225.1 MB, free: 12.85 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.006582, allocations: 103.6 kB / 225.2 MB, free: 12.75 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-05/0.006611, allocations: 0 / 225.2 MB, free: 12.75 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.006613, allocations: 0 / 225.2 MB, free: 12.75 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.178e-05/0.006635, allocations: 0 / 225.2 MB, free: 12.75 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.000641/0.007276, allocations: 376.2 kB / 225.6 MB, free: 12.36 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.007327, allocations: 8.031 kB / 225.6 MB, free: 12.35 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.007494, allocations: 102 kB / 225.7 MB, free: 12.23 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.007673, allocations: 137.5 kB / 225.8 MB, free: 12.07 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.007686, allocations: 8.609 kB / 225.8 MB, free: 12.07 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.007704, allocations: 8.375 kB / 225.9 MB, free: 12.06 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.00788, allocations: 122.5 kB / 226 MB, free: 11.93 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.00789, allocations: 4.172 kB / 226 MB, free: 11.92 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.007901, allocations: 8.375 kB / 226 MB, free: 11.91 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.007909, allocations: 11.94 kB / 226 MB, free: 11.9 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.789e-05/0.007967, allocations: 24.69 kB / 226 MB, free: 11.88 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006027/0.00857, allocations: 354.4 kB / 226.4 MB, free: 11.5 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.008814, allocations: 70.53 kB / 226.4 MB, free: 11.43 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.893e-05/0.008843, allocations: 8.859 kB / 226.4 MB, free: 11.41 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.008858, allocations: 4 kB / 226.4 MB, free: 11.41 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.008892, allocations: 34.69 kB / 226.5 MB, free: 11.37 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 2.224e-06/0.008895, allocations: 4 kB / 226.5 MB, free: 11.36 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004103/0.009305, allocations: 126.3 kB / 226.6 MB, free: 11.23 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.009342, allocations: 63.33 kB / 226.7 MB, free: 11.16 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.009458, allocations: 146.6 kB / 226.8 MB, free: 11 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.009472, allocations: 25.7 kB / 226.8 MB, free: 10.97 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.417e-05/0.009546, allocations: 124.1 kB / 227 MB, free: 10.84 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.009579, allocations: 27.78 kB / 227 MB, free: 10.82 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.009626, allocations: 21.7 kB / 227 MB, free: 10.79 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.009743, allocations: 326.8 kB / 227.3 MB, free: 10.46 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.805e-05/0.009761, allocations: 4 kB / 227.3 MB, free: 10.46 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.753e-05/0.009798, allocations: 26.56 kB / 227.4 MB, free: 10.42 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.978e-05/0.009868, allocations: 42.48 kB / 227.4 MB, free: 10.37 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.009871, allocations: 4 kB / 227.4 MB, free: 10.37 MB / 234.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001946/0.01007, allocations: 90.44 kB / 227.5 MB, free: 10.27 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.01009, allocations: 7.938 kB / 227.5 MB, free: 10.26 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.01009, allocations: 0 / 227.5 MB, free: 10.26 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001931/0.01029, allocations: 40.7 kB / 227.5 MB, free: 10.22 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.195e-05/0.01034, allocations: 8 kB / 227.5 MB, free: 10.21 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.01183, allocations: 1.418 MB / 229 MB, free: 8.711 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.443e-05/0.0119, allocations: 7.938 kB / 229 MB, free: 8.703 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.01191, allocations: 4 kB / 229 MB, free: 8.699 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 9.572e-05/0.012, allocations: 117.8 kB / 229.1 MB, free: 8.574 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.01203, allocations: 7.984 kB / 229.1 MB, free: 8.566 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.637e-05/0.01206, allocations: 16.78 kB / 229.1 MB, free: 8.547 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01206, allocations: 0 / 229.1 MB, free: 8.547 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.01207, allocations: 0 / 229.1 MB, free: 8.547 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01207, allocations: 3.984 kB / 229.1 MB, free: 8.543 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.01224, allocations: 93.8 kB / 229.2 MB, free: 8.434 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.01224, allocations: 0 / 229.2 MB, free: 8.434 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.032e-05/0.01227, allocations: 7.984 kB / 229.2 MB, free: 8.426 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.01228, allocations: 7.906 kB / 229.2 MB, free: 8.418 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001345/0.01242, allocations: 36.78 kB / 229.3 MB, free: 8.379 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.01242, allocations: 0 / 229.3 MB, free: 8.379 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.01363, allocations: 1.407 MB / 230.7 MB, free: 6.891 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.01363, allocations: 0 / 230.7 MB, free: 6.891 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.01384, allocations: 180.3 kB / 230.8 MB, free: 6.695 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.01386, allocations: 4 kB / 230.8 MB, free: 6.691 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.97e-05/0.01393, allocations: 4 kB / 230.9 MB, free: 6.688 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.01397, allocations: 3.984 kB / 230.9 MB, free: 6.684 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.01398, allocations: 4 kB / 230.9 MB, free: 6.68 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.987e-05/0.01402, allocations: 28.83 kB / 230.9 MB, free: 6.648 MB / 234.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01402, allocations: 0 / 230.9 MB, free: 6.648 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003587/0.01438, allocations: 35.95 kB / 230.9 MB, free: 6.613 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.0001147/0.01449, allocations: 88.41 kB / 231 MB, free: 6.516 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002641/0.01476, allocations: 170.1 kB / 231.2 MB, free: 6.336 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/0.01477, allocations: 4 kB / 231.2 MB, free: 6.332 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.0149, allocations: 151.4 kB / 231.3 MB, free: 6.168 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.01511, allocations: 19.94 kB / 231.3 MB, free: 6.148 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.01791, allocations: 296.6 kB / 231.6 MB, free: 5.832 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.872e-05/0.01797, allocations: 63.34 kB / 231.7 MB, free: 5.75 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 4.489e-05/0.01802, allocations: 8.484 kB / 231.7 MB, free: 5.742 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.968e-05/0.01809, allocations: 59.38 kB / 231.8 MB, free: 5.684 MB / 234.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01809, allocations: 4 kB / 231.8 MB, free: 5.68 MB / 234.7 MB Notification: Performance of Templates: time 0.004351/0.02244, allocations: 1.601 MB / 233.4 MB, free: 4.086 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6547646205872297]