Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009798/0.0009796, allocations: 93.64 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001143/0.001144, allocations: 200.4 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.7 MB / 247.5 MB, free: 11.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003715, allocations: 8 kB / 308.4 MB, free: 0.8555 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1059, allocations: 51.53 MB / 359.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.004751/0.1107, allocations: 4.654 MB / 364.6 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002463/0.1132, allocations: 1.262 MB / 365.8 MB, free: 7.383 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005856/0.1138, allocations: 11.94 kB / 365.8 MB, free: 7.371 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004986/0.1143, allocations: 127.1 kB / 366 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009721/0.1153, allocations: 293.7 kB / 366.2 MB, free: 6.957 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005751/0.1159, allocations: 199.8 kB / 366.4 MB, free: 6.762 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001322/0.1172, allocations: 1.117 MB / 367.6 MB, free: 5.637 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004524/0.1177, allocations: 286.2 kB / 367.8 MB, free: 5.344 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006073/0.1183, allocations: 402.4 kB / 368.2 MB, free: 4.949 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006463/0.119, allocations: 477.9 kB / 368.7 MB, free: 4.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001791/0.1191, allocations: 64 kB / 368.8 MB, free: 4.418 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.1194, allocations: 68 kB / 368.8 MB, free: 4.352 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.1196, allocations: 179.3 kB / 369 MB, free: 4.176 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005458/0.1201, allocations: 0.5071 MB / 369.5 MB, free: 3.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007449/0.1209, allocations: 0.8803 MB / 370.4 MB, free: 2.777 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1209, allocations: 4 kB / 370.4 MB, free: 2.773 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1209, allocations: 0 / 370.4 MB, free: 2.773 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.098e-05/0.1209, allocations: 0 / 370.4 MB, free: 2.773 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.002323/0.1233, allocations: 1.193 MB / 371.6 MB, free: 1.508 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1233, allocations: 8.031 kB / 371.6 MB, free: 1.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000263/0.1236, allocations: 115.8 kB / 371.7 MB, free: 1.387 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009761/0.1246, allocations: 0.5871 MB / 372.3 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003226/0.1249, allocations: 170.9 kB / 372.5 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.125, allocations: 60.12 kB / 372.5 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1641/0.2891, allocations: 0.8736 MB / 373.4 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.764e-05/0.2892, allocations: 1.234 kB / 373.4 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.2893, allocations: 27.88 kB / 373.4 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.348e-05/0.2894, allocations: 13.22 kB / 373.4 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002046/0.2914, allocations: 0.665 MB / 374.1 MB, free: 18.68 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.004374/0.2958, allocations: 2.075 MB / 376.2 MB, free: 18.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.2974, allocations: 0.9004 MB / 377.1 MB, free: 17.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00087/0.2983, allocations: 422.2 kB / 377.5 MB, free: 17.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-05/0.2984, allocations: 17.02 kB / 377.5 MB, free: 17.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.2984, allocations: 46.09 kB / 377.5 MB, free: 17.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 3.257e-06/0.2984, allocations: 4 kB / 377.6 MB, free: 17.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.005637/0.3041, allocations: 1.998 MB / 379.5 MB, free: 16.49 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001595/0.3043, allocations: 0.8228 MB / 380.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009225/0.3052, allocations: 0.6324 MB / 381 MB, free: 15.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.3053, allocations: 44.73 kB / 381 MB, free: 15.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/0.3056, allocations: 335 kB / 381.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/0.3058, allocations: 253.8 kB / 381.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.841e-05/0.3059, allocations: 62.88 kB / 381.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3061, allocations: 389.1 kB / 382.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008097/0.3069, allocations: 307.5 kB / 382.4 MB, free: 14.22 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009946/0.3079, allocations: 0.5842 MB / 382.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/0.3094, allocations: 0.7406 MB / 383.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3094, allocations: 1.125 kB / 383.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00306/0.3125, allocations: 1.202 MB / 384.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.587e-05/0.3126, allocations: 86.27 kB / 385 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.3126, allocations: 2.688 kB / 385 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007495/0.3134, allocations: 251 kB / 385.2 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007075/0.3141, allocations: 156.5 kB / 385.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006876/0.321, allocations: 6.503 MB / 391.9 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.3221, allocations: 128.8 kB / 392 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.3222, allocations: 27.92 kB / 392 MB, free: 6.895 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 (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004267/0.3226, allocations: 217.1 kB / 392.2 MB, free: 6.719 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.3228, allocations: 88.72 kB / 392.3 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.323, allocations: 95.5 kB / 392.4 MB, free: 6.605 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.3231, allocations: 8.25 kB / 392.4 MB, free: 6.605 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.3231, allocations: 3.938 kB / 392.4 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002693/0.3258, allocations: 1.336 MB / 393.8 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004114/0.3299, allocations: 2.032 MB / 395.8 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.3299, allocations: 256 / 395.8 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007319/0.3307, allocations: 158.6 kB / 396 MB, free: 4.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005611/0.3312, allocations: 219.8 kB / 396.2 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.064e-05/0.3313, allocations: 16.11 kB / 396.2 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005496/0.3368, allocations: 5.062 MB / 401.3 MB, free: 15.97 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.3368, allocations: 7.938 kB / 401.3 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004141/0.341, allocations: 1.521 MB / 402.8 MB, free: 15.17 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005225/0.3415, allocations: 243.8 kB / 403 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/0.3417, allocations: 19.53 kB / 403 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008148/0.3426, allocations: 75.28 kB / 403.1 MB, free: 14.9 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/0.3427, allocations: 57.78 kB / 403.2 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/0.3428, allocations: 24.77 kB / 403.2 MB, free: 14.86 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005913/0.3434, allocations: 456.9 kB / 403.6 MB, free: 14.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3434, allocations: 2.594 kB / 403.6 MB, free: 14.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000939/0.3444, allocations: 275.4 kB / 403.9 MB, free: 14.55 MB / 318.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 (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001998/0.3446, allocations: 130 kB / 404 MB, free: 14.45 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002458/0.347, allocations: 1.416 MB / 405.5 MB, free: 13.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.3471, allocations: 3.875 kB / 405.5 MB, free: 13.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001573/0.3486, allocations: 0.8061 MB / 406.3 MB, free: 12.87 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.3499, allocations: 223.6 kB / 406.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003067/0.353, allocations: 2.021 MB / 408.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/0.3535, allocations: 0.9401 MB / 409.4 MB, free: 9.824 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.3538, allocations: 67.42 kB / 409.5 MB, free: 9.758 MB / 318.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3538, allocations: 0 / 409.5 MB, free: 9.758 MB / 318.1 MB Notification: Performance of Templates: time 0.02799/0.3818, allocations: 22.43 MB / 431.9 MB, free: 3.402 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches