Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001443, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001594/0.001594, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.485/1.485, allocations: 205.1 MB / 225.1 MB, free: 12.29 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.001775/0.001775, allocations: 48.39 kB / 281.3 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08905/0.09085, allocations: 46.63 MB / 327.9 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004989/0.09588, allocations: 3.667 MB / 331.6 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.09792, allocations: 1.017 MB / 332.6 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004359/0.09838, allocations: 7.938 kB / 332.6 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004359/0.09887, allocations: 103.1 kB / 332.7 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006051/0.09949, allocations: 198.3 kB / 332.9 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.09985, allocations: 135.8 kB / 333.1 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008584/0.1007, allocations: 0.6653 MB / 333.7 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003151/0.101, allocations: 198.5 kB / 333.9 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00039/0.1014, allocations: 262.9 kB / 334.2 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004019/0.1019, allocations: 282.8 kB / 334.5 MB, free: 13.92 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.102, allocations: 59.94 kB / 334.5 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.1021, allocations: 60 kB / 334.6 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.1022, allocations: 123.5 kB / 334.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003854/0.1026, allocations: 310.6 kB / 335 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006501/0.1033, allocations: 0.6852 MB / 335.7 MB, free: 12.69 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1033, allocations: 4 kB / 335.7 MB, free: 12.68 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1033, allocations: 0 / 335.7 MB, free: 12.68 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.029e-05/0.1033, allocations: 0 / 335.7 MB, free: 12.68 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001767/0.1051, allocations: 0.8932 MB / 336.6 MB, free: 11.73 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.1052, allocations: 8.031 kB / 336.6 MB, free: 11.72 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.1053, allocations: 64.28 kB / 336.6 MB, free: 11.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007184/0.106, allocations: 434.5 kB / 337.1 MB, free: 11.2 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002243/0.1063, allocations: 82.81 kB / 337.2 MB, free: 11.11 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.025e-05/0.1064, allocations: 36.38 kB / 337.2 MB, free: 11.08 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009208/0.1073, allocations: 0.4971 MB / 337.7 MB, free: 10.53 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.1073, allocations: 0 / 337.7 MB, free: 10.53 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/0.1074, allocations: 16 kB / 337.7 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.1074, allocations: 8 kB / 337.7 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000959/0.1083, allocations: 366.3 kB / 338.1 MB, free: 10.14 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.002188/0.1105, allocations: 1.294 MB / 339.4 MB, free: 8.754 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007727/0.1113, allocations: 391.4 kB / 339.7 MB, free: 8.344 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004609/0.1118, allocations: 192.8 kB / 339.9 MB, free: 8.152 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.1119, allocations: 11.98 kB / 339.9 MB, free: 8.141 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.1119, allocations: 38.56 kB / 340 MB, free: 8.094 MB / 286.1 MB Notification: Performance of pre-optimization done (n=35): time 2.074e-06/0.1119, allocations: 3.938 kB / 340 MB, free: 8.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.001846/0.1138, allocations: 0.7588 MB / 340.7 MB, free: 7.281 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001977/0.114, allocations: 444.9 kB / 341.2 MB, free: 6.742 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005415/0.1145, allocations: 462 kB / 341.6 MB, free: 6.277 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.307e-05/0.1146, allocations: 33.7 kB / 341.7 MB, free: 6.238 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.1148, allocations: 236.4 kB / 341.9 MB, free: 6.004 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.1149, allocations: 126.2 kB / 342 MB, free: 5.879 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.115, allocations: 77.69 kB / 342.1 MB, free: 5.797 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1152, allocations: 358.7 kB / 342.4 MB, free: 5.438 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004462/0.1156, allocations: 151.9 kB / 342.6 MB, free: 5.289 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005529/0.1162, allocations: 298.5 kB / 342.9 MB, free: 4.945 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008799/0.1171, allocations: 361.2 kB / 343.2 MB, free: 4.582 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1171, allocations: 0 / 343.2 MB, free: 4.582 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001138/0.1182, allocations: 0.5015 MB / 343.7 MB, free: 4.062 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.1183, allocations: 33.7 kB / 343.8 MB, free: 4.023 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1183, allocations: 3.984 kB / 343.8 MB, free: 4.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001682/0.1185, allocations: 45.64 kB / 343.8 MB, free: 3.969 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004518/0.1189, allocations: 91.94 kB / 343.9 MB, free: 3.879 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/0.1215, allocations: 2.973 MB / 346.9 MB, free: 0.625 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000519/0.122, allocations: 59.69 kB / 346.9 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.592e-05/0.1221, allocations: 15.94 kB / 347 MB, free: 0.5508 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 (37): * Single equations (assignments): 34 * 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.0002681/0.1224, allocations: 170.1 kB / 347.1 MB, free: 384 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.1225, allocations: 59.28 kB / 347.2 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.1226, allocations: 56.75 kB / 347.2 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1227, allocations: 4 kB / 347.2 MB, free: 264 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1227, allocations: 4 kB / 347.2 MB, free: 260 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001123/0.1238, allocations: 0.7581 MB / 348 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.1256, allocations: 1.021 MB / 349 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1256, allocations: 0 / 349 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004522/0.1261, allocations: 95.86 kB / 349.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.1261, allocations: 8 kB / 349.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.1261, allocations: 7.938 kB / 349.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.1261, allocations: 4 kB / 349.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.1261, allocations: 3.938 kB / 349.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.1275, allocations: 0.6939 MB / 349.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.1277, allocations: 164.4 kB / 350 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.832e-05/0.1278, allocations: 15.94 kB / 350 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004272/0.1283, allocations: 31.97 kB / 350 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/0.1283, allocations: 23.95 kB / 350.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.1284, allocations: 12 kB / 350.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003498/0.1287, allocations: 323.2 kB / 350.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1287, allocations: 0 / 350.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004787/0.1292, allocations: 139.8 kB / 350.5 MB, free: 12.77 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 (35): * Single equations (assignments): 35 * 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.0001439/0.1294, allocations: 119.3 kB / 350.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.1308, allocations: 0.6839 MB / 351.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.1308, allocations: 4 kB / 351.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004604/0.1313, allocations: 183.8 kB / 351.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007848/0.1321, allocations: 149.9 kB / 351.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.1339, allocations: 0.959 MB / 352.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.1343, allocations: 0.8313 MB / 353.4 MB, free: 9.738 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.1344, allocations: 43.42 kB / 353.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1345, allocations: 0 / 353.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of Templates: time 0.01323/0.1477, allocations: 8.878 MB / 362.4 MB, free: 0.8125 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches