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.0009403/0.0009403, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.000914/0.000914, allocations: 160.9 kB / 24.99 MB, free: 8.801 MB / 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 0.909/0.909, allocations: 177 MB / 205.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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.363e-06/1.363e-06, allocations: 0 / 273 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.297e-05/1.434e-05, allocations: 2.312 kB / 273 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003033/0.003047, allocations: 3.527 MB / 276.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.004286, allocations: 0.9617 MB / 277.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.004443, allocations: 4 kB / 277.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002473/0.004691, allocations: 111.1 kB / 277.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002923/0.004983, allocations: 198.2 kB / 277.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.005172, allocations: 127.7 kB / 277.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005445/0.005717, allocations: 0.6611 MB / 278.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.005893, allocations: 127.5 kB / 278.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.006158, allocations: 367.2 kB / 279 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.006357, allocations: 203.4 kB / 279.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.032e-05/0.006418, allocations: 56 kB / 279.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.22e-05/0.00647, allocations: 52 kB / 279.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.883e-05/0.006539, allocations: 127.5 kB / 279.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.006679, allocations: 203.5 kB / 279.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.007024, allocations: 430.5 kB / 280.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.007025, allocations: 3.938 kB / 280.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.007026, allocations: 4 kB / 280.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.007031, allocations: 0 / 280.1 MB, free: 10.61 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.001/0.008032, allocations: 0.8866 MB / 281 MB, free: 9.676 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.008065, allocations: 11.98 kB / 281 MB, free: 9.664 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.008178, allocations: 92.56 kB / 281.1 MB, free: 9.574 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.008551, allocations: 327.2 kB / 281.4 MB, free: 9.227 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.323e-05/0.008635, allocations: 110.3 kB / 281.5 MB, free: 9.102 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.875e-05/0.008683, allocations: 40.38 kB / 281.5 MB, free: 9.062 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005364/0.00922, allocations: 0.8045 MB / 282.4 MB, free: 8.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.009232, allocations: 192 / 282.4 MB, free: 8.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.00926, allocations: 20.12 kB / 282.4 MB, free: 8.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.00927, allocations: 8 kB / 282.4 MB, free: 8.062 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002522/0.009522, allocations: 159.8 kB / 282.5 MB, free: 7.906 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.01072, allocations: 0.9629 MB / 283.5 MB, free: 6.902 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008755/0.0116, allocations: 272.5 kB / 283.8 MB, free: 6.621 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.01172, allocations: 75.64 kB / 283.8 MB, free: 6.543 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.01174, allocations: 8 kB / 283.8 MB, free: 6.535 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.01177, allocations: 45.33 kB / 283.9 MB, free: 6.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.613e-06/0.01177, allocations: 0 / 283.9 MB, free: 6.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0005651/0.01234, allocations: 336.6 kB / 284.2 MB, free: 6.137 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.01245, allocations: 444.9 kB / 284.7 MB, free: 5.598 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.01276, allocations: 430.7 kB / 285.1 MB, free: 5.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.01278, allocations: 33.7 kB / 285.1 MB, free: 5.121 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.01292, allocations: 295.2 kB / 285.4 MB, free: 4.828 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.207e-05/0.01298, allocations: 123 kB / 285.5 MB, free: 4.707 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.26e-05/0.01306, allocations: 75.69 kB / 285.6 MB, free: 4.621 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.0132, allocations: 0.5352 MB / 286.1 MB, free: 4.074 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.01331, allocations: 78.33 kB / 286.2 MB, free: 3.992 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002964/0.01361, allocations: 0.6323 MB / 286.8 MB, free: 3.191 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.01384, allocations: 198.8 kB / 287 MB, free: 2.984 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01384, allocations: 4 kB / 287 MB, free: 2.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003679/0.01421, allocations: 352 kB / 287.4 MB, free: 2.609 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.01424, allocations: 33.7 kB / 287.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.01424, allocations: 0 / 287.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001211/0.01436, allocations: 47.36 kB / 287.5 MB, free: 2.516 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.01454, allocations: 63.89 kB / 287.5 MB, free: 2.453 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/0.01635, allocations: 3.577 MB / 291.1 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.01651, allocations: 35.78 kB / 291.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.01653, allocations: 15.98 kB / 291.1 MB, free: 14.57 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.0001173/0.01665, allocations: 188.5 kB / 291.3 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.764e-05/0.01671, allocations: 55.91 kB / 291.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.859e-05/0.01676, allocations: 52.36 kB / 291.4 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.01676, allocations: 4 kB / 291.4 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.01676, allocations: 0 / 291.4 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003204/0.01708, allocations: 0.5683 MB / 292 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006891/0.01777, allocations: 0.7273 MB / 292.7 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.01777, allocations: 4 kB / 292.7 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.01795, allocations: 67.91 kB / 292.8 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01795, allocations: 3.984 kB / 292.8 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.01797, allocations: 8 kB / 292.8 MB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.01797, allocations: 0 / 292.8 MB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01797, allocations: 0 / 292.8 MB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004891/0.01846, allocations: 444.9 kB / 293.3 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.01856, allocations: 79.61 kB / 293.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.0186, allocations: 11.98 kB / 293.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.01875, allocations: 16.03 kB / 293.4 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.01879, allocations: 23.95 kB / 293.4 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.0188, allocations: 4 kB / 293.4 MB, free: 12.15 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001871/0.01899, allocations: 287.1 kB / 293.7 MB, free: 11.87 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01899, allocations: 0 / 293.7 MB, free: 11.87 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002849/0.01927, allocations: 139.8 kB / 293.8 MB, free: 11.73 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 9.048e-05/0.01936, allocations: 111.2 kB / 293.9 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005557/0.01992, allocations: 0.6126 MB / 294.5 MB, free: 10.95 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.01992, allocations: 4 kB / 294.5 MB, free: 10.94 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.02003, allocations: 96.03 kB / 294.6 MB, free: 10.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.02042, allocations: 129.5 kB / 294.7 MB, free: 10.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.02167, allocations: 0.8038 MB / 295.6 MB, free: 9.883 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.423e-05/0.02173, allocations: 105.9 kB / 295.7 MB, free: 9.762 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001359/0.02187, allocations: 55.38 kB / 295.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.075e-05/0.02194, allocations: 40.5 kB / 295.7 MB, free: 9.668 MB / 282.7 MB Notification: Performance of SimCode: time 8.51e-07/0.02194, allocations: 0 / 295.7 MB, free: 9.668 MB / 282.7 MB Notification: Performance of Templates: time 0.009586/0.03153, allocations: 8.397 MB / 304.1 MB, free: 1.473 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.911187903955579]