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.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.001608/0.001608, allocations: 107.1 kB / 19.76 MB, free: 2.551 MB / 14.72 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.001942/0.001942, allocations: 190.7 kB / 22.93 MB, free: 5.582 MB / 14.72 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.475/1.475, allocations: 207.6 MB / 233.5 MB, free: 10.98 MB / 190.1 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.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.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 54.73 kB / 345.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3386, allocations: 49.12 MB / 394.5 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003295/0.3419, allocations: 2.151 MB / 396.7 MB, free: 7.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008966/0.3428, allocations: 0.5194 MB / 397.2 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.774e-05/0.3429, allocations: 2.062 kB / 397.2 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.343, allocations: 19.06 kB / 397.2 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.274e-05/0.3431, allocations: 48.8 kB / 397.3 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.3433, allocations: 49.05 kB / 397.3 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.3436, allocations: 155.9 kB / 397.5 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.3437, allocations: 40.28 kB / 397.5 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.3438, allocations: 64.59 kB / 397.6 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.3439, allocations: 63.05 kB / 397.6 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.344, allocations: 12.78 kB / 397.6 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.256e-05/0.344, allocations: 16.89 kB / 397.7 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.814e-05/0.3441, allocations: 31.38 kB / 397.7 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.101e-05/0.3441, allocations: 72.48 kB / 397.8 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.3444, allocations: 170.8 kB / 397.9 MB, free: 7.207 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3444, allocations: 0 / 397.9 MB, free: 7.207 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3444, allocations: 0 / 397.9 MB, free: 7.207 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.3444, allocations: 0 / 397.9 MB, free: 7.207 MB / 318.1 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.0005982/0.345, allocations: 442.6 kB / 398.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3451, allocations: 11.92 kB / 398.4 MB, free: 6.789 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.3452, allocations: 18.77 kB / 398.4 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.3454, allocations: 211 kB / 398.6 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3454, allocations: 14.34 kB / 398.6 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.3454, allocations: 8.406 kB / 398.6 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.3457, allocations: 125.3 kB / 398.7 MB, free: 6.477 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3457, allocations: 1.344 kB / 398.7 MB, free: 6.477 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.3457, allocations: 5.281 kB / 398.7 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3457, allocations: 2.344 kB / 398.7 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.3459, allocations: 77.16 kB / 398.8 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000766/0.3467, allocations: 0.5992 MB / 399.4 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.347, allocations: 79.98 kB / 399.5 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.618e-05/0.3471, allocations: 29.19 kB / 399.5 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.3471, allocations: 4.906 kB / 399.5 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.3471, allocations: 35.72 kB / 399.6 MB, free: 5.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.3471, allocations: 0 / 399.6 MB, free: 5.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006985/0.3478, allocations: 253 kB / 399.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.3478, allocations: 65.39 kB / 399.9 MB, free: 5.574 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.3479, allocations: 146.5 kB / 400 MB, free: 5.457 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.348, allocations: 27.66 kB / 400 MB, free: 5.426 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/0.348, allocations: 124.4 kB / 400.2 MB, free: 5.312 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.348, allocations: 21.02 kB / 400.2 MB, free: 5.297 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/0.3481, allocations: 21.12 kB / 400.2 MB, free: 5.277 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.486e-05/0.3481, allocations: 319.9 kB / 400.5 MB, free: 4.961 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.65e-05/0.3482, allocations: 27.44 kB / 400.5 MB, free: 4.949 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.894e-05/0.3483, allocations: 46.69 kB / 400.6 MB, free: 4.914 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.3484, allocations: 65.09 kB / 400.7 MB, free: 4.871 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3484, allocations: 0 / 400.7 MB, free: 4.871 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002645/0.3486, allocations: 144.3 kB / 400.8 MB, free: 4.785 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3487, allocations: 9.969 kB / 400.8 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3487, allocations: 1.062 kB / 400.8 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000198/0.3489, allocations: 41.11 kB / 400.8 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.619e-05/0.3489, allocations: 13.47 kB / 400.9 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.3501, allocations: 1.688 MB / 402.5 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.919e-05/0.3502, allocations: 12.33 kB / 402.6 MB, free: 3.113 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.3502, allocations: 3.016 kB / 402.6 MB, free: 3.113 MB / 318.1 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.609e-05/0.3503, allocations: 124.8 kB / 402.7 MB, free: 2.988 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.3503, allocations: 15.36 kB / 402.7 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.04e-05/0.3504, allocations: 12.28 kB / 402.7 MB, free: 2.969 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.3504, allocations: 5.953 kB / 402.7 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.3504, allocations: 1.031 kB / 402.7 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3504, allocations: 0 / 402.7 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.3506, allocations: 206.7 kB / 402.9 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.3506, allocations: 1.938 kB / 402.9 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.618e-05/0.3506, allocations: 8.422 kB / 402.9 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001133/0.3507, allocations: 43.89 kB / 403 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.3507, allocations: 1.031 kB / 403 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009944/0.3517, allocations: 1.684 MB / 404.7 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3517, allocations: 1.688 kB / 404.7 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.352, allocations: 209.4 kB / 404.9 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.352, allocations: 96.72 kB / 405 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.352, allocations: 1.25 kB / 405 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.3521, allocations: 10.12 kB / 405 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.3522, allocations: 4.797 kB / 405 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.3522, allocations: 3.125 kB / 405 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.95e-05/0.3522, allocations: 111 kB / 405.1 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3522, allocations: 0 / 405.1 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003614/0.3526, allocations: 38.55 kB / 405.1 MB, free: 0.7188 MB / 318.1 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.0001085/0.3527, allocations: 97.75 kB / 405.2 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004035/0.3531, allocations: 205.1 kB / 405.4 MB, free: 488 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3531, allocations: 0 / 405.4 MB, free: 488 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.3533, allocations: 149.2 kB / 405.6 MB, free: 364 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.3536, allocations: 17.52 kB / 405.6 MB, free: 352 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00054/0.3541, allocations: 305.8 kB / 405.9 MB, free: 140 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.3545, allocations: 0.7056 MB / 406.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.64e-05/0.3546, allocations: 8.141 kB / 406.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.3546, allocations: 11.45 kB / 406.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3546, allocations: 0 / 406.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of Templates: time 0.005727/0.3603, allocations: 1.565 MB / 408.2 MB, free: 15.27 MB / 334.1 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.763071498833597]