Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 112.6 kB / 18.78 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001309/0.001309, allocations: 215.9 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.49/1.49, allocations: 230.4 MB / 251.1 MB, free: 8.438 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 79.8 kB / 368.9 MB, free: 6.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2355, allocations: 53.31 MB / 422.3 MB, free: 7.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005147/0.2406, allocations: 3.522 MB / 425.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.2426, allocations: 0.9774 MB / 426.8 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003302/0.2429, allocations: 7.938 kB / 426.8 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003699/0.2433, allocations: 111.1 kB / 426.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004919/0.2438, allocations: 190.4 kB / 427.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.2441, allocations: 127.8 kB / 427.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008409/0.245, allocations: 0.633 MB / 427.8 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002586/0.2452, allocations: 130.9 kB / 427.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002797/0.2455, allocations: 247.1 kB / 428.2 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003833/0.2459, allocations: 270.8 kB / 428.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.584e-05/0.246, allocations: 56 kB / 428.5 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.446e-05/0.2461, allocations: 52 kB / 428.6 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.2462, allocations: 123.5 kB / 428.7 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003053/0.2465, allocations: 286.7 kB / 429 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007608/0.2473, allocations: 0.6492 MB / 429.6 MB, free: 488 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.2473, allocations: 3.984 kB / 429.6 MB, free: 484 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2473, allocations: 4 kB / 429.6 MB, free: 480 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.2473, allocations: 0 / 429.6 MB, free: 480 kB / 334.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.001519/0.2488, allocations: 0.857 MB / 430.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.2488, allocations: 12.03 kB / 430.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.249, allocations: 64.56 kB / 430.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006602/0.2496, allocations: 395 kB / 430.9 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.2497, allocations: 58.91 kB / 431 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.697e-05/0.2498, allocations: 32.38 kB / 431 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008356/0.2506, allocations: 469.1 kB / 431.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.2506, allocations: 4 kB / 431.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.2507, allocations: 12 kB / 431.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.2507, allocations: 8 kB / 431.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006116/0.2513, allocations: 278.5 kB / 431.8 MB, free: 14.16 MB / 350.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.002223/0.2535, allocations: 1.295 MB / 433.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.2547, allocations: 416.5 kB / 433.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/0.255, allocations: 128.8 kB / 433.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.367e-05/0.2551, allocations: 4 kB / 433.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/0.2551, allocations: 46.48 kB / 433.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.723e-06/0.2551, allocations: 0 / 433.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001244/0.2563, allocations: 0.6032 MB / 434.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002632/0.2566, allocations: 444.9 kB / 434.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005789/0.2572, allocations: 457.9 kB / 435.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.245e-05/0.2572, allocations: 33.7 kB / 435.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.2574, allocations: 236.7 kB / 435.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.2575, allocations: 119 kB / 435.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.2577, allocations: 77.97 kB / 435.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.2579, allocations: 358.8 kB / 435.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/0.2581, allocations: 104.6 kB / 436 MB, free: 9.562 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003981/0.2585, allocations: 248.2 kB / 436.3 MB, free: 9.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005326/0.2591, allocations: 285.1 kB / 436.6 MB, free: 8.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2591, allocations: 0 / 436.6 MB, free: 8.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007873/0.2599, allocations: 412.7 kB / 437 MB, free: 8.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/0.2599, allocations: 33.69 kB / 437 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2599, allocations: 4 kB / 437 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001688/0.2601, allocations: 53.64 kB / 437.1 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/0.2604, allocations: 67.89 kB / 437.1 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002872/0.2633, allocations: 2.966 MB / 440.1 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003887/0.2637, allocations: 51.8 kB / 440.1 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.2637, allocations: 8 kB / 440.1 MB, free: 5.082 MB / 350.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.0002277/0.2639, allocations: 165.8 kB / 440.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.264, allocations: 51.67 kB / 440.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.2641, allocations: 52.69 kB / 440.4 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.2641, allocations: 4 kB / 440.4 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.2641, allocations: 3.938 kB / 440.4 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007776/0.2649, allocations: 0.6492 MB / 441.1 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.2663, allocations: 0.9012 MB / 442 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.2664, allocations: 3.938 kB / 442 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000372/0.2667, allocations: 63.97 kB / 442 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.2667, allocations: 7.984 kB / 442 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.2668, allocations: 15.86 kB / 442.1 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.2668, allocations: 12 kB / 442.1 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2668, allocations: 0 / 442.1 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008933/0.2677, allocations: 0.5127 MB / 442.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002059/0.2679, allocations: 164.7 kB / 442.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-05/0.2679, allocations: 8 kB / 442.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/0.2682, allocations: 15.98 kB / 442.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.2683, allocations: 24.03 kB / 442.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.2683, allocations: 8 kB / 442.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003938/0.2687, allocations: 319.1 kB / 443.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2687, allocations: 0 / 443.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004523/0.2692, allocations: 131.9 kB / 443.2 MB, free: 1.785 MB / 350.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.0001365/0.2693, allocations: 111.2 kB / 443.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009768/0.2703, allocations: 0.5515 MB / 443.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.2703, allocations: 4 kB / 443.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002597/0.2705, allocations: 123.8 kB / 444 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006399/0.2712, allocations: 129.8 kB / 444.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.2728, allocations: 0.898 MB / 445 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.2732, allocations: 0.8159 MB / 445.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002237/0.2735, allocations: 60.36 kB / 445.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.2736, allocations: 43.42 kB / 446 MB, free: 14.95 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2736, allocations: 0 / 446 MB, free: 14.95 MB / 366.1 MB Notification: Performance of Templates: time 0.01563/0.2892, allocations: 8.324 MB / 454.3 MB, free: 6.77 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches