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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001509/0.001509, allocations: 183.2 kB / 18.04 MB, free: 3.781 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.4 MB / 224.2 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009292/0.0009293, allocations: 88 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003389, allocations: 12 kB / 329.4 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2713, allocations: 47.58 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1068/0.3782, allocations: 81.04 MB / 458.1 MB, free: 15.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/0.3786, allocations: 67.97 kB / 458.1 MB, free: 15.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03935/0.418, allocations: 9.559 MB / 467.7 MB, free: 5.809 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.137e-06/0.418, allocations: 0 / 467.7 MB, free: 5.809 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.335e-05/0.4181, allocations: 11.98 kB / 467.7 MB, free: 5.797 MB / 346.7 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.002065/0.4202, allocations: 0.7572 MB / 468.5 MB, free: 4.977 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.619e-05/0.4203, allocations: 8.031 kB / 468.5 MB, free: 4.969 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002488/0.4205, allocations: 60.28 kB / 468.5 MB, free: 4.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009278/0.4215, allocations: 390.6 kB / 468.9 MB, free: 4.488 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.4216, allocations: 58.91 kB / 469 MB, free: 4.426 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.4217, allocations: 36.38 kB / 469 MB, free: 4.391 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.4229, allocations: 465.1 kB / 469.4 MB, free: 3.887 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.4229, allocations: 3.938 kB / 469.5 MB, free: 3.883 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.098e-05/0.423, allocations: 16 kB / 469.5 MB, free: 3.867 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.423, allocations: 12 kB / 469.5 MB, free: 3.855 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009532/0.424, allocations: 286.5 kB / 469.8 MB, free: 3.574 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003362/0.4274, allocations: 1.257 MB / 471 MB, free: 2.238 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.4289, allocations: 429.3 kB / 471.4 MB, free: 1.793 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004274/0.4294, allocations: 149.3 kB / 471.6 MB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.839e-05/0.4295, allocations: 4.281 kB / 471.6 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.4295, allocations: 38.84 kB / 471.6 MB, free: 1.594 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 3.116e-06/0.4295, allocations: 4 kB / 471.6 MB, free: 1.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.001854/0.4314, allocations: 0.6234 MB / 472.3 MB, free: 0.918 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002664/0.4317, allocations: 456.9 kB / 472.7 MB, free: 376 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009217/0.4326, allocations: 445.9 kB / 473.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.639e-05/0.4327, allocations: 33.7 kB / 473.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.433, allocations: 236.5 kB / 473.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.4331, allocations: 114.3 kB / 473.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.4332, allocations: 4 kB / 473.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.4334, allocations: 362.7 kB / 473.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003928/0.4338, allocations: 116 kB / 474 MB, free: 15.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005601/0.4344, allocations: 254.4 kB / 474.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000876/0.4353, allocations: 293.2 kB / 474.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.4353, allocations: 0 / 474.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001288/0.4366, allocations: 441.9 kB / 474.9 MB, free: 14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.893e-05/0.4367, allocations: 33.64 kB / 475 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.4367, allocations: 96 / 475 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002352/0.4369, allocations: 61.66 kB / 475 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004937/0.4374, allocations: 63.91 kB / 475.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00359/0.4411, allocations: 2.748 MB / 477.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005952/0.4417, allocations: 51.81 kB / 477.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.03e-05/0.4418, allocations: 8 kB / 477.9 MB, free: 10.76 MB / 362.7 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004189/0.4422, allocations: 173.7 kB / 478.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.4424, allocations: 51.42 kB / 478.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001918/0.4426, allocations: 48.7 kB / 478.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.4427, allocations: 7.938 kB / 478.2 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4427, allocations: 0 / 478.2 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00111/0.4438, allocations: 0.6648 MB / 478.8 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/0.4461, allocations: 0.9353 MB / 479.8 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.4461, allocations: 0 / 479.8 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005539/0.4467, allocations: 79.89 kB / 479.9 MB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.4467, allocations: 0 / 479.9 MB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.733e-05/0.4467, allocations: 8 kB / 479.9 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.85e-06/0.4468, allocations: 0 / 479.9 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4468, allocations: 0 / 479.9 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.4482, allocations: 0.5477 MB / 480.4 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00039/0.4486, allocations: 160.5 kB / 480.6 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.4488, allocations: 8 kB / 480.6 MB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004458/0.4492, allocations: 20.06 kB / 480.6 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.28e-05/0.4493, allocations: 23.91 kB / 480.6 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.4494, allocations: 8 kB / 480.6 MB, free: 7.824 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006486/0.45, allocations: 319.1 kB / 480.9 MB, free: 7.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.45, allocations: 3.938 kB / 480.9 MB, free: 7.516 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008471/0.4509, allocations: 135.8 kB / 481.1 MB, free: 7.383 MB / 362.7 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002813/0.4512, allocations: 123.2 kB / 481.2 MB, free: 7.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.4527, allocations: 0.575 MB / 481.8 MB, free: 6.637 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.4527, allocations: 4.062 kB / 481.8 MB, free: 6.633 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004053/0.4531, allocations: 132.5 kB / 481.9 MB, free: 6.504 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.4543, allocations: 129.9 kB / 482 MB, free: 6.379 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.4572, allocations: 1.077 MB / 483.1 MB, free: 5.273 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005988/0.4578, allocations: 0.8237 MB / 483.9 MB, free: 4.422 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000448/0.4583, allocations: 60.23 kB / 484 MB, free: 4.359 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.4584, allocations: 39.44 kB / 484 MB, free: 4.32 MB / 362.7 MB Notification: Performance of SimCode: time 4.919e-06/0.4585, allocations: 0 / 484 MB, free: 4.32 MB / 362.7 MB Notification: Performance of Templates: time 0.02263/0.4811, allocations: 7.461 MB / 491.5 MB, free: 12.88 MB / 378.7 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","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches