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.001802/0.001811, allocations: 105.4 kB / 18.4 MB, free: 4.695 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.002462/0.002462, allocations: 183.1 kB / 19.33 MB, free: 3.777 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.519/1.519, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001405/0.001405, allocations: 43.94 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.111, allocations: 46.62 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005799/0.1168, allocations: 3.667 MB / 379.5 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2256/0.3425, allocations: 1.012 MB / 380.5 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007018/0.3433, allocations: 8.719 kB / 380.5 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006076/0.3439, allocations: 110.9 kB / 380.6 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007377/0.3447, allocations: 195.4 kB / 380.8 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.3452, allocations: 127.1 kB / 380.9 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.3463, allocations: 0.6842 MB / 381.6 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004781/0.3468, allocations: 197.5 kB / 381.8 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004866/0.3473, allocations: 258.7 kB / 382 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003909/0.3477, allocations: 300.9 kB / 382.3 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.3479, allocations: 56.94 kB / 382.4 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.348, allocations: 60.72 kB / 382.4 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.3482, allocations: 124 kB / 382.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003951/0.3486, allocations: 310.8 kB / 382.9 MB, free: 9.305 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.3496, allocations: 0.6895 MB / 383.6 MB, free: 9.199 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3496, allocations: 0.7031 kB / 383.6 MB, free: 9.199 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3496, allocations: 0 / 383.6 MB, free: 9.199 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.3496, allocations: 0 / 383.6 MB, free: 9.199 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001691/0.3513, allocations: 0.8938 MB / 384.5 MB, free: 8.613 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.3514, allocations: 14.16 kB / 384.5 MB, free: 8.609 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.3515, allocations: 65.59 kB / 384.5 MB, free: 8.578 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008459/0.3524, allocations: 436.5 kB / 385 MB, free: 8.305 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.3525, allocations: 59.7 kB / 385 MB, free: 8.273 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.329e-05/0.3526, allocations: 32.81 kB / 385 MB, free: 8.273 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009125/0.3535, allocations: 485.2 kB / 385.5 MB, free: 8.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.3535, allocations: 1.406 kB / 385.5 MB, free: 8.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.3536, allocations: 13.62 kB / 385.5 MB, free: 8.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.3536, allocations: 8.438 kB / 385.5 MB, free: 8.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008602/0.3545, allocations: 341.4 kB / 385.9 MB, free: 7.984 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.002268/0.3567, allocations: 1.284 MB / 387.2 MB, free: 7.156 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007343/0.3575, allocations: 384.6 kB / 387.5 MB, free: 6.941 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004303/0.3579, allocations: 180.6 kB / 387.7 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.209e-05/0.358, allocations: 8.281 kB / 387.7 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.358, allocations: 38.5 kB / 387.8 MB, free: 6.832 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 3.557e-06/0.358, allocations: 7.891 kB / 387.8 MB, free: 6.828 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.001864/0.3599, allocations: 0.7206 MB / 388.5 MB, free: 6.414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001598/0.3601, allocations: 444.5 kB / 388.9 MB, free: 5.883 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007536/0.3608, allocations: 461.2 kB / 389.4 MB, free: 5.664 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/0.3609, allocations: 33.92 kB / 389.4 MB, free: 5.629 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.3611, allocations: 240.9 kB / 389.6 MB, free: 5.434 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.3612, allocations: 118.1 kB / 389.8 MB, free: 5.344 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.3614, allocations: 80.2 kB / 389.8 MB, free: 5.297 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3615, allocations: 364.6 kB / 390.2 MB, free: 4.957 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000408/0.3619, allocations: 138.5 kB / 390.3 MB, free: 4.914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005132/0.3624, allocations: 284.4 kB / 390.6 MB, free: 4.707 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000782/0.3632, allocations: 337.6 kB / 390.9 MB, free: 4.547 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3632, allocations: 0 / 390.9 MB, free: 4.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001168/0.3644, allocations: 480.2 kB / 391.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/0.3645, allocations: 36.44 kB / 391.4 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3645, allocations: 1.094 kB / 391.4 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001915/0.3647, allocations: 55.25 kB / 391.5 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004586/0.3652, allocations: 83.3 kB / 391.6 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/0.3673, allocations: 2.961 MB / 394.5 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005675/0.3679, allocations: 54.75 kB / 394.6 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.3679, allocations: 15.41 kB / 394.6 MB, free: 1.297 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 (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.0002747/0.3682, allocations: 173.8 kB / 394.8 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.3683, allocations: 50 kB / 394.8 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.3684, allocations: 52.33 kB / 394.9 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.3684, allocations: 2.781 kB / 394.9 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3684, allocations: 1.344 kB / 394.9 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009002/0.3693, allocations: 0.7305 MB / 395.6 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.3711, allocations: 1.018 MB / 396.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.3711, allocations: 4.562 kB / 396.6 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004727/0.3716, allocations: 85.5 kB / 396.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.3716, allocations: 2.203 kB / 396.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/0.3716, allocations: 11.06 kB / 396.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/0.3717, allocations: 5.219 kB / 396.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3717, allocations: 0.7031 kB / 396.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.3731, allocations: 0.6474 MB / 397.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/0.3733, allocations: 163.3 kB / 397.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.917e-05/0.3734, allocations: 12.25 kB / 397.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003952/0.3738, allocations: 33.14 kB / 397.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.374, allocations: 28.3 kB / 397.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.374, allocations: 7.844 kB / 397.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004972/0.3745, allocations: 324 kB / 397.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3745, allocations: 0.8438 kB / 397.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005943/0.3751, allocations: 136 kB / 398.1 MB, free: 15.16 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 (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.0001736/0.3753, allocations: 119.8 kB / 398.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001391/0.3767, allocations: 0.6303 MB / 398.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.3767, allocations: 5.031 kB / 398.8 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004416/0.3771, allocations: 181.7 kB / 399 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007531/0.3779, allocations: 140 kB / 399.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.3797, allocations: 0.9445 MB / 400.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.3803, allocations: 0.8297 MB / 400.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.3804, allocations: 43.78 kB / 401 MB, free: 13.26 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3805, allocations: 0 / 401 MB, free: 13.26 MB / 334.1 MB Notification: Performance of Templates: time 0.01627/0.3967, allocations: 8.915 MB / 409.9 MB, free: 9.5 MB / 334.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