Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 93.42 kB / 16.3 MB, free: 5.996 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.00138/0.00138, allocations: 186.6 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 223.2 MB / 241.1 MB, free: 372 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002225/0.0002225, allocations: 11.94 kB / 300.7 MB, free: 6.488 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07951/0.07975, allocations: 50.42 MB / 351.1 MB, free: 4.062 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.003951/0.08374, allocations: 4.002 MB / 355.1 MB, free: 36 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.0856, allocations: 1.232 MB / 356.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.08585, allocations: 11.94 kB / 356.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002278/0.08609, allocations: 103.2 kB / 356.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006027/0.0867, allocations: 351 kB / 356.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.08703, allocations: 167.7 kB / 357 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008807/0.08792, allocations: 0.7916 MB / 357.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003463/0.08828, allocations: 266.8 kB / 358 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003549/0.08864, allocations: 378.8 kB / 358.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000444/0.08909, allocations: 442.2 kB / 358.8 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.0892, allocations: 60 kB / 358.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.08934, allocations: 63.94 kB / 359 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.08949, allocations: 167.3 kB / 359.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.08966, allocations: 197.3 kB / 359.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006595/0.09033, allocations: 0.8413 MB / 360.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.09033, allocations: 0 / 360.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.09034, allocations: 4 kB / 360.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.09036, allocations: 0 / 360.2 MB, free: 10.98 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002169/0.09254, allocations: 1.193 MB / 361.4 MB, free: 9.715 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.09259, allocations: 8.031 kB / 361.4 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.09276, allocations: 106.9 kB / 361.5 MB, free: 9.602 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008156/0.09358, allocations: 0.5278 MB / 362 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003159/0.09391, allocations: 170.4 kB / 362.2 MB, free: 8.852 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.625e-05/0.09402, allocations: 59.91 kB / 362.2 MB, free: 8.793 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.09542, allocations: 0.8704 MB / 363.1 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.09545, allocations: 0 / 363.1 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.846e-05/0.09553, allocations: 35.95 kB / 363.1 MB, free: 7.785 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.09555, allocations: 12 kB / 363.1 MB, free: 7.773 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.0971, allocations: 0.661 MB / 363.8 MB, free: 7.109 MB / 302.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.003341/0.1004, allocations: 2.018 MB / 365.8 MB, free: 4.984 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.1019, allocations: 0.8907 MB / 366.7 MB, free: 4.031 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.399e-05/0.1019, allocations: 16.62 kB / 366.7 MB, free: 4.016 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.102, allocations: 59.11 kB / 366.8 MB, free: 3.949 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.204e-06/0.102, allocations: 0 / 366.8 MB, free: 3.949 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.005166/0.1072, allocations: 1.983 MB / 368.8 MB, free: 1.875 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00028/0.1075, allocations: 0.8272 MB / 369.6 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006027/0.1081, allocations: 0.5785 MB / 370.2 MB, free: 272 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.605e-05/0.1081, allocations: 49.64 kB / 370.2 MB, free: 216 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1416/0.2497, allocations: 326.3 kB / 370.5 MB, free: 24.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003128/0.2501, allocations: 252.8 kB / 370.8 MB, free: 24.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.654e-05/0.2501, allocations: 14.75 kB / 370.8 MB, free: 24.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.2503, allocations: 387.3 kB / 371.2 MB, free: 24.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00082/0.2511, allocations: 305 kB / 371.5 MB, free: 24.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008595/0.252, allocations: 0.5753 MB / 372.1 MB, free: 24.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00075/0.2527, allocations: 430.7 kB / 372.5 MB, free: 23.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.2528, allocations: 0 / 372.5 MB, free: 23.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002843/0.2556, allocations: 1.196 MB / 373.7 MB, free: 23.69 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.458e-05/0.2557, allocations: 88.56 kB / 373.8 MB, free: 23.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.2557, allocations: 1.766 kB / 373.8 MB, free: 23.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007265/0.2564, allocations: 247.3 kB / 374 MB, free: 23.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007116/0.2571, allocations: 150.8 kB / 374.1 MB, free: 23.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006431/0.2636, allocations: 6.579 MB / 380.7 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009811/0.2646, allocations: 122.9 kB / 380.8 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.743e-05/0.2647, allocations: 23.2 kB / 380.9 MB, free: 17.85 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 3,1 1,3 3,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003276/0.265, allocations: 217.3 kB / 381.1 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.2651, allocations: 93.58 kB / 381.2 MB, free: 17.63 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.2653, allocations: 91.73 kB / 381.3 MB, free: 17.56 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.2653, allocations: 7.25 kB / 381.3 MB, free: 17.56 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.2653, allocations: 1.078 kB / 381.3 MB, free: 17.56 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002439/0.2678, allocations: 1.341 MB / 382.6 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003648/0.2714, allocations: 1.972 MB / 384.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2714, allocations: 0 / 384.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007056/0.2722, allocations: 157 kB / 384.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005687/0.2727, allocations: 218 kB / 384.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/0.2728, allocations: 15.66 kB / 385 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005672/0.2785, allocations: 5.13 MB / 390.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.2785, allocations: 1.078 kB / 390.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00354/0.282, allocations: 1.521 MB / 391.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003068/0.2824, allocations: 232.9 kB / 391.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.2825, allocations: 27.95 kB / 391.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006638/0.2832, allocations: 65.7 kB / 391.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.2833, allocations: 67.59 kB / 392 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/0.2834, allocations: 22 kB / 392 MB, free: 10.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004553/0.2838, allocations: 415.3 kB / 392.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2839, allocations: 1.344 kB / 392.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000857/0.2847, allocations: 273.6 kB / 392.7 MB, free: 10.27 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001439/0.2849, allocations: 123.8 kB / 392.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002221/0.2871, allocations: 1.412 MB / 394.2 MB, free: 9.262 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.2871, allocations: 2.156 kB / 394.2 MB, free: 9.262 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.2884, allocations: 0.8097 MB / 395 MB, free: 8.773 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007587/0.2892, allocations: 208.3 kB / 395.2 MB, free: 8.707 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.2914, allocations: 1.904 MB / 397.1 MB, free: 7.535 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.2918, allocations: 0.957 MB / 398.1 MB, free: 6.715 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000356/0.2921, allocations: 91.05 kB / 398.2 MB, free: 6.668 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.2923, allocations: 55.84 kB / 398.2 MB, free: 6.656 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2923, allocations: 1.375 kB / 398.2 MB, free: 6.656 MB / 302.1 MB Notification: Performance of Templates: time 0.02156/0.3139, allocations: 15.61 MB / 413.9 MB, free: 8.836 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches