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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 106.3 kB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009572/0.0009573, allocations: 47.91 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2808, allocations: 49.44 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004299/0.2851, allocations: 3.494 MB / 404.9 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.2867, allocations: 0.9423 MB / 405.8 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002311/0.2869, allocations: 11.94 kB / 405.9 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003056/0.2873, allocations: 103.1 kB / 406 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004194/0.2877, allocations: 194.4 kB / 406.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.288, allocations: 119.8 kB / 406.3 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006751/0.2887, allocations: 0.6413 MB / 406.9 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002815/0.2889, allocations: 192.2 kB / 407.1 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/0.2892, allocations: 247.1 kB / 407.3 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003402/0.2896, allocations: 270.9 kB / 407.6 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.181e-05/0.2897, allocations: 52 kB / 407.6 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.2898, allocations: 60 kB / 407.7 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.931e-05/0.2899, allocations: 111.5 kB / 407.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002704/0.2902, allocations: 294.6 kB / 408.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005837/0.2908, allocations: 0.6498 MB / 408.8 MB, free: 1.488 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.2908, allocations: 4 kB / 408.8 MB, free: 1.484 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2908, allocations: 0 / 408.8 MB, free: 1.484 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.677e-05/0.2908, allocations: 0 / 408.8 MB, free: 1.484 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.001324/0.2921, allocations: 0.835 MB / 409.6 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.2922, allocations: 8.031 kB / 409.6 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.2923, allocations: 64.22 kB / 409.7 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005135/0.2928, allocations: 398.6 kB / 410 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-05/0.2929, allocations: 62.92 kB / 410.1 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.298e-05/0.293, allocations: 28.38 kB / 410.1 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006976/0.2937, allocations: 465.1 kB / 410.6 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.2937, allocations: 0 / 410.6 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.832e-05/0.2938, allocations: 12 kB / 410.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.2938, allocations: 8 kB / 410.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006575/0.2944, allocations: 282.5 kB / 410.9 MB, free: 15.2 MB / 334.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.001986/0.2964, allocations: 1.29 MB / 412.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.2976, allocations: 444.4 kB / 412.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002752/0.2979, allocations: 145.6 kB / 412.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.2979, allocations: 4 kB / 412.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.298, allocations: 46.5 kB / 412.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.934e-06/0.298, allocations: 0 / 412.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.00115/0.2991, allocations: 0.5946 MB / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001677/0.2993, allocations: 449 kB / 413.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004966/0.2998, allocations: 457.9 kB / 414.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/0.2998, allocations: 33.7 kB / 414.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.3, allocations: 232.4 kB / 414.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.095e-05/0.3001, allocations: 114.4 kB / 414.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.3002, allocations: 74.03 kB / 414.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3004, allocations: 350.8 kB / 415.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.3006, allocations: 112.5 kB / 415.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.301, allocations: 256 kB / 415.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004914/0.3015, allocations: 285.1 kB / 415.7 MB, free: 9.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3015, allocations: 4 kB / 415.7 MB, free: 9.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007249/0.3022, allocations: 412.4 kB / 416.1 MB, free: 9.555 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.3023, allocations: 29.7 kB / 416.1 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3023, allocations: 0 / 416.1 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000159/0.3025, allocations: 61.66 kB / 416.2 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.3028, allocations: 67.91 kB / 416.3 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002382/0.3052, allocations: 2.964 MB / 419.2 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/0.3055, allocations: 43.72 kB / 419.3 MB, free: 6.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.3056, allocations: 12 kB / 419.3 MB, free: 6.086 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.0001887/0.3058, allocations: 161.8 kB / 419.4 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.612e-05/0.3059, allocations: 51.44 kB / 419.5 MB, free: 5.867 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.475e-05/0.306, allocations: 52.69 kB / 419.5 MB, free: 5.816 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006682/0.3066, allocations: 0.6492 MB / 420.2 MB, free: 5.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.3067, allocations: 96 / 420.2 MB, free: 5.062 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.3068, allocations: 172.2 kB / 420.4 MB, free: 4.875 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.894e-05/0.3069, allocations: 8 kB / 420.4 MB, free: 4.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003293/0.3073, allocations: 15.98 kB / 420.4 MB, free: 4.852 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.3073, allocations: 23.97 kB / 420.4 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007745/0.3081, allocations: 370.1 kB / 420.8 MB, free: 4.461 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008501/0.309, allocations: 0.6041 MB / 421.4 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002158/0.3092, allocations: 124 kB / 421.5 MB, free: 3.719 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003362/0.3095, allocations: 319.1 kB / 421.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of Backend: time 3.41e-07/0.3095, allocations: 0 / 421.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.3106, allocations: 0.5616 MB / 422.4 MB, free: 2.805 MB / 334.1 MB Notification: Performance of SimCode: time 0.001611/0.3122, allocations: 1.373 MB / 423.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of Templates: time 0.01376/0.326, allocations: 8.394 MB / 432.1 MB, free: 9.117 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches