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.001027/0.001027, allocations: 112.3 kB / 17.69 MB, free: 5.309 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.001127/0.001127, allocations: 192 kB / 18.63 MB, free: 4.375 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.332/1.332, allocations: 222.9 MB / 242.3 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000988/0.0009881, allocations: 48.25 kB / 302.1 MB, free: 5.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08286/0.08386, allocations: 49.45 MB / 351.5 MB, free: 3.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004166/0.08806, allocations: 3.485 MB / 355 MB, free: 260 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.08958, allocations: 0.9423 MB / 355.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002287/0.08983, allocations: 7.938 kB / 355.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.09016, allocations: 111.1 kB / 356 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003792/0.09057, allocations: 182.4 kB / 356.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.09085, allocations: 123.8 kB / 356.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006219/0.09149, allocations: 0.6418 MB / 357 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002827/0.09178, allocations: 194.8 kB / 357.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.09201, allocations: 239.1 kB / 357.4 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002979/0.09231, allocations: 278.9 kB / 357.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.536e-05/0.0924, allocations: 55.94 kB / 357.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.986e-05/0.09248, allocations: 52 kB / 357.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.248e-05/0.09258, allocations: 119.6 kB / 357.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.09284, allocations: 290.7 kB / 358.2 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005382/0.09338, allocations: 0.6384 MB / 358.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.09339, allocations: 0 / 358.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.0934, allocations: 0 / 358.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.09341, allocations: 0 / 358.8 MB, free: 12.39 MB / 302.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.001297/0.09472, allocations: 0.8545 MB / 359.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.09476, allocations: 8.031 kB / 359.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.09488, allocations: 60.28 kB / 359.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005721/0.09546, allocations: 394.6 kB / 360.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.09558, allocations: 58.92 kB / 360.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.09565, allocations: 36.36 kB / 360.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006678/0.09632, allocations: 457.1 kB / 360.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.09635, allocations: 4 kB / 360.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.593e-05/0.09639, allocations: 12 kB / 360.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.0964, allocations: 8 kB / 360.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005452/0.09695, allocations: 278.5 kB / 361 MB, free: 10.09 MB / 302.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.001968/0.09893, allocations: 1.306 MB / 362.3 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.1001, allocations: 428.5 kB / 362.7 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.1004, allocations: 141.3 kB / 362.8 MB, free: 8.105 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.1004, allocations: 4 kB / 362.8 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.1004, allocations: 46.5 kB / 362.9 MB, free: 8.047 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.663e-06/0.1005, allocations: 0 / 362.9 MB, free: 8.047 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001111/0.1016, allocations: 0.5985 MB / 363.5 MB, free: 7.398 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001764/0.1018, allocations: 441 kB / 363.9 MB, free: 6.863 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004829/0.1023, allocations: 461.8 kB / 364.4 MB, free: 6.395 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.697e-05/0.1023, allocations: 41.64 kB / 364.4 MB, free: 6.348 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.1025, allocations: 224.5 kB / 364.6 MB, free: 6.125 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.112e-05/0.1026, allocations: 122.3 kB / 364.7 MB, free: 6.004 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.1027, allocations: 74.02 kB / 364.8 MB, free: 5.922 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1028, allocations: 350.8 kB / 365.2 MB, free: 5.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.1031, allocations: 108.6 kB / 365.3 MB, free: 5.465 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.1034, allocations: 252.1 kB / 365.5 MB, free: 5.168 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004662/0.1039, allocations: 285.2 kB / 365.8 MB, free: 4.879 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1039, allocations: 0 / 365.8 MB, free: 4.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006929/0.1046, allocations: 408.4 kB / 366.2 MB, free: 4.461 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.1047, allocations: 37.64 kB / 366.2 MB, free: 4.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1047, allocations: 0 / 366.2 MB, free: 4.418 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001521/0.1048, allocations: 53.72 kB / 366.3 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/0.1052, allocations: 71.91 kB / 366.3 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002304/0.1075, allocations: 2.964 MB / 369.3 MB, free: 1.039 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.1079, allocations: 47.62 kB / 369.4 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.1079, allocations: 8 kB / 369.4 MB, free: 0.9844 MB / 302.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.0001904/0.1081, allocations: 169.8 kB / 369.5 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.973e-05/0.1082, allocations: 47.44 kB / 369.6 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.546e-05/0.1083, allocations: 52.69 kB / 369.6 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1083, allocations: 8 kB / 369.6 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.1083, allocations: 3.938 kB / 369.6 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1457/0.254, allocations: 0.6495 MB / 370.3 MB, free: 25.76 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.2554, allocations: 0.896 MB / 371.2 MB, free: 25.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2555, allocations: 5 kB / 371.2 MB, free: 25.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/0.2558, allocations: 68.2 kB / 371.3 MB, free: 25.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.2558, allocations: 1.688 kB / 371.3 MB, free: 25.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.2559, allocations: 9.281 kB / 371.3 MB, free: 25.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.2559, allocations: 0.9062 kB / 371.3 MB, free: 25.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2559, allocations: 0.5 kB / 371.3 MB, free: 25.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007619/0.2566, allocations: 0.5239 MB / 371.8 MB, free: 25.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.2568, allocations: 162.4 kB / 372 MB, free: 25.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.445e-05/0.2569, allocations: 13.86 kB / 372 MB, free: 25.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/0.2572, allocations: 14.64 kB / 372 MB, free: 25.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.2573, allocations: 20.34 kB / 372 MB, free: 25.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.2573, allocations: 6.203 kB / 372 MB, free: 25.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003381/0.2576, allocations: 323.3 kB / 372.3 MB, free: 25.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2576, allocations: 0.5312 kB / 372.3 MB, free: 25.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004428/0.2581, allocations: 130.2 kB / 372.4 MB, free: 25.11 MB / 302.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.0001132/0.2582, allocations: 107.6 kB / 372.6 MB, free: 25.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007756/0.259, allocations: 0.5676 MB / 373.1 MB, free: 24.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.259, allocations: 5.25 kB / 373.1 MB, free: 24.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.2593, allocations: 127.2 kB / 373.2 MB, free: 24.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006194/0.2599, allocations: 132.5 kB / 373.4 MB, free: 24.67 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.2612, allocations: 0.8799 MB / 374.3 MB, free: 24.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.2615, allocations: 0.8161 MB / 375.1 MB, free: 23.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002397/0.2618, allocations: 65.95 kB / 375.1 MB, free: 23.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.2619, allocations: 46.11 kB / 375.2 MB, free: 23.5 MB / 302.1 MB Notification: Performance of SimCode: time 6.32e-07/0.2619, allocations: 0 / 375.2 MB, free: 23.5 MB / 302.1 MB Notification: Performance of Templates: time 0.01337/0.2752, allocations: 8.11 MB / 383.3 MB, free: 21.55 MB / 302.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 -s gbode -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