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.001433/0.001433, allocations: 92.62 kB / 20.96 MB, free: 3.477 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.001463/0.001463, allocations: 153.4 kB / 24.26 MB, free: 184 kB / 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 1.445/1.445, allocations: 173.4 MB / 200.8 MB, free: 9.285 MB / 186.7 MB " [Timeout remaining time 178] 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.843e-06/1.843e-06, allocations: 0 / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.997e-05/3.181e-05, allocations: 2.312 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005217/0.005249, allocations: 3.199 MB / 270.5 MB, free: 3.492 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.00697, allocations: 0.9226 MB / 271.4 MB, free: 2.562 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.007143, allocations: 11.94 kB / 271.4 MB, free: 2.551 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003298/0.007473, allocations: 99.12 kB / 271.5 MB, free: 2.453 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000423/0.007896, allocations: 198.3 kB / 271.7 MB, free: 2.258 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.008185, allocations: 127.7 kB / 271.9 MB, free: 2.133 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008196/0.009004, allocations: 0.6606 MB / 272.5 MB, free: 1.473 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002557/0.00926, allocations: 127.5 kB / 272.6 MB, free: 1.34 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004513/0.009711, allocations: 367.2 kB / 273 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000325/0.01004, allocations: 203.4 kB / 273.2 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.866e-05/0.01012, allocations: 52 kB / 273.3 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-05/0.01022, allocations: 52 kB / 273.3 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.01036, allocations: 123.6 kB / 273.4 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000259/0.01062, allocations: 215.5 kB / 273.6 MB, free: 356 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008013/0.01142, allocations: 0.6543 MB / 274.3 MB, free: 15.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.01142, allocations: 4 kB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.01142, allocations: 0 / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.01143, allocations: 0 / 274.3 MB, free: 15.68 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.001529/0.01296, allocations: 0.7789 MB / 275.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.013, allocations: 8.922 kB / 275.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.01318, allocations: 88.61 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006446/0.01382, allocations: 340.4 kB / 275.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/0.01398, allocations: 110.3 kB / 275.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.487e-05/0.01406, allocations: 40.38 kB / 275.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.01517, allocations: 0.8349 MB / 276.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.01518, allocations: 192 / 276.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.217e-05/0.01524, allocations: 16.12 kB / 276.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.01525, allocations: 8 kB / 276.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006291/0.01588, allocations: 274.5 kB / 276.8 MB, free: 12.97 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.002346/0.01822, allocations: 0.9636 MB / 277.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.01942, allocations: 346.3 kB / 278.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/0.01971, allocations: 124.8 kB / 278.2 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.871e-05/0.01975, allocations: 12 kB / 278.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.0198, allocations: 42.55 kB / 278.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.362e-06/0.0198, allocations: 0 / 278.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001229/0.02103, allocations: 458.9 kB / 278.7 MB, free: 10.97 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003003/0.02133, allocations: 449 kB / 279.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005179/0.02184, allocations: 401.6 kB / 279.5 MB, free: 10.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.02189, allocations: 29.7 kB / 279.6 MB, free: 9.992 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.0221, allocations: 248.4 kB / 279.8 MB, free: 9.746 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.02222, allocations: 107 kB / 279.9 MB, free: 9.641 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.02237, allocations: 89.97 kB / 280 MB, free: 9.543 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.02257, allocations: 350.7 kB / 280.3 MB, free: 9.191 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.02285, allocations: 134.3 kB / 280.5 MB, free: 9.055 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000691/0.02354, allocations: 0.6555 MB / 281.1 MB, free: 8.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005557/0.0241, allocations: 277.3 kB / 281.4 MB, free: 7.969 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.0241, allocations: 0 / 281.4 MB, free: 7.969 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008411/0.02494, allocations: 450.3 kB / 281.8 MB, free: 7.504 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/0.02498, allocations: 33.7 kB / 281.9 MB, free: 7.465 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.02499, allocations: 0 / 281.9 MB, free: 7.465 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001812/0.02517, allocations: 53.69 kB / 281.9 MB, free: 7.406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/0.0255, allocations: 63.91 kB / 282 MB, free: 7.344 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003121/0.02862, allocations: 2.716 MB / 284.7 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.02896, allocations: 35.88 kB / 284.7 MB, free: 4.379 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.02899, allocations: 11.98 kB / 284.7 MB, free: 4.367 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.0002326/0.02922, allocations: 173.7 kB / 284.9 MB, free: 4.188 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.02933, allocations: 55.72 kB / 285 MB, free: 4.133 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.751e-05/0.02943, allocations: 48.38 kB / 285 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.02943, allocations: 8 kB / 285 MB, free: 4.078 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.02944, allocations: 0 / 285 MB, free: 4.078 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008266/0.03026, allocations: 0.6502 MB / 285.7 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.03162, allocations: 0.7551 MB / 286.4 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.03163, allocations: 0 / 286.4 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003689/0.032, allocations: 71.89 kB / 286.5 MB, free: 2.457 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.032, allocations: 4 kB / 286.5 MB, free: 2.453 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.03202, allocations: 8 kB / 286.5 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.03202, allocations: 0 / 286.5 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.03202, allocations: 0 / 286.5 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.03305, allocations: 0.5248 MB / 287 MB, free: 1.902 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.03322, allocations: 79.69 kB / 287.1 MB, free: 1.824 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.451e-05/0.03329, allocations: 12 kB / 287.1 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003051/0.03359, allocations: 15.98 kB / 287.1 MB, free: 1.797 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/0.03364, allocations: 20.02 kB / 287.2 MB, free: 1.777 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.03366, allocations: 12 kB / 287.2 MB, free: 1.766 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003594/0.03402, allocations: 283.2 kB / 287.5 MB, free: 1.488 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03402, allocations: 4 kB / 287.5 MB, free: 1.484 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004575/0.03448, allocations: 139.8 kB / 287.6 MB, free: 1.348 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 0.0001494/0.03463, allocations: 107.1 kB / 287.7 MB, free: 1.234 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.03566, allocations: 0.58 MB / 288.3 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.03567, allocations: 0 / 288.3 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002795/0.03595, allocations: 123.8 kB / 288.4 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006441/0.03659, allocations: 141.6 kB / 288.5 MB, free: 364 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.03817, allocations: 0.7937 MB / 289.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.03841, allocations: 216.4 kB / 289.5 MB, free: 15.3 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002111/0.03862, allocations: 59.31 kB / 289.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.03874, allocations: 44.44 kB / 289.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.03874, allocations: 0 / 289.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of Templates: time 0.01621/0.05495, allocations: 8.358 MB / 298 MB, free: 7.059 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.524709490942769]