Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.002052/0.002052, allocations: 105.1 kB / 21.93 MB, free: 5.211 MB / 14.72 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.002378/0.002378, allocations: 197.6 kB / 25.22 MB, free: 3.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 207.7 MB / 236.1 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002704/0.002704, allocations: 55.92 kB / 348.4 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2651, allocations: 49.15 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004041/0.2692, allocations: 3.199 MB / 400.8 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.2707, allocations: 0.9408 MB / 401.7 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002181/0.271, allocations: 8.719 kB / 401.7 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003249/0.2713, allocations: 108.1 kB / 401.8 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003608/0.2717, allocations: 186.8 kB / 402 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.2719, allocations: 126.7 kB / 402.1 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006256/0.2726, allocations: 0.6329 MB / 402.8 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002257/0.2728, allocations: 127.4 kB / 402.9 MB, free: 5.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.273, allocations: 248.8 kB / 403.1 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003007/0.2733, allocations: 241 kB / 403.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.407e-05/0.2734, allocations: 52.59 kB / 403.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.2735, allocations: 53.53 kB / 403.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.657e-05/0.2736, allocations: 122.2 kB / 403.6 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002112/0.2738, allocations: 239.1 kB / 403.8 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006664/0.2745, allocations: 0.6516 MB / 404.5 MB, free: 5.234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2745, allocations: 1.859 kB / 404.5 MB, free: 5.234 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2745, allocations: 0 / 404.5 MB, free: 5.234 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.597e-06/0.2745, allocations: 0 / 404.5 MB, free: 5.234 MB / 318.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.001217/0.2757, allocations: 0.7821 MB / 405.3 MB, free: 4.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2758, allocations: 13.3 kB / 405.3 MB, free: 4.656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.2759, allocations: 66.39 kB / 405.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005604/0.2764, allocations: 336.2 kB / 405.7 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.2765, allocations: 120.8 kB / 405.8 MB, free: 4.262 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.688e-05/0.2766, allocations: 32.41 kB / 405.8 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007292/0.2773, allocations: 0.8315 MB / 406.7 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.2773, allocations: 3.984 kB / 406.7 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.91e-05/0.2774, allocations: 16.34 kB / 406.7 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.2774, allocations: 7.656 kB / 406.7 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005352/0.2779, allocations: 276.8 kB / 407 MB, free: 3.383 MB / 318.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.001802/0.2797, allocations: 0.9506 MB / 407.9 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.2808, allocations: 334.6 kB / 408.2 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.281, allocations: 134.2 kB / 408.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.2811, allocations: 5.984 kB / 408.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.2811, allocations: 47.09 kB / 408.4 MB, free: 2.582 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 2.084e-06/0.2811, allocations: 3.938 kB / 408.4 MB, free: 2.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001045/0.2821, allocations: 449.9 kB / 408.9 MB, free: 2.387 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.632e-05/0.2822, allocations: 448.8 kB / 409.3 MB, free: 1.852 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004061/0.2826, allocations: 399.3 kB / 409.7 MB, free: 1.652 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.2826, allocations: 36.8 kB / 409.7 MB, free: 1.613 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.2828, allocations: 241.3 kB / 410 MB, free: 1.414 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.241e-05/0.2828, allocations: 118.5 kB / 410.1 MB, free: 1.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.283, allocations: 75.62 kB / 410.2 MB, free: 1.273 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.14e-05/0.283, allocations: 357.2 kB / 410.5 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.2833, allocations: 132.2 kB / 410.6 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.2836, allocations: 0.6478 MB / 411.3 MB, free: 184 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000432/0.2841, allocations: 284.3 kB / 411.6 MB, free: 24 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2841, allocations: 0.75 kB / 411.6 MB, free: 24 kB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007978/0.2849, allocations: 437 kB / 412 MB, free: 15.78 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.2849, allocations: 31.94 kB / 412 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2849, allocations: 1.688 kB / 412 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001657/0.2851, allocations: 49.89 kB / 412.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/0.2854, allocations: 69.83 kB / 412.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00268/0.2881, allocations: 2.697 MB / 414.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004452/0.2885, allocations: 41.77 kB / 414.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.2886, allocations: 17.83 kB / 414.9 MB, free: 13.09 MB / 334.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.0002438/0.2888, allocations: 168.3 kB / 415.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.705e-05/0.2889, allocations: 50.84 kB / 415.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.665e-05/0.289, allocations: 48.56 kB / 415.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.289, allocations: 3.859 kB / 415.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.289, allocations: 0 / 415.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000777/0.2898, allocations: 0.6544 MB / 415.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.2911, allocations: 0.7464 MB / 416.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2911, allocations: 0 / 416.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003261/0.2914, allocations: 72.45 kB / 416.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.2914, allocations: 1.125 kB / 416.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.2914, allocations: 6.688 kB / 416.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.2914, allocations: 1.281 kB / 416.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2914, allocations: 3.938 kB / 416.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008361/0.2923, allocations: 0.5117 MB / 417.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/0.2925, allocations: 87.42 kB / 417.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.036e-05/0.2925, allocations: 12.39 kB / 417.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.2928, allocations: 15.84 kB / 417.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.56e-05/0.2928, allocations: 22.3 kB / 417.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.2929, allocations: 9.844 kB / 417.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000308/0.2932, allocations: 285.4 kB / 417.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2932, allocations: 2.219 kB / 417.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005022/0.2937, allocations: 138.9 kB / 417.7 MB, free: 11.07 MB / 334.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.0001223/0.2938, allocations: 103 kB / 417.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009733/0.2948, allocations: 0.5784 MB / 418.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2948, allocations: 1.062 kB / 418.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002456/0.295, allocations: 121 kB / 418.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005805/0.2956, allocations: 123.7 kB / 418.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.2972, allocations: 0.932 MB / 419.6 MB, free: 9.746 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.2974, allocations: 211.5 kB / 419.8 MB, free: 9.609 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.2976, allocations: 45.89 kB / 419.8 MB, free: 9.598 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2976, allocations: 0 / 419.8 MB, free: 9.598 MB / 334.1 MB Notification: Performance of Templates: time 0.01248/0.31, allocations: 8.261 MB / 428.1 MB, free: 3.551 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 8.058805129956454]