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.001128/0.001128, allocations: 104.2 kB / 17.58 MB, free: 5.559 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.001221/0.001222, allocations: 192 kB / 18.51 MB, free: 4.641 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.5/1.5, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001223/0.001224, allocations: 55.91 kB / 280.6 MB, free: 3.168 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08576/0.087, allocations: 46.63 MB / 327.3 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004931/0.09197, allocations: 3.493 MB / 330.8 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.09378, allocations: 0.9785 MB / 331.7 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003533/0.09416, allocations: 8 kB / 331.8 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003787/0.09459, allocations: 103.1 kB / 331.9 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005307/0.09514, allocations: 190.3 kB / 332 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.0955, allocations: 123.8 kB / 332.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009023/0.09642, allocations: 0.6263 MB / 332.8 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003297/0.09676, allocations: 190.8 kB / 333 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003598/0.09713, allocations: 239.1 kB / 333.2 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004297/0.09757, allocations: 278.8 kB / 333.5 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.0977, allocations: 56 kB / 333.5 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.09783, allocations: 55.94 kB / 333.6 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.09797, allocations: 115.6 kB / 333.7 MB, free: 14 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003377/0.09831, allocations: 298.6 kB / 334 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006758/0.099, allocations: 0.6268 MB / 334.6 MB, free: 13.07 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.09901, allocations: 0 / 334.6 MB, free: 13.07 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.09902, allocations: 0 / 334.6 MB, free: 13.07 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.721e-05/0.09907, allocations: 4 kB / 334.6 MB, free: 13.07 MB / 286.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.001654/0.1007, allocations: 0.8428 MB / 335.5 MB, free: 12.17 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.1008, allocations: 8.031 kB / 335.5 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.1009, allocations: 68.19 kB / 335.5 MB, free: 12.09 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006147/0.1016, allocations: 394.7 kB / 335.9 MB, free: 11.67 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.1017, allocations: 50.92 kB / 336 MB, free: 11.61 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.094e-05/0.1018, allocations: 40.28 kB / 336 MB, free: 11.57 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007133/0.1025, allocations: 461.1 kB / 336.5 MB, free: 11.07 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.1025, allocations: 0 / 336.5 MB, free: 11.07 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.89e-05/0.1025, allocations: 20 kB / 336.5 MB, free: 11.05 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.1026, allocations: 8 kB / 336.5 MB, free: 11.04 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005522/0.1031, allocations: 286.5 kB / 336.8 MB, free: 10.76 MB / 286.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.002027/0.1052, allocations: 1.286 MB / 338.1 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.1064, allocations: 444.4 kB / 338.5 MB, free: 8.918 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002559/0.1067, allocations: 140.8 kB / 338.6 MB, free: 8.777 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/0.1068, allocations: 19.91 kB / 338.6 MB, free: 8.758 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.1068, allocations: 42.56 kB / 338.7 MB, free: 8.707 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 3.046e-06/0.1068, allocations: 0 / 338.7 MB, free: 8.707 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.00109/0.1079, allocations: 0.5945 MB / 339.3 MB, free: 8.062 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000188/0.1081, allocations: 449 kB / 339.7 MB, free: 7.52 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004684/0.1086, allocations: 453.9 kB / 340.2 MB, free: 7.066 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/0.1086, allocations: 33.7 kB / 340.2 MB, free: 7.027 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.1088, allocations: 232.4 kB / 340.4 MB, free: 6.797 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.473e-05/0.1089, allocations: 98.47 kB / 340.5 MB, free: 6.699 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.109, allocations: 81.92 kB / 340.6 MB, free: 6.613 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1091, allocations: 358.8 kB / 341 MB, free: 6.254 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.1094, allocations: 108.5 kB / 341.1 MB, free: 6.148 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003346/0.1097, allocations: 252.1 kB / 341.3 MB, free: 5.852 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004723/0.1102, allocations: 280.2 kB / 341.6 MB, free: 5.566 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1102, allocations: 0 / 341.6 MB, free: 5.566 MB / 286.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000653/0.1109, allocations: 420.9 kB / 342 MB, free: 5.137 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/0.1109, allocations: 33.7 kB / 342 MB, free: 5.098 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1109, allocations: 0 / 342 MB, free: 5.098 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001574/0.1111, allocations: 53.77 kB / 342.1 MB, free: 5.039 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.1114, allocations: 67.89 kB / 342.1 MB, free: 4.973 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/0.1138, allocations: 2.972 MB / 345.1 MB, free: 1.719 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00035/0.1141, allocations: 43.67 kB / 345.2 MB, free: 1.676 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.1142, allocations: 12 kB / 345.2 MB, free: 1.664 MB / 286.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.0001933/0.1144, allocations: 161.8 kB / 345.3 MB, free: 1.496 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.059e-05/0.1144, allocations: 51.44 kB / 345.4 MB, free: 1.445 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.1146, allocations: 56.69 kB / 345.4 MB, free: 1.391 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1146, allocations: 4 kB / 345.4 MB, free: 1.387 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1146, allocations: 3.938 kB / 345.4 MB, free: 1.383 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006785/0.1153, allocations: 0.6463 MB / 346.1 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.1165, allocations: 0.9111 MB / 347 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.1165, allocations: 3.938 kB / 347 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00031/0.1168, allocations: 63.95 kB / 347.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1168, allocations: 4 kB / 347.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.1169, allocations: 8 kB / 347.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.1169, allocations: 3.938 kB / 347.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.1169, allocations: 0 / 347.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007575/0.1176, allocations: 0.5149 MB / 347.6 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.1178, allocations: 164.4 kB / 347.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.1179, allocations: 12.06 kB / 347.8 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/0.1182, allocations: 15.98 kB / 347.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.1183, allocations: 23.97 kB / 347.8 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.1183, allocations: 8 kB / 347.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003165/0.1186, allocations: 327.1 kB / 348.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1186, allocations: 0 / 348.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004008/0.119, allocations: 131.8 kB / 348.3 MB, free: 14.36 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.0001194/0.1191, allocations: 107.4 kB / 348.4 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008979/0.12, allocations: 0.5747 MB / 348.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1201, allocations: 0 / 348.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.1203, allocations: 132.3 kB / 349.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006172/0.1209, allocations: 137 kB / 349.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.1224, allocations: 0.8868 MB / 350.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.1228, allocations: 0.8159 MB / 350.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002135/0.123, allocations: 60.34 kB / 351 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.061e-05/0.1231, allocations: 43.44 kB / 351 MB, free: 11.51 MB / 302.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1231, allocations: 3.938 kB / 351 MB, free: 11.5 MB / 302.1 MB Notification: Performance of Templates: time 0.01442/0.1375, allocations: 8.114 MB / 359.1 MB, free: 3.387 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/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