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.000815/0.000815, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0007729/0.0007729, allocations: 162 kB / 25.45 MB, free: 8.855 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.7889/0.7889, allocations: 158.6 MB / 187.2 MB, free: 3.012 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 2.455e-06/2.455e-06, allocations: 0 / 299.7 MB, free: 3.012 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.174e-05, allocations: 6.281 kB / 299.7 MB, free: 3.004 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.002681/0.002712, allocations: 2.058 MB / 301.8 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007339/0.003446, allocations: 483.6 kB / 302.2 MB, free: 456 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.489e-05/0.003531, allocations: 7.938 kB / 302.2 MB, free: 448 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.003635, allocations: 19.84 kB / 302.3 MB, free: 428 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.192e-05/0.003707, allocations: 47.52 kB / 302.3 MB, free: 380 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.003929, allocations: 43.88 kB / 302.4 MB, free: 336 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.004115, allocations: 171.1 kB / 302.5 MB, free: 164 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.004292, allocations: 33.67 kB / 302.6 MB, free: 128 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.00441, allocations: 87.78 kB / 302.6 MB, free: 40 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.135/0.1394, allocations: 43.42 kB / 302.7 MB, free: 13.84 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.478e-05/0.1395, allocations: 13.38 kB / 302.7 MB, free: 13.84 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.1396, allocations: 16.94 kB / 302.7 MB, free: 13.84 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.001e-05/0.1396, allocations: 30.89 kB / 302.7 MB, free: 13.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.968e-05/0.1397, allocations: 53.28 kB / 302.8 MB, free: 13.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.14, allocations: 164 kB / 303 MB, free: 13.83 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.14, allocations: 2.562 kB / 303 MB, free: 13.83 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.14, allocations: 4.797 kB / 303 MB, free: 13.83 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.14, allocations: 0 / 303 MB, free: 13.83 MB / 282.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.0005223/0.1405, allocations: 361.7 kB / 303.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1406, allocations: 14.48 kB / 303.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.098e-05/0.1406, allocations: 17.72 kB / 303.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.1409, allocations: 153.2 kB / 303.5 MB, free: 13.38 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1409, allocations: 10.23 kB / 303.5 MB, free: 13.38 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.1409, allocations: 11.69 kB / 303.5 MB, free: 13.38 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.1411, allocations: 139 kB / 303.7 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1412, allocations: 3.312 kB / 303.7 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1412, allocations: 8.438 kB / 303.7 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.1412, allocations: 6.156 kB / 303.7 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.1413, allocations: 82.45 kB / 303.7 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005417/0.1418, allocations: 442.4 kB / 304.2 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.1421, allocations: 79.53 kB / 304.3 MB, free: 13.01 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.943e-05/0.1421, allocations: 32.08 kB / 304.3 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.1421, allocations: 0.9688 kB / 304.3 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.1421, allocations: 35.81 kB / 304.3 MB, free: 12.96 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1421, allocations: 1.094 kB / 304.3 MB, free: 12.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004505/0.1426, allocations: 181.1 kB / 304.5 MB, free: 12.92 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/0.1426, allocations: 53.44 kB / 304.6 MB, free: 12.86 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.619e-05/0.1427, allocations: 146.4 kB / 304.7 MB, free: 12.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.086e-06/0.1427, allocations: 25.7 kB / 304.7 MB, free: 12.72 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.1428, allocations: 125.6 kB / 304.8 MB, free: 12.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.265e-05/0.1428, allocations: 26.94 kB / 304.9 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.1428, allocations: 21.64 kB / 304.9 MB, free: 12.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.296e-05/0.1428, allocations: 324.2 kB / 305.2 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.066e-05/0.1429, allocations: 21.45 kB / 305.2 MB, free: 12.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.628e-05/0.1429, allocations: 47.06 kB / 305.3 MB, free: 12.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.143, allocations: 67.33 kB / 305.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.143, allocations: 0.6562 kB / 305.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000182/0.1432, allocations: 139.1 kB / 305.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1432, allocations: 9.234 kB / 305.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1432, allocations: 9.219 kB / 305.5 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001515/0.1434, allocations: 39.25 kB / 305.5 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.995e-05/0.1434, allocations: 11.64 kB / 305.5 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009796/0.1444, allocations: 1.55 MB / 307.1 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.293e-05/0.1445, allocations: 12.22 kB / 307.1 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.1445, allocations: 3.109 kB / 307.1 MB, free: 10.82 MB / 282.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 6.185e-05/0.1445, allocations: 124.3 kB / 307.2 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.1445, allocations: 8.859 kB / 307.2 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.68e-05/0.1446, allocations: 16.23 kB / 307.3 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1446, allocations: 1.125 kB / 307.3 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.1446, allocations: 1.125 kB / 307.3 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1446, allocations: 4.5 kB / 307.3 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.1447, allocations: 145.5 kB / 307.4 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1447, allocations: 0 / 307.4 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.829e-05/0.1447, allocations: 4.984 kB / 307.4 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.801e-05/0.1448, allocations: 36.08 kB / 307.4 MB, free: 10.56 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1448, allocations: 7.625 kB / 307.5 MB, free: 10.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006732/0.1455, allocations: 1.549 MB / 309 MB, free: 9.199 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1455, allocations: 7.625 kB / 309 MB, free: 9.195 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.1456, allocations: 214 kB / 309.2 MB, free: 9.027 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.019e-05/0.1457, allocations: 8.672 kB / 309.2 MB, free: 9.023 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.094e-06/0.1457, allocations: 1.656 kB / 309.2 MB, free: 9.023 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.13e-05/0.1457, allocations: 6.078 kB / 309.2 MB, free: 9.023 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.1458, allocations: 13.83 kB / 309.2 MB, free: 9.016 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.1458, allocations: 1.859 kB / 309.3 MB, free: 9.016 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.189e-05/0.1458, allocations: 106.6 kB / 309.4 MB, free: 8.934 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1458, allocations: 5.312 kB / 309.4 MB, free: 8.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002477/0.1461, allocations: 42.61 kB / 309.4 MB, free: 8.918 MB / 282.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.104e-05/0.1461, allocations: 94.69 kB / 309.5 MB, free: 8.832 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002804/0.1464, allocations: 194.9 kB / 309.7 MB, free: 8.691 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1464, allocations: 0 / 309.7 MB, free: 8.691 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.607e-05/0.1465, allocations: 160.2 kB / 309.8 MB, free: 8.562 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.1467, allocations: 9.812 kB / 309.9 MB, free: 8.559 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000394/0.1471, allocations: 289.7 kB / 310.1 MB, free: 8.344 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.511e-05/0.1472, allocations: 101.1 kB / 310.2 MB, free: 8.258 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.1472, allocations: 12.05 kB / 310.2 MB, free: 8.25 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1472, allocations: 0.8438 kB / 310.2 MB, free: 8.25 MB / 282.7 MB Notification: Performance of Templates: time 0.003404/0.1506, allocations: 1.981 MB / 312.2 MB, free: 8.102 MB / 282.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.285241039469838]