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.001567/0.001567, allocations: 92.33 kB / 21.73 MB, free: 2.68 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.001461/0.001461, allocations: 159.7 kB / 25.02 MB, free: 9.438 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.595/1.595, allocations: 158.6 MB / 186.8 MB, free: 2.898 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.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.473e-06/1.473e-06, allocations: 0 / 250.3 MB, free: 3.965 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.043e-05/3.19e-05, allocations: 5.406 kB / 250.3 MB, free: 3.961 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005506/0.005538, allocations: 3.209 MB / 253.5 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.007528, allocations: 0.9471 MB / 254.5 MB, free: 15.77 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002084/0.007737, allocations: 7.938 kB / 254.5 MB, free: 15.77 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003479/0.008084, allocations: 107.1 kB / 254.6 MB, free: 15.66 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004359/0.00852, allocations: 198.2 kB / 254.8 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.008833, allocations: 123.8 kB / 254.9 MB, free: 15.34 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009039/0.009736, allocations: 0.6572 MB / 255.6 MB, free: 14.68 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002923/0.01003, allocations: 123.4 kB / 255.7 MB, free: 14.55 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005099/0.01054, allocations: 375.1 kB / 256.1 MB, free: 14.19 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003454/0.01088, allocations: 195.5 kB / 256.3 MB, free: 14 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.4e-05/0.01098, allocations: 52 kB / 256.3 MB, free: 13.95 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.01108, allocations: 60 kB / 256.4 MB, free: 13.89 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.01121, allocations: 123.6 kB / 256.5 MB, free: 13.77 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.01148, allocations: 207.5 kB / 256.7 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008299/0.01231, allocations: 0.662 MB / 257.4 MB, free: 12.9 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.01232, allocations: 0 / 257.4 MB, free: 12.9 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01232, allocations: 0 / 257.4 MB, free: 12.9 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.01233, allocations: 0 / 257.4 MB, free: 12.9 MB / 250.7 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.001519/0.01385, allocations: 0.775 MB / 258.1 MB, free: 12.09 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.01389, allocations: 11.98 kB / 258.1 MB, free: 12.07 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.01407, allocations: 96.5 kB / 258.2 MB, free: 11.98 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008965/0.01497, allocations: 340.4 kB / 258.6 MB, free: 11.62 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.01512, allocations: 110.3 kB / 258.7 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.118e-05/0.0152, allocations: 44.38 kB / 258.7 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.0163, allocations: 0.8272 MB / 259.5 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.01632, allocations: 192 / 259.5 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.067e-05/0.01637, allocations: 20.12 kB / 259.6 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.01638, allocations: 8 kB / 259.6 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006474/0.01703, allocations: 278.5 kB / 259.8 MB, free: 10.18 MB / 250.7 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.00221/0.01924, allocations: 0.9636 MB / 260.8 MB, free: 9.18 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.02048, allocations: 345.9 kB / 261.1 MB, free: 8.836 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.02077, allocations: 128.8 kB / 261.3 MB, free: 8.707 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.716e-05/0.02081, allocations: 8 kB / 261.3 MB, free: 8.699 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.02085, allocations: 46.55 kB / 261.3 MB, free: 8.645 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.02086, allocations: 0 / 261.3 MB, free: 8.645 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.001244/0.0221, allocations: 459.7 kB / 261.8 MB, free: 8.184 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003538/0.02245, allocations: 445 kB / 262.2 MB, free: 7.645 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000544/0.023, allocations: 401.6 kB / 262.6 MB, free: 7.246 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.02305, allocations: 33.7 kB / 262.6 MB, free: 7.207 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.02329, allocations: 244.4 kB / 262.9 MB, free: 6.961 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.02344, allocations: 119 kB / 263 MB, free: 6.844 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.0236, allocations: 74.02 kB / 263.1 MB, free: 6.762 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002383/0.02383, allocations: 354.7 kB / 263.4 MB, free: 6.406 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/0.02413, allocations: 130.3 kB / 263.5 MB, free: 6.273 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000733/0.02487, allocations: 0.6517 MB / 264.2 MB, free: 5.473 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005675/0.02543, allocations: 277.2 kB / 264.5 MB, free: 5.191 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.02544, allocations: 4 kB / 264.5 MB, free: 5.188 MB / 250.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009117/0.02635, allocations: 458.3 kB / 264.9 MB, free: 4.715 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.293e-05/0.02639, allocations: 29.7 kB / 264.9 MB, free: 4.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.984e-06/0.0264, allocations: 0 / 264.9 MB, free: 4.68 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001934/0.02659, allocations: 53.62 kB / 265 MB, free: 4.621 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/0.02694, allocations: 67.91 kB / 265.1 MB, free: 4.555 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003319/0.03026, allocations: 2.712 MB / 267.8 MB, free: 1.637 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003815/0.03064, allocations: 39.81 kB / 267.8 MB, free: 1.598 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-05/0.03067, allocations: 15.98 kB / 267.8 MB, free: 1.582 MB / 250.7 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.0002448/0.03092, allocations: 169.8 kB / 268 MB, free: 1.406 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.03103, allocations: 55.72 kB / 268 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.03113, allocations: 48.38 kB / 268.1 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.03114, allocations: 4 kB / 268.1 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.03114, allocations: 0 / 268.1 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000868/0.03201, allocations: 0.6534 MB / 268.7 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.03344, allocations: 0.7473 MB / 269.5 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.03344, allocations: 4 kB / 269.5 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003721/0.03381, allocations: 67.89 kB / 269.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.03382, allocations: 4 kB / 269.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.03384, allocations: 4 kB / 269.6 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.03385, allocations: 4 kB / 269.6 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.03385, allocations: 0 / 269.6 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.03486, allocations: 0.5323 MB / 270.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.03505, allocations: 79.64 kB / 270.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.124e-05/0.03511, allocations: 12.06 kB / 270.2 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/0.03543, allocations: 19.98 kB / 270.2 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.03549, allocations: 23.95 kB / 270.2 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.03551, allocations: 8 kB / 270.2 MB, free: 14.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000364/0.03588, allocations: 283.2 kB / 270.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03588, allocations: 0 / 270.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004915/0.03637, allocations: 135.8 kB / 270.7 MB, free: 14.58 MB / 266.7 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.0001493/0.03652, allocations: 103.2 kB / 270.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.0376, allocations: 0.5784 MB / 271.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.03761, allocations: 4 kB / 271.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000268/0.03788, allocations: 115.8 kB / 271.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006686/0.03854, allocations: 133.5 kB / 271.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.04039, allocations: 0.8208 MB / 272.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.04064, allocations: 220.4 kB / 272.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002214/0.04086, allocations: 51.38 kB / 272.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.04097, allocations: 36.5 kB / 272.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.04097, allocations: 0 / 272.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of Templates: time 0.0168/0.05778, allocations: 8.358 MB / 281.1 MB, free: 4.082 MB / 266.7 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.664850082946941]