Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.001652/0.001652, allocations: 84.69 kB / 21.43 MB, free: 296 kB / 14.72 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.001716/0.001716, allocations: 164 kB / 24.7 MB, free: 3.547 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.451/1.451, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.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.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.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 298.9 MB, free: 8.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.603e-05/3.755e-05, allocations: 10.16 kB / 298.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005902/0.00594, allocations: 3.182 MB / 302.1 MB, free: 5.527 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.00807, allocations: 0.9432 MB / 303.1 MB, free: 4.574 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004027/0.008472, allocations: 11.94 kB / 303.1 MB, free: 4.562 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004148/0.008887, allocations: 103.1 kB / 303.2 MB, free: 4.461 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006465/0.009534, allocations: 198.2 kB / 303.4 MB, free: 4.266 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004133/0.009947, allocations: 127.7 kB / 303.5 MB, free: 4.141 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001139/0.01109, allocations: 0.6689 MB / 304.2 MB, free: 3.469 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003064/0.01139, allocations: 127.5 kB / 304.3 MB, free: 3.344 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006008/0.01199, allocations: 371.2 kB / 304.7 MB, free: 2.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005376/0.01253, allocations: 199.5 kB / 304.8 MB, free: 2.785 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.0127, allocations: 52 kB / 304.9 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002396/0.01294, allocations: 56 kB / 305 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.01313, allocations: 115.6 kB / 305.1 MB, free: 2.566 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005703/0.0137, allocations: 211.5 kB / 305.3 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.01478, allocations: 0.662 MB / 305.9 MB, free: 1.695 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.01479, allocations: 4 kB / 305.9 MB, free: 1.691 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.01479, allocations: 7.938 kB / 305.9 MB, free: 1.684 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.01481, allocations: 0 / 305.9 MB, free: 1.684 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001515/0.01632, allocations: 0.7826 MB / 306.7 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.01637, allocations: 11.98 kB / 306.7 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.0165, allocations: 68.56 kB / 306.8 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006743/0.01718, allocations: 332.4 kB / 307.1 MB, free: 444 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/0.01733, allocations: 114.3 kB / 307.2 MB, free: 312 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.688e-05/0.01739, allocations: 28.38 kB / 307.3 MB, free: 284 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009959/0.01838, allocations: 0.8272 MB / 308.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.0184, allocations: 4.141 kB / 308.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.01845, allocations: 16.12 kB / 308.1 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.01846, allocations: 12 kB / 308.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006209/0.01908, allocations: 278.5 kB / 308.4 MB, free: 15 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002046/0.02113, allocations: 0.9481 MB / 309.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.0223, allocations: 335.4 kB / 309.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.02258, allocations: 124.8 kB / 309.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.481e-05/0.02265, allocations: 11.98 kB / 309.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.619e-05/0.0227, allocations: 38.56 kB / 309.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.804e-06/0.02271, allocations: 0 / 309.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001285/0.02399, allocations: 459.7 kB / 310.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003011/0.02429, allocations: 448.9 kB / 310.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005514/0.02484, allocations: 397.6 kB / 311.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.697e-05/0.02489, allocations: 33.7 kB / 311.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.02511, allocations: 240.5 kB / 311.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.02523, allocations: 111 kB / 311.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.02539, allocations: 78.02 kB / 311.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.02558, allocations: 354.7 kB / 311.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.02587, allocations: 130.3 kB / 312.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007318/0.0266, allocations: 0.6595 MB / 312.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006223/0.02722, allocations: 277.2 kB / 313 MB, free: 10.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.02723, allocations: 4 kB / 313 MB, free: 10.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009113/0.02814, allocations: 438.3 kB / 313.4 MB, free: 9.586 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.324e-05/0.02819, allocations: 44.12 kB / 313.5 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.0282, allocations: 32 / 313.5 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002047/0.02841, allocations: 61.62 kB / 313.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/0.02873, allocations: 59.95 kB / 313.6 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002991/0.03172, allocations: 2.7 MB / 316.3 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003777/0.0321, allocations: 31.88 kB / 316.3 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-05/0.03214, allocations: 16.22 kB / 316.3 MB, free: 6.457 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002793/0.03242, allocations: 174 kB / 316.5 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.802e-05/0.03252, allocations: 55.64 kB / 316.5 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.03263, allocations: 44.38 kB / 316.6 MB, free: 6.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.03263, allocations: 4 kB / 316.6 MB, free: 6.176 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.03264, allocations: 0 / 316.6 MB, free: 6.176 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007924/0.03343, allocations: 0.657 MB / 317.3 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.03481, allocations: 0.7435 MB / 318 MB, free: 4.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.03481, allocations: 0 / 318 MB, free: 4.625 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003599/0.03517, allocations: 71.89 kB / 318.1 MB, free: 4.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.03518, allocations: 4 kB / 318.1 MB, free: 4.551 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.0352, allocations: 8 kB / 318.1 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.03521, allocations: 4 kB / 318.1 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.03521, allocations: 4 kB / 318.1 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009659/0.03617, allocations: 0.5167 MB / 318.6 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.03637, allocations: 79.64 kB / 318.7 MB, free: 3.926 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.522e-05/0.03644, allocations: 11.98 kB / 318.7 MB, free: 3.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.03676, allocations: 12 kB / 318.7 MB, free: 3.902 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.03682, allocations: 23.95 kB / 318.7 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.03684, allocations: 8 kB / 318.7 MB, free: 3.871 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003655/0.03721, allocations: 283.2 kB / 319 MB, free: 3.598 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.03721, allocations: 4.062 kB / 319 MB, free: 3.594 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004846/0.03769, allocations: 143.7 kB / 319.2 MB, free: 3.453 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001398/0.03783, allocations: 103.5 kB / 319.3 MB, free: 3.344 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.03886, allocations: 0.5724 MB / 319.8 MB, free: 2.727 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.03887, allocations: 0 / 319.8 MB, free: 2.727 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.03913, allocations: 127.8 kB / 320 MB, free: 2.602 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000644/0.03978, allocations: 117.4 kB / 320.1 MB, free: 2.488 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.04145, allocations: 0.8199 MB / 320.9 MB, free: 1.641 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.04169, allocations: 216.1 kB / 321.1 MB, free: 1.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002172/0.04191, allocations: 55.38 kB / 321.2 MB, free: 1.355 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.04202, allocations: 40.48 kB / 321.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.04203, allocations: 0 / 321.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of Templates: time 0.1692/0.2112, allocations: 8.317 MB / 329.5 MB, free: 32.92 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.742221001535654]