Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001434/0.001434, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002249/0.002249, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.483e-05, allocations: 2.312 kB / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005115/0.00514, allocations: 3.222 MB / 275.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.006794, allocations: 0.9384 MB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.00696, allocations: 7.938 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003302/0.00729, allocations: 107.1 kB / 276.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003952/0.007685, allocations: 198.2 kB / 276.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.007968, allocations: 127.7 kB / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007895/0.008757, allocations: 0.6572 MB / 277.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002583/0.009016, allocations: 127.4 kB / 277.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004558/0.009471, allocations: 375.1 kB / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003229/0.009794, allocations: 195.5 kB / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.177e-05/0.009886, allocations: 52 kB / 278.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.908e-05/0.009985, allocations: 56 kB / 278.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.01011, allocations: 119.6 kB / 278.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002685/0.01038, allocations: 211.5 kB / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007975/0.01118, allocations: 0.6659 MB / 279.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.01118, allocations: 0 / 279.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.01118, allocations: 0 / 279.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.01119, allocations: 0 / 279.3 MB, free: 10.78 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.00146/0.01265, allocations: 0.771 MB / 280.1 MB, free: 9.973 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.01269, allocations: 12.03 kB / 280.1 MB, free: 9.961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.01287, allocations: 96.5 kB / 280.2 MB, free: 9.867 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006312/0.01351, allocations: 348.4 kB / 280.5 MB, free: 9.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.01365, allocations: 106.3 kB / 280.6 MB, free: 9.379 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.768e-05/0.01374, allocations: 40.38 kB / 280.7 MB, free: 9.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.01479, allocations: 0.8233 MB / 281.5 MB, free: 8.367 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.01481, allocations: 192 / 281.5 MB, free: 8.367 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.785e-05/0.01486, allocations: 20.12 kB / 281.5 MB, free: 8.348 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.01487, allocations: 8 kB / 281.5 MB, free: 8.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008388/0.01571, allocations: 278.5 kB / 281.8 MB, free: 8.07 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.002083/0.01779, allocations: 0.9559 MB / 282.8 MB, free: 7.074 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.01897, allocations: 335.3 kB / 283.1 MB, free: 6.734 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002925/0.01926, allocations: 132.8 kB / 283.2 MB, free: 6.602 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.01929, allocations: 8 kB / 283.2 MB, free: 6.594 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.01933, allocations: 42.55 kB / 283.3 MB, free: 6.543 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.473e-06/0.01933, allocations: 0 / 283.3 MB, free: 6.543 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001216/0.02055, allocations: 464.3 kB / 283.7 MB, free: 6.078 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003131/0.02086, allocations: 444.9 kB / 284.2 MB, free: 5.539 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005202/0.02138, allocations: 413.6 kB / 284.6 MB, free: 5.129 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.53e-05/0.02143, allocations: 33.7 kB / 284.6 MB, free: 5.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.02164, allocations: 232.5 kB / 284.8 MB, free: 4.859 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.02177, allocations: 123 kB / 284.9 MB, free: 4.738 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.02192, allocations: 78.02 kB / 285 MB, free: 4.652 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.02213, allocations: 350.7 kB / 285.4 MB, free: 4.301 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.02241, allocations: 134.3 kB / 285.5 MB, free: 4.164 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007074/0.02312, allocations: 0.6546 MB / 286.1 MB, free: 3.363 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005626/0.02368, allocations: 281.2 kB / 286.4 MB, free: 3.078 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.02369, allocations: 0 / 286.4 MB, free: 3.078 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008602/0.02455, allocations: 454.3 kB / 286.9 MB, free: 2.609 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.211e-05/0.0246, allocations: 33.69 kB / 286.9 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.0246, allocations: 0 / 286.9 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001801/0.02478, allocations: 49.64 kB / 286.9 MB, free: 2.516 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/0.02513, allocations: 71.89 kB / 287 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003236/0.02836, allocations: 2.712 MB / 289.7 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003787/0.02874, allocations: 39.81 kB / 289.8 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.02877, allocations: 12 kB / 289.8 MB, free: 15.47 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.0002352/0.02901, allocations: 169.9 kB / 289.9 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.02912, allocations: 59.72 kB / 290 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.919e-05/0.02922, allocations: 48.36 kB / 290.1 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.02923, allocations: 4 kB / 290.1 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.02923, allocations: 0 / 290.1 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008559/0.03008, allocations: 0.6534 MB / 290.7 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.03149, allocations: 0.7513 MB / 291.5 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.03149, allocations: 0 / 291.5 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003666/0.03185, allocations: 67.91 kB / 291.5 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.03186, allocations: 0 / 291.5 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.03188, allocations: 7.984 kB / 291.5 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.03189, allocations: 4 kB / 291.5 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.03189, allocations: 0 / 291.5 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009681/0.03285, allocations: 0.5214 MB / 292.1 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/0.03304, allocations: 87.69 kB / 292.1 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.062e-05/0.0331, allocations: 8 kB / 292.2 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003199/0.03342, allocations: 19.98 kB / 292.2 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.03347, allocations: 15.97 kB / 292.2 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.0335, allocations: 12 kB / 292.2 MB, free: 12.88 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003557/0.03385, allocations: 283.2 kB / 292.5 MB, free: 12.61 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03385, allocations: 0 / 292.5 MB, free: 12.61 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004766/0.03433, allocations: 139.8 kB / 292.6 MB, free: 12.47 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.0001608/0.03449, allocations: 111.2 kB / 292.7 MB, free: 12.35 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.03554, allocations: 0.5836 MB / 293.3 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.03554, allocations: 0 / 293.3 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002635/0.0358, allocations: 115.8 kB / 293.4 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006727/0.03648, allocations: 137.4 kB / 293.6 MB, free: 11.48 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.03813, allocations: 0.8169 MB / 294.4 MB, free: 10.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.03839, allocations: 216.4 kB / 294.6 MB, free: 10.39 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002425/0.03864, allocations: 59.36 kB / 294.6 MB, free: 10.33 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.03875, allocations: 36.5 kB / 294.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of SimCode: time 8.21e-07/0.03875, allocations: 0 / 294.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of Templates: time 0.01666/0.05541, allocations: 8.37 MB / 303 MB, free: 2.152 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.476281545008533]