Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001666/0.001666, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001758/0.001758, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.636e-05, allocations: 6.312 kB / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004866/0.004893, allocations: 3.21 MB / 275.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.006583, allocations: 0.9383 MB / 276.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.006736, allocations: 11.94 kB / 276.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003096/0.007045, allocations: 95.14 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004064/0.007452, allocations: 210.2 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.00772, allocations: 123.7 kB / 276.8 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007974/0.008517, allocations: 0.6609 MB / 277.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002532/0.00877, allocations: 131.5 kB / 277.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004457/0.009216, allocations: 371.2 kB / 277.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003278/0.009544, allocations: 203.5 kB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.068e-05/0.009635, allocations: 52 kB / 278.2 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.009736, allocations: 52 kB / 278.2 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.009859, allocations: 115.6 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002784/0.01014, allocations: 215.5 kB / 278.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000803/0.01094, allocations: 0.6581 MB / 279.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.01094, allocations: 0 / 279.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.01094, allocations: 4 kB / 279.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.01095, allocations: 0 / 279.2 MB, free: 10.77 MB / 266.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.001485/0.01244, allocations: 0.7749 MB / 280 MB, free: 9.957 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.01247, allocations: 19.91 kB / 280 MB, free: 9.938 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.01265, allocations: 92.56 kB / 280.1 MB, free: 9.848 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006311/0.01329, allocations: 340.4 kB / 280.4 MB, free: 9.488 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.01344, allocations: 114.3 kB / 280.5 MB, free: 9.359 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.076e-05/0.01352, allocations: 36.38 kB / 280.6 MB, free: 9.324 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.0146, allocations: 0.8272 MB / 281.4 MB, free: 8.348 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.01461, allocations: 192 / 281.4 MB, free: 8.348 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/0.01466, allocations: 20.12 kB / 281.4 MB, free: 8.328 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.01467, allocations: 8 kB / 281.4 MB, free: 8.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006265/0.0153, allocations: 274.4 kB / 281.7 MB, free: 8.055 MB / 266.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.002177/0.01747, allocations: 0.9598 MB / 282.7 MB, free: 7.055 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.01867, allocations: 335.4 kB / 283 MB, free: 6.715 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.01897, allocations: 132.8 kB / 283.1 MB, free: 6.582 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.01901, allocations: 4 kB / 283.1 MB, free: 6.578 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.01905, allocations: 46.55 kB / 283.2 MB, free: 6.523 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.613e-06/0.01905, allocations: 0 / 283.2 MB, free: 6.523 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001219/0.02027, allocations: 463.7 kB / 283.6 MB, free: 6.059 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002916/0.02056, allocations: 445 kB / 284 MB, free: 5.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005175/0.02108, allocations: 409.6 kB / 284.4 MB, free: 5.113 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.02112, allocations: 33.7 kB / 284.5 MB, free: 5.074 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.02134, allocations: 236.5 kB / 284.7 MB, free: 4.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.02146, allocations: 119 kB / 284.8 MB, free: 4.723 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.0216, allocations: 74.02 kB / 284.9 MB, free: 4.641 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002139/0.02181, allocations: 354.7 kB / 285.2 MB, free: 4.285 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.0221, allocations: 134.3 kB / 285.4 MB, free: 4.148 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006961/0.02279, allocations: 0.6556 MB / 286 MB, free: 3.344 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005605/0.02335, allocations: 281.2 kB / 286.3 MB, free: 3.059 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.02336, allocations: 4 kB / 286.3 MB, free: 3.055 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008584/0.02421, allocations: 450.3 kB / 286.8 MB, free: 2.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.127e-05/0.02426, allocations: 33.7 kB / 286.8 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.02426, allocations: 3.938 kB / 286.8 MB, free: 2.547 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/0.02444, allocations: 57.62 kB / 286.8 MB, free: 2.484 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.02479, allocations: 63.97 kB / 286.9 MB, free: 2.422 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003059/0.02785, allocations: 2.7 MB / 289.6 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003421/0.02819, allocations: 39.81 kB / 289.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.02822, allocations: 12 kB / 289.7 MB, free: 15.46 MB / 282.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.0002188/0.02844, allocations: 173.9 kB / 289.8 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.02855, allocations: 55.72 kB / 289.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.02866, allocations: 52.36 kB / 289.9 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.02867, allocations: 4 kB / 289.9 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.02867, allocations: 0 / 289.9 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008353/0.02951, allocations: 0.6497 MB / 290.6 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.03088, allocations: 0.7552 MB / 291.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.03089, allocations: 3.984 kB / 291.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003605/0.03125, allocations: 67.95 kB / 291.4 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.644e-06/0.03125, allocations: 0 / 291.4 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.03128, allocations: 15.94 kB / 291.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.03128, allocations: 0 / 291.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.03128, allocations: 0 / 291.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009565/0.03223, allocations: 0.5173 MB / 291.9 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.03242, allocations: 91.69 kB / 292 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.924e-05/0.03248, allocations: 8 kB / 292 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003132/0.03279, allocations: 15.98 kB / 292.1 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.03284, allocations: 15.97 kB / 292.1 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.03286, allocations: 11.98 kB / 292.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003548/0.03322, allocations: 283.2 kB / 292.4 MB, free: 12.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03322, allocations: 4 kB / 292.4 MB, free: 12.58 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004567/0.03368, allocations: 139.8 kB / 292.5 MB, free: 12.45 MB / 282.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.0001461/0.03382, allocations: 107.2 kB / 292.6 MB, free: 12.33 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.03484, allocations: 0.5717 MB / 293.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.03484, allocations: 4 kB / 293.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.03511, allocations: 123.8 kB / 293.3 MB, free: 11.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006243/0.03574, allocations: 129.4 kB / 293.4 MB, free: 11.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.03726, allocations: 0.8208 MB / 294.3 MB, free: 10.61 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.03752, allocations: 216.4 kB / 294.5 MB, free: 10.38 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002182/0.03774, allocations: 51.38 kB / 294.5 MB, free: 10.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.03786, allocations: 40.48 kB / 294.6 MB, free: 10.28 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.03786, allocations: 4 kB / 294.6 MB, free: 10.28 MB / 282.7 MB Notification: Performance of Templates: time 0.01589/0.05375, allocations: 8.357 MB / 302.9 MB, free: 2.121 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.552025894052349]