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.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 3.2.3+maint.om/package.mo", uses=false) 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.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_3.2.3_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_3.2.3_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.001347/0.001347, allocations: 113.3 kB / 18.4 MB, free: 4.68 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.001346/0.001347, allocations: 189.2 kB / 19.33 MB, free: 3.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 55.94 kB / 329.2 MB, free: 3.355 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09331/0.09478, allocations: 46.62 MB / 375.8 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005941/0.1008, allocations: 3.482 MB / 379.3 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.1027, allocations: 0.9897 MB / 380.3 MB, free: 124 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003137/0.103, allocations: 8 kB / 380.3 MB, free: 116 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004099/0.1035, allocations: 107.1 kB / 380.4 MB, free: 8 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1666/0.2701, allocations: 174.9 kB / 380.6 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004971/0.2707, allocations: 122.5 kB / 380.7 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00108/0.2718, allocations: 0.6371 MB / 381.3 MB, free: 9.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003437/0.2721, allocations: 201.6 kB / 381.5 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003436/0.2725, allocations: 242.3 kB / 381.8 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003153/0.2728, allocations: 277.1 kB / 382 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.313e-05/0.2729, allocations: 52.81 kB / 382.1 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.273, allocations: 57.78 kB / 382.1 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.326e-05/0.2731, allocations: 115.5 kB / 382.2 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003151/0.2734, allocations: 297.7 kB / 382.5 MB, free: 9.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008216/0.2743, allocations: 0.6383 MB / 383.2 MB, free: 8.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2743, allocations: 0.5312 kB / 383.2 MB, free: 8.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2743, allocations: 0 / 383.2 MB, free: 8.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.2743, allocations: 0.5312 kB / 383.2 MB, free: 8.93 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.001372/0.2757, allocations: 0.8415 MB / 384 MB, free: 8.363 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.2757, allocations: 9.5 kB / 384 MB, free: 8.363 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.2759, allocations: 60.58 kB / 384.1 MB, free: 8.336 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005377/0.2764, allocations: 395.6 kB / 384.5 MB, free: 8.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.938e-05/0.2765, allocations: 58.53 kB / 384.5 MB, free: 8.039 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.711e-05/0.2766, allocations: 32.03 kB / 384.6 MB, free: 8.039 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006684/0.2772, allocations: 467.7 kB / 385 MB, free: 7.848 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.2773, allocations: 0 / 385 MB, free: 7.848 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.928e-05/0.2773, allocations: 15.41 kB / 385 MB, free: 7.848 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.2773, allocations: 8.031 kB / 385 MB, free: 7.848 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005698/0.2779, allocations: 279.9 kB / 385.3 MB, free: 7.844 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.001943/0.2799, allocations: 1.296 MB / 386.6 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.2809, allocations: 438 kB / 387 MB, free: 7.125 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.2812, allocations: 142.4 kB / 387.2 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.713e-05/0.2813, allocations: 8.609 kB / 387.2 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.2813, allocations: 38.16 kB / 387.2 MB, free: 7.023 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.673e-06/0.2813, allocations: 1.344 kB / 387.2 MB, free: 7.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001064/0.2824, allocations: 0.6005 MB / 387.8 MB, free: 6.637 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.108e-05/0.2825, allocations: 448.7 kB / 388.3 MB, free: 6.102 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004667/0.2829, allocations: 457.2 kB / 388.7 MB, free: 5.879 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.283, allocations: 33.44 kB / 388.7 MB, free: 5.844 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.2831, allocations: 230.5 kB / 389 MB, free: 5.656 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.741e-05/0.2832, allocations: 115.5 kB / 389.1 MB, free: 5.566 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.2833, allocations: 75.53 kB / 389.2 MB, free: 5.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.429e-05/0.2834, allocations: 356.6 kB / 389.5 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.2836, allocations: 104.1 kB / 389.6 MB, free: 5.152 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.284, allocations: 251.2 kB / 389.8 MB, free: 4.957 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004438/0.2844, allocations: 275.2 kB / 390.1 MB, free: 4.809 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2844, allocations: 2.25 kB / 390.1 MB, free: 4.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006771/0.2851, allocations: 426.7 kB / 390.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/0.2852, allocations: 31.78 kB / 390.6 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.2852, allocations: 1.156 kB / 390.6 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002/0.2854, allocations: 51.5 kB / 390.6 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003156/0.2857, allocations: 68.23 kB / 390.7 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.2875, allocations: 2.967 MB / 393.7 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004426/0.288, allocations: 48.16 kB / 393.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.288, allocations: 13.02 kB / 393.7 MB, free: 1.566 MB / 318.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.0001926/0.2882, allocations: 163.5 kB / 393.9 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.017e-05/0.2883, allocations: 49.69 kB / 393.9 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.603e-05/0.2884, allocations: 50.81 kB / 394 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2884, allocations: 4.891 kB / 394 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.2884, allocations: 4.688 kB / 394 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005404/0.289, allocations: 0.6548 MB / 394.6 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.2903, allocations: 0.8948 MB / 395.5 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2903, allocations: 0 / 395.5 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000337/0.2906, allocations: 74.69 kB / 395.6 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.2906, allocations: 6.156 kB / 395.6 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.2907, allocations: 7.547 kB / 395.6 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2907, allocations: 5.469 kB / 395.6 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2907, allocations: 0 / 395.6 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008185/0.2915, allocations: 0.5073 MB / 396.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/0.2917, allocations: 170.6 kB / 396.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.876e-05/0.2918, allocations: 14.5 kB / 396.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/0.2921, allocations: 13.19 kB / 396.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.2922, allocations: 26.77 kB / 396.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.2922, allocations: 9.938 kB / 396.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003705/0.2926, allocations: 321.1 kB / 396.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2926, allocations: 0 / 396.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004829/0.2931, allocations: 132.4 kB / 396.8 MB, free: 15.53 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.0001289/0.2932, allocations: 104.7 kB / 396.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009562/0.2942, allocations: 0.5655 MB / 397.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.2942, allocations: 1.5 kB / 397.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.2944, allocations: 126.8 kB / 397.6 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006417/0.2951, allocations: 127.8 kB / 397.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.2966, allocations: 0.9139 MB / 398.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.297, allocations: 0.8161 MB / 399.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.2971, allocations: 41.81 kB / 399.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2971, allocations: 0 / 399.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of Templates: time 0.01301/0.3101, allocations: 8.277 MB / 407.8 MB, free: 10.7 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (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) 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) Reference file matches