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.001103/0.001103, allocations: 85.08 kB / 23 MB, free: 1.504 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.001285/0.001285, allocations: 173.4 kB / 26.39 MB, free: 8.156 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.943/0.943, allocations: 158.6 MB / 188.3 MB, free: 2.824 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.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.402e-06/1.402e-06, allocations: 3.938 kB / 252.2 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.917e-05/3.058e-05, allocations: 6.25 kB / 252.3 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.002915/0.002946, allocations: 2.152 MB / 254.4 MB, free: 5.086 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007619/0.003708, allocations: 0.4956 MB / 254.9 MB, free: 4.582 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.97e-05/0.003798, allocations: 4 kB / 254.9 MB, free: 4.578 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.003917, allocations: 27.72 kB / 254.9 MB, free: 4.551 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.095e-05/0.003998, allocations: 47.58 kB / 255 MB, free: 4.504 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.004216, allocations: 35.94 kB / 255 MB, free: 4.469 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.00439, allocations: 171.1 kB / 255.2 MB, free: 4.301 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003814/0.004772, allocations: 41.59 kB / 255.2 MB, free: 4.258 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.004917, allocations: 95.78 kB / 255.3 MB, free: 4.164 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.408e-05/0.005001, allocations: 43.89 kB / 255.4 MB, free: 4.121 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.005022, allocations: 12 kB / 255.4 MB, free: 4.109 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.492e-05/0.005077, allocations: 23.94 kB / 255.4 MB, free: 4.086 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.665e-05/0.005104, allocations: 27.91 kB / 255.4 MB, free: 4.059 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.09e-05/0.005145, allocations: 55.83 kB / 255.5 MB, free: 4.004 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.005313, allocations: 103.7 kB / 255.6 MB, free: 3.902 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.005315, allocations: 0 / 255.6 MB, free: 3.902 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.005316, allocations: 0 / 255.6 MB, free: 3.902 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.00532, allocations: 0 / 255.6 MB, free: 3.902 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.0004401/0.00576, allocations: 468.2 kB / 256 MB, free: 3.41 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.005798, allocations: 15.98 kB / 256 MB, free: 3.395 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.005901, allocations: 28.84 kB / 256.1 MB, free: 3.367 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.006058, allocations: 160.3 kB / 256.2 MB, free: 3.18 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.006071, allocations: 12.61 kB / 256.2 MB, free: 3.168 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.006084, allocations: 12.38 kB / 256.3 MB, free: 3.156 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.006233, allocations: 122.4 kB / 256.4 MB, free: 3.023 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.006242, allocations: 192 / 256.4 MB, free: 3.023 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.006253, allocations: 4.375 kB / 256.4 MB, free: 3.02 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.00626, allocations: 7.938 kB / 256.4 MB, free: 3.012 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.687e-05/0.006307, allocations: 28.67 kB / 256.4 MB, free: 2.984 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004857/0.006793, allocations: 466.5 kB / 256.9 MB, free: 2.488 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.006951, allocations: 67.05 kB / 256.9 MB, free: 2.41 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.449e-05/0.006975, allocations: 19.8 kB / 257 MB, free: 2.387 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.006989, allocations: 4 kB / 257 MB, free: 2.383 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.007011, allocations: 33.39 kB / 257 MB, free: 2.34 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.007013, allocations: 3.938 kB / 257 MB, free: 2.336 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003423/0.007355, allocations: 141.1 kB / 257.1 MB, free: 2.188 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.007376, allocations: 51.41 kB / 257.2 MB, free: 2.125 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.178e-05/0.007468, allocations: 205.8 kB / 257.4 MB, free: 1.906 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.007478, allocations: 25.7 kB / 257.4 MB, free: 1.875 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.616e-05/0.007545, allocations: 174.8 kB / 257.6 MB, free: 1.699 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.007558, allocations: 23.78 kB / 257.6 MB, free: 1.676 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.007589, allocations: 23.38 kB / 257.6 MB, free: 1.645 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.0077, allocations: 0.5078 MB / 258.1 MB, free: 1.125 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.446e-05/0.007715, allocations: 4 kB / 258.1 MB, free: 1.121 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.164e-05/0.007746, allocations: 42.97 kB / 258.2 MB, free: 1.066 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.766e-05/0.007794, allocations: 43.06 kB / 258.2 MB, free: 1.012 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.007796, allocations: 0 / 258.2 MB, free: 1.012 MB / 234.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001378/0.007934, allocations: 109.2 kB / 258.3 MB, free: 0.8945 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.007946, allocations: 4 kB / 258.3 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.007952, allocations: 8.062 kB / 258.3 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001327/0.008084, allocations: 39.59 kB / 258.4 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.177e-05/0.008116, allocations: 4 kB / 258.4 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.009199, allocations: 2.06 MB / 260.4 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.912e-05/0.009238, allocations: 3.938 kB / 260.4 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.009245, allocations: 4 kB / 260.5 MB, free: 14.66 MB / 250.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.301e-05/0.009318, allocations: 164.5 kB / 260.6 MB, free: 14.48 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.009341, allocations: 15.94 kB / 260.6 MB, free: 14.47 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.429e-05/0.009355, allocations: 8.781 kB / 260.6 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.009357, allocations: 4 kB / 260.6 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.009359, allocations: 3.984 kB / 260.6 MB, free: 14.45 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.009362, allocations: 4 kB / 260.6 MB, free: 14.45 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.009475, allocations: 121.2 kB / 260.8 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.009477, allocations: 0 / 260.8 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.705e-05/0.009494, allocations: 7.984 kB / 260.8 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.723e-05/0.009581, allocations: 31.66 kB / 260.8 MB, free: 14.26 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-06/0.009586, allocations: 8 kB / 260.8 MB, free: 14.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.01072, allocations: 2.052 MB / 262.9 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01072, allocations: 0 / 262.9 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.01087, allocations: 243.4 kB / 263.1 MB, free: 11.83 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.205e-06/0.01088, allocations: 3.953 kB / 263.1 MB, free: 11.82 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-06/0.01089, allocations: 7.938 kB / 263.1 MB, free: 11.82 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.826e-05/0.01094, allocations: 3.984 kB / 263.1 MB, free: 11.81 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.01096, allocations: 11.92 kB / 263.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.01097, allocations: 8.031 kB / 263.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.896e-05/0.01102, allocations: 147.1 kB / 263.3 MB, free: 11.65 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01102, allocations: 0 / 263.3 MB, free: 11.65 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002354/0.01126, allocations: 39.94 kB / 263.3 MB, free: 11.61 MB / 250.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 9.451e-05/0.01135, allocations: 95.23 kB / 263.4 MB, free: 11.5 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002453/0.0116, allocations: 228.3 kB / 263.6 MB, free: 11.26 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.0116, allocations: 0 / 263.6 MB, free: 11.26 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.01172, allocations: 213.7 kB / 263.8 MB, free: 11.03 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.01191, allocations: 29.05 kB / 263.9 MB, free: 11.01 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005606/0.01247, allocations: 282.3 kB / 264.2 MB, free: 10.7 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.574e-05/0.01251, allocations: 67.34 kB / 264.2 MB, free: 10.62 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.332e-05/0.01256, allocations: 4.531 kB / 264.2 MB, free: 10.61 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.01262, allocations: 82.19 kB / 264.3 MB, free: 10.53 MB / 250.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01262, allocations: 0 / 264.3 MB, free: 10.53 MB / 250.7 MB Notification: Performance of Templates: time 0.003401/0.01602, allocations: 1.616 MB / 265.9 MB, free: 8.922 MB / 250.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 -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.826785656157881]