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.001158/0.001162, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.00119/0.00119, allocations: 186.9 kB / 19.28 MB, free: 3.75 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.338/1.338, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001233/0.001233, allocations: 56.41 kB / 282.1 MB, free: 2.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08437/0.08561, allocations: 46.63 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005102/0.09075, allocations: 3.67 MB / 332.4 MB, free: 72 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.09271, allocations: 1.017 MB / 333.4 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003558/0.09309, allocations: 7.938 kB / 333.4 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004016/0.09352, allocations: 111 kB / 333.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005885/0.09413, allocations: 186.4 kB / 333.7 MB, free: 14.74 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.0945, allocations: 131.8 kB / 333.8 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008736/0.09539, allocations: 0.677 MB / 334.5 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003155/0.09571, allocations: 198.2 kB / 334.7 MB, free: 13.74 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004125/0.09614, allocations: 263 kB / 335 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004359/0.09658, allocations: 294.7 kB / 335.2 MB, free: 13.19 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.09672, allocations: 60 kB / 335.3 MB, free: 13.13 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001626/0.09689, allocations: 60 kB / 335.4 MB, free: 13.07 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.09701, allocations: 127.5 kB / 335.5 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003195/0.09733, allocations: 306.6 kB / 335.8 MB, free: 12.65 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006353/0.09798, allocations: 0.693 MB / 336.5 MB, free: 11.95 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.09799, allocations: 0 / 336.5 MB, free: 11.95 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.098, allocations: 0 / 336.5 MB, free: 11.95 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.155e-05/0.09803, allocations: 0 / 336.5 MB, free: 11.95 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.001635/0.09967, allocations: 0.8894 MB / 337.4 MB, free: 11 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.09971, allocations: 8.031 kB / 337.4 MB, free: 11 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.09986, allocations: 64.28 kB / 337.4 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007388/0.1006, allocations: 442.5 kB / 337.9 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.1007, allocations: 58.84 kB / 337.9 MB, free: 10.4 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.049e-05/0.1008, allocations: 36.38 kB / 338 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008052/0.1016, allocations: 489 kB / 338.4 MB, free: 9.836 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1016, allocations: 4 kB / 338.4 MB, free: 9.832 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/0.1017, allocations: 16 kB / 338.5 MB, free: 9.816 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.1017, allocations: 8 kB / 338.5 MB, free: 9.809 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007911/0.1025, allocations: 338.4 kB / 338.8 MB, free: 9.473 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.001903/0.1044, allocations: 1.275 MB / 340.1 MB, free: 8.105 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006636/0.1051, allocations: 379.4 kB / 340.4 MB, free: 7.707 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003851/0.1055, allocations: 188.7 kB / 340.6 MB, free: 7.52 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.113e-05/0.1055, allocations: 7.984 kB / 340.6 MB, free: 7.512 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.1056, allocations: 42.5 kB / 340.7 MB, free: 7.461 MB / 286.1 MB Notification: Performance of pre-optimization done (n=35): time 1.633e-06/0.1056, allocations: 0 / 340.7 MB, free: 7.461 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.001532/0.1071, allocations: 0.7159 MB / 341.4 MB, free: 6.695 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002428/0.1074, allocations: 452.9 kB / 341.8 MB, free: 6.148 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004822/0.1078, allocations: 457.9 kB / 342.3 MB, free: 5.688 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.1079, allocations: 33.7 kB / 342.3 MB, free: 5.648 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.1081, allocations: 240.4 kB / 342.5 MB, free: 5.41 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.346e-05/0.1082, allocations: 122.2 kB / 342.7 MB, free: 5.289 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.1083, allocations: 73.7 kB / 342.7 MB, free: 5.211 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1084, allocations: 362.7 kB / 343.1 MB, free: 4.848 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003533/0.1088, allocations: 143.9 kB / 343.2 MB, free: 4.707 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004523/0.1092, allocations: 282.6 kB / 343.5 MB, free: 4.375 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006935/0.1099, allocations: 333.1 kB / 343.8 MB, free: 4.039 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.11, allocations: 0 / 343.8 MB, free: 4.039 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009318/0.1109, allocations: 485.8 kB / 344.3 MB, free: 3.547 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.111, allocations: 33.7 kB / 344.3 MB, free: 3.508 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.111, allocations: 3.938 kB / 344.3 MB, free: 3.504 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001674/0.1111, allocations: 53.72 kB / 344.4 MB, free: 3.445 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000396/0.1115, allocations: 79.89 kB / 344.5 MB, free: 3.367 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00243/0.114, allocations: 2.97 MB / 347.4 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003906/0.1144, allocations: 47.7 kB / 347.5 MB, free: 72 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.1144, allocations: 19.88 kB / 347.5 MB, free: 52 kB / 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.0001942/0.1146, allocations: 165.8 kB / 347.7 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.301e-05/0.1147, allocations: 59.34 kB / 347.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.995e-05/0.1148, allocations: 56.69 kB / 347.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1149, allocations: 4 kB / 347.8 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1149, allocations: 0 / 347.8 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009176/0.1158, allocations: 0.7269 MB / 348.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.1175, allocations: 1.009 MB / 349.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1175, allocations: 0 / 349.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004619/0.118, allocations: 87.88 kB / 349.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.118, allocations: 4 kB / 349.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.1181, allocations: 11.94 kB / 349.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1181, allocations: 0 / 349.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1181, allocations: 80 / 349.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.1193, allocations: 0.6485 MB / 350.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/0.1195, allocations: 168.4 kB / 350.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.797e-05/0.1196, allocations: 15.94 kB / 350.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003458/0.1199, allocations: 23.97 kB / 350.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.036e-05/0.12, allocations: 27.95 kB / 350.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.12, allocations: 15.94 kB / 350.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000352/0.1204, allocations: 323.2 kB / 350.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1204, allocations: 3.938 kB / 350.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000443/0.1209, allocations: 139.8 kB / 351 MB, free: 12.37 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.0001318/0.121, allocations: 115.5 kB / 351.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001243/0.1222, allocations: 0.637 MB / 351.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.1223, allocations: 4 kB / 351.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003852/0.1227, allocations: 175.8 kB / 351.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006497/0.1233, allocations: 153 kB / 352.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.1249, allocations: 0.9144 MB / 353 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.1253, allocations: 0.8275 MB / 353.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002129/0.1256, allocations: 60.34 kB / 353.9 MB, free: 9.387 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.1257, allocations: 47.42 kB / 353.9 MB, free: 9.34 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.1257, allocations: 4 kB / 353.9 MB, free: 9.336 MB / 302.1 MB Notification: Performance of Templates: time 0.01425/0.14, allocations: 8.847 MB / 362.8 MB, free: 496 kB / 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 -s cvode -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