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.001768/0.001768, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001598/0.001598, allocations: 166.5 kB / 25.02 MB, free: 8.945 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 1.453/1.453, allocations: 158.6 MB / 186.8 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 178] 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 2.515e-06/2.515e-06, allocations: 0 / 250.4 MB, free: 7.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.69e-05/3.941e-05, allocations: 2.312 kB / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.004333/0.004372, allocations: 2.073 MB / 252.4 MB, free: 5.754 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.005562, allocations: 487.6 kB / 252.9 MB, free: 5.27 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.005726, allocations: 4 kB / 252.9 MB, free: 5.266 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.005876, allocations: 19.78 kB / 252.9 MB, free: 5.246 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.006055, allocations: 55.52 kB / 253 MB, free: 5.191 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.00635, allocations: 39.88 kB / 253 MB, free: 5.152 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003426/0.006693, allocations: 167.1 kB / 253.2 MB, free: 4.988 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.006873, allocations: 33.66 kB / 253.2 MB, free: 4.953 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002804/0.007153, allocations: 99.72 kB / 253.3 MB, free: 4.855 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.007276, allocations: 43.89 kB / 253.4 MB, free: 4.812 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.007314, allocations: 12 kB / 253.4 MB, free: 4.801 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.434e-05/0.007398, allocations: 16 kB / 253.4 MB, free: 4.785 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.453e-05/0.007443, allocations: 31.84 kB / 253.4 MB, free: 4.754 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.938e-05/0.007522, allocations: 43.92 kB / 253.5 MB, free: 4.711 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.007856, allocations: 171.4 kB / 253.6 MB, free: 4.543 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.00786, allocations: 0 / 253.6 MB, free: 4.543 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.007861, allocations: 0 / 253.6 MB, free: 4.543 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.007871, allocations: 4 kB / 253.6 MB, free: 4.539 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.0007931/0.008664, allocations: 365.9 kB / 254 MB, free: 4.152 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.008715, allocations: 11.98 kB / 254 MB, free: 4.141 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.008884, allocations: 28.84 kB / 254 MB, free: 4.113 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.009186, allocations: 149.5 kB / 254.2 MB, free: 3.941 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.009207, allocations: 12.61 kB / 254.2 MB, free: 3.93 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.009232, allocations: 16.36 kB / 254.2 MB, free: 3.914 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003402/0.009572, allocations: 149.7 kB / 254.3 MB, free: 3.758 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.009582, allocations: 192 / 254.3 MB, free: 3.758 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.009598, allocations: 384 / 254.3 MB, free: 3.758 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.009609, allocations: 7.938 kB / 254.4 MB, free: 3.75 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.009816, allocations: 76.67 kB / 254.4 MB, free: 3.676 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008874/0.0107, allocations: 434.7 kB / 254.9 MB, free: 3.207 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.01104, allocations: 86.56 kB / 254.9 MB, free: 3.113 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.16e-05/0.01113, allocations: 32.97 kB / 255 MB, free: 3.078 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.01115, allocations: 0 / 255 MB, free: 3.078 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.01119, allocations: 34.5 kB / 255 MB, free: 3.035 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 7.31e-07/0.01119, allocations: 0 / 255 MB, free: 3.035 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007548/0.01194, allocations: 190.3 kB / 255.2 MB, free: 2.84 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.01199, allocations: 51.41 kB / 255.2 MB, free: 2.777 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.01215, allocations: 149.7 kB / 255.4 MB, free: 2.621 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.01218, allocations: 33.7 kB / 255.4 MB, free: 2.582 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.719e-05/0.01228, allocations: 120.1 kB / 255.5 MB, free: 2.461 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.0123, allocations: 19.86 kB / 255.6 MB, free: 2.441 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/0.01235, allocations: 25.72 kB / 255.6 MB, free: 2.41 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.01255, allocations: 322.8 kB / 255.9 MB, free: 2.086 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.532e-05/0.01262, allocations: 27.92 kB / 255.9 MB, free: 2.055 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.011e-05/0.01271, allocations: 42.56 kB / 256 MB, free: 2.004 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.01286, allocations: 62.56 kB / 256 MB, free: 1.934 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01286, allocations: 0 / 256 MB, free: 1.934 MB / 234.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003224/0.01318, allocations: 150.3 kB / 256.2 MB, free: 1.777 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.0132, allocations: 7.938 kB / 256.2 MB, free: 1.77 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.0132, allocations: 0 / 256.2 MB, free: 1.77 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002407/0.01344, allocations: 41.09 kB / 256.2 MB, free: 1.727 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.962e-05/0.0135, allocations: 11.98 kB / 256.2 MB, free: 1.715 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.01537, allocations: 1.563 MB / 257.8 MB, free: 52 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.586e-05/0.01545, allocations: 15.89 kB / 257.8 MB, free: 36 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.01546, allocations: 0 / 257.8 MB, free: 36 kB / 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 0.0001398/0.0156, allocations: 117.8 kB / 257.9 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.01564, allocations: 11.95 kB / 257.9 MB, free: 15.9 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.01567, allocations: 16.77 kB / 258 MB, free: 15.88 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-06/0.01567, allocations: 4.062 kB / 258 MB, free: 15.88 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.01567, allocations: 0 / 258 MB, free: 15.88 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.01568, allocations: 3.938 kB / 258 MB, free: 15.88 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.01589, allocations: 141.3 kB / 258.1 MB, free: 15.71 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.01589, allocations: 4.125 kB / 258.1 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.01593, allocations: 7.984 kB / 258.1 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001457/0.01608, allocations: 36.84 kB / 258.1 MB, free: 15.66 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.01609, allocations: 3.984 kB / 258.2 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/0.01771, allocations: 1.551 MB / 259.7 MB, free: 14 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01771, allocations: 0 / 259.7 MB, free: 14 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.01807, allocations: 212.2 kB / 259.9 MB, free: 13.77 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.294e-05/0.01809, allocations: 15.94 kB / 259.9 MB, free: 13.76 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.0181, allocations: 192 / 259.9 MB, free: 13.76 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.01821, allocations: 12.11 kB / 259.9 MB, free: 13.75 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.01827, allocations: 19.84 kB / 260 MB, free: 13.73 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.01827, allocations: 3.938 kB / 260 MB, free: 13.72 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001043/0.01838, allocations: 115.2 kB / 260.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01838, allocations: 0 / 260.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000359/0.01874, allocations: 35.95 kB / 260.1 MB, free: 13.57 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 0.0001356/0.01887, allocations: 95.25 kB / 260.2 MB, free: 13.47 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004466/0.01932, allocations: 189.4 kB / 260.4 MB, free: 13.27 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.01932, allocations: 0 / 260.4 MB, free: 13.27 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.01957, allocations: 158.5 kB / 260.5 MB, free: 13.11 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.01988, allocations: 23.66 kB / 260.6 MB, free: 13.09 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006342/0.02051, allocations: 264.9 kB / 260.8 MB, free: 12.8 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.02062, allocations: 98.2 kB / 260.9 MB, free: 12.68 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.266e-05/0.02067, allocations: 4.5 kB / 260.9 MB, free: 12.68 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.0207, allocations: 12.5 kB / 260.9 MB, free: 12.66 MB / 250.7 MB Notification: Performance of SimCode: time 7.72e-07/0.0207, allocations: 4 kB / 260.9 MB, free: 12.66 MB / 250.7 MB Notification: Performance of Templates: time 0.005094/0.02579, allocations: 1.478 MB / 262.4 MB, free: 11.19 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.4205611939541996]