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.002177/0.002177, allocations: 109.4 kB / 18.4 MB, free: 4.66 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.002528/0.002528, allocations: 189.2 kB / 19.33 MB, free: 3.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.388/3.388, allocations: 205.1 MB / 225.2 MB, free: 12.2 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.001432/0.001432, allocations: 52.3 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1263, allocations: 46.61 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.006285/0.1326, allocations: 3.482 MB / 379.3 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003003/0.1357, allocations: 0.9974 MB / 380.3 MB, free: 80 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006867/0.1364, allocations: 4 kB / 380.3 MB, free: 76 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3409/0.4774, allocations: 100.7 kB / 380.4 MB, free: 9.754 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.479, allocations: 180.9 kB / 380.6 MB, free: 9.754 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006224/0.4796, allocations: 128.2 kB / 380.7 MB, free: 9.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001337/0.481, allocations: 0.633 MB / 381.3 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00056/0.4815, allocations: 201.8 kB / 381.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004838/0.482, allocations: 238.5 kB / 381.7 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005718/0.4826, allocations: 278.4 kB / 382 MB, free: 9.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.4828, allocations: 55.09 kB / 382.1 MB, free: 9.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.483, allocations: 58 kB / 382.1 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001968/0.4832, allocations: 115.6 kB / 382.2 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005833/0.4838, allocations: 290.9 kB / 382.5 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.4853, allocations: 0.6432 MB / 383.2 MB, free: 9.383 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.497e-06/0.4853, allocations: 0.5312 kB / 383.2 MB, free: 9.383 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.18e-06/0.4853, allocations: 0 / 383.2 MB, free: 9.383 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.4854, allocations: 4.438 kB / 383.2 MB, free: 9.379 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.00212/0.4875, allocations: 0.84 MB / 384 MB, free: 8.812 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.965e-05/0.4876, allocations: 13.19 kB / 384 MB, free: 8.812 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.4878, allocations: 60.25 kB / 384.1 MB, free: 8.785 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008679/0.4887, allocations: 395 kB / 384.5 MB, free: 8.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.4888, allocations: 58.56 kB / 384.5 MB, free: 8.488 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.581e-05/0.4889, allocations: 31.38 kB / 384.6 MB, free: 8.488 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.4901, allocations: 465.2 kB / 385 MB, free: 8.301 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.4901, allocations: 2.203 kB / 385 MB, free: 8.301 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.838e-05/0.4902, allocations: 14.09 kB / 385 MB, free: 8.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.4902, allocations: 7.812 kB / 385 MB, free: 8.301 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008784/0.4911, allocations: 282.3 kB / 385.3 MB, free: 8.293 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.003087/0.4942, allocations: 1.292 MB / 386.6 MB, free: 7.496 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.4958, allocations: 428.6 kB / 387 MB, free: 7.277 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003894/0.4962, allocations: 146.2 kB / 387.2 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.806e-05/0.4962, allocations: 12.66 kB / 387.2 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.4963, allocations: 41.78 kB / 387.2 MB, free: 7.164 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.894e-06/0.4963, allocations: 0 / 387.2 MB, free: 7.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001678/0.498, allocations: 0.595 MB / 387.8 MB, free: 6.785 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001983/0.4982, allocations: 448.6 kB / 388.3 MB, free: 6.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008561/0.4991, allocations: 460.1 kB / 388.7 MB, free: 6.023 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.692e-05/0.4991, allocations: 33.17 kB / 388.7 MB, free: 5.988 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/0.4994, allocations: 234.2 kB / 389 MB, free: 5.797 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.4995, allocations: 110.4 kB / 389.1 MB, free: 5.711 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.4997, allocations: 72.28 kB / 389.1 MB, free: 5.668 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4998, allocations: 355.2 kB / 389.5 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/0.5002, allocations: 113.5 kB / 389.6 MB, free: 5.293 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005024/0.5007, allocations: 252.4 kB / 389.8 MB, free: 5.098 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006917/0.5014, allocations: 274.5 kB / 390.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.5014, allocations: 1.844 kB / 390.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001041/0.5025, allocations: 419.1 kB / 390.5 MB, free: 4.734 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.856e-05/0.5025, allocations: 32.88 kB / 390.6 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.5025, allocations: 7.969 kB / 390.6 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002323/0.5028, allocations: 52.91 kB / 390.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004661/0.5033, allocations: 65.25 kB / 390.7 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002591/0.5059, allocations: 2.968 MB / 393.6 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005455/0.5064, allocations: 48.44 kB / 393.7 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/0.5065, allocations: 8.75 kB / 393.7 MB, free: 1.715 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.000244/0.5067, allocations: 172.1 kB / 393.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.5069, allocations: 49.22 kB / 393.9 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.507, allocations: 51.17 kB / 394 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.507, allocations: 5.156 kB / 394 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.507, allocations: 7.875 kB / 394 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008167/0.5079, allocations: 0.6467 MB / 394.6 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.5098, allocations: 0.9034 MB / 395.5 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5098, allocations: 0 / 395.5 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005071/0.5103, allocations: 73.25 kB / 395.6 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.311e-06/0.5103, allocations: 5.062 kB / 395.6 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/0.5104, allocations: 7.359 kB / 395.6 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.5104, allocations: 2.047 kB / 395.6 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5104, allocations: 0 / 395.6 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.5116, allocations: 0.5104 MB / 396.1 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/0.5119, allocations: 170.1 kB / 396.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.5121, allocations: 7.094 kB / 396.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004736/0.5125, allocations: 16.05 kB / 396.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/0.5126, allocations: 21.3 kB / 396.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.5127, allocations: 9.062 kB / 396.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006152/0.5133, allocations: 319.2 kB / 396.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5133, allocations: 0 / 396.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007201/0.514, allocations: 136.3 kB / 396.8 MB, free: 15.68 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.0001855/0.5142, allocations: 108.3 kB / 396.9 MB, free: 15.58 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.5155, allocations: 0.5604 MB / 397.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.5156, allocations: 5.156 kB / 397.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003911/0.516, allocations: 135.7 kB / 397.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.517, allocations: 134.9 kB / 397.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.5197, allocations: 0.9093 MB / 398.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006629/0.5204, allocations: 0.8227 MB / 399.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.5206, allocations: 46.58 kB / 399.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of SimCode: time 3.9e-07/0.5206, allocations: 0 / 399.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of Templates: time 0.03469/0.5553, allocations: 8.337 MB / 407.8 MB, free: 10.73 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