Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 72.08 kB / 21.69 MB, free: 2.863 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 141.9 kB / 24.97 MB, free: 8.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9133/0.9133, allocations: 173.4 MB / 201.5 MB, free: 9.336 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 268 MB, free: 6.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.867e-05, allocations: 6.25 kB / 268.1 MB, free: 6.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003368/0.003387, allocations: 3.509 MB / 271.6 MB, free: 3.223 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.004609, allocations: 0.9344 MB / 272.5 MB, free: 2.281 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.004765, allocations: 7.938 kB / 272.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.005017, allocations: 107.1 kB / 272.6 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002681/0.005285, allocations: 198.3 kB / 272.8 MB, free: 1.973 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.005483, allocations: 127.7 kB / 272.9 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004693/0.005953, allocations: 0.6611 MB / 273.6 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.006131, allocations: 127.5 kB / 273.7 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002468/0.006378, allocations: 367.2 kB / 274.1 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.006576, allocations: 203.4 kB / 274.3 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.462e-05/0.00663, allocations: 52 kB / 274.3 MB, free: 452 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.225e-05/0.006683, allocations: 52 kB / 274.4 MB, free: 400 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.933e-05/0.006752, allocations: 127.6 kB / 274.5 MB, free: 272 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.006892, allocations: 207.6 kB / 274.7 MB, free: 64 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003582/0.00725, allocations: 434.3 kB / 275.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.007253, allocations: 0 / 275.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.007253, allocations: 0 / 275.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.007258, allocations: 4 kB / 275.1 MB, free: 15.63 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.000861/0.008119, allocations: 0.8866 MB / 276 MB, free: 14.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.008155, allocations: 8.922 kB / 276 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.008259, allocations: 88.61 kB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.008618, allocations: 331.2 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.742e-05/0.008706, allocations: 114.3 kB / 276.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.667e-05/0.008752, allocations: 36.38 kB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005158/0.009268, allocations: 0.7979 MB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.00928, allocations: 192 / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.009309, allocations: 20.12 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.009318, allocations: 8 kB / 277.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002466/0.009565, allocations: 151.8 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.01099, allocations: 0.9668 MB / 278.5 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005977/0.01159, allocations: 275.8 kB / 278.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.0117, allocations: 83.58 kB / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.01172, allocations: 8 kB / 278.9 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.01175, allocations: 41.39 kB / 278.9 MB, free: 11.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.403e-06/0.01175, allocations: 0 / 278.9 MB, free: 11.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0005558/0.0123, allocations: 328.7 kB / 279.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.01242, allocations: 452.9 kB / 279.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.01271, allocations: 434.6 kB / 280.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.01274, allocations: 33.7 kB / 280.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.01287, allocations: 291.2 kB / 280.4 MB, free: 9.855 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.018e-05/0.01293, allocations: 119 kB / 280.5 MB, free: 9.738 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-05/0.01301, allocations: 71.69 kB / 280.6 MB, free: 9.656 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.01315, allocations: 0.5352 MB / 281.1 MB, free: 9.109 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.01325, allocations: 78.33 kB / 281.2 MB, free: 9.027 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.01353, allocations: 0.6401 MB / 281.9 MB, free: 8.219 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.01375, allocations: 190.9 kB / 282.1 MB, free: 8.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.01375, allocations: 0 / 282.1 MB, free: 8.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000373/0.01412, allocations: 355.9 kB / 282.4 MB, free: 7.645 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.01415, allocations: 33.7 kB / 282.4 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.01415, allocations: 0 / 282.4 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001166/0.01427, allocations: 43.36 kB / 282.5 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.01444, allocations: 71.92 kB / 282.5 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/0.01624, allocations: 3.585 MB / 286.1 MB, free: 3.645 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.0164, allocations: 31.78 kB / 286.2 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.01642, allocations: 15.98 kB / 286.2 MB, free: 3.598 MB / 266.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.0001159/0.01654, allocations: 184.5 kB / 286.4 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.0166, allocations: 59.72 kB / 286.4 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.883e-05/0.01665, allocations: 44.38 kB / 286.5 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.01665, allocations: 4 kB / 286.5 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.01665, allocations: 0 / 286.5 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003246/0.01698, allocations: 0.5683 MB / 287 MB, free: 2.629 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006876/0.01766, allocations: 0.7312 MB / 287.8 MB, free: 1.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.01767, allocations: 0 / 287.8 MB, free: 1.852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.01785, allocations: 71.89 kB / 287.8 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01785, allocations: 0 / 287.8 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.01787, allocations: 8 kB / 287.8 MB, free: 1.773 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.01787, allocations: 0 / 287.8 MB, free: 1.773 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01787, allocations: 0 / 287.8 MB, free: 1.773 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.01825, allocations: 445 kB / 288.3 MB, free: 1.316 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.926e-05/0.01835, allocations: 75.61 kB / 288.3 MB, free: 1.242 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.01839, allocations: 19.92 kB / 288.4 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.01853, allocations: 12 kB / 288.4 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.01856, allocations: 19.95 kB / 288.4 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.01857, allocations: 8 kB / 288.4 MB, free: 1.184 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001832/0.01876, allocations: 287.1 kB / 288.7 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01876, allocations: 0 / 288.7 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000277/0.01903, allocations: 143.7 kB / 288.8 MB, free: 0.7617 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 8.335e-05/0.01912, allocations: 115.2 kB / 288.9 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004851/0.0196, allocations: 0.6048 MB / 289.5 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.0196, allocations: 4 kB / 289.5 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.01971, allocations: 96.03 kB / 289.6 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.02008, allocations: 129.6 kB / 289.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.02123, allocations: 0.8053 MB / 290.6 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.221e-05/0.02129, allocations: 109.9 kB / 290.7 MB, free: 14.8 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.02142, allocations: 55.38 kB / 290.7 MB, free: 14.74 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.678e-05/0.02149, allocations: 36.5 kB / 290.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02149, allocations: 0 / 290.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of Templates: time 0.009411/0.0309, allocations: 8.415 MB / 299.2 MB, free: 6.504 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.89231432788074]