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.001213/0.001213, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 246.9 MB, free: 9.012 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 61.06 kB / 306.9 MB, free: 0.8242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09507/0.0962, allocations: 50.53 MB / 357.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005834/0.1021, allocations: 5.055 MB / 362.5 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002602/0.1047, allocations: 1.336 MB / 363.8 MB, free: 7.859 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006944/0.1054, allocations: 11.94 kB / 363.8 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005574/0.1061, allocations: 131 kB / 364 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008675/0.1069, allocations: 289.7 kB / 364.2 MB, free: 7.434 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004577/0.1074, allocations: 199.8 kB / 364.4 MB, free: 7.238 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.1084, allocations: 1.113 MB / 365.6 MB, free: 6.117 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003712/0.1088, allocations: 290.2 kB / 365.8 MB, free: 5.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004088/0.1092, allocations: 418.4 kB / 366.2 MB, free: 5.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004439/0.1097, allocations: 489.9 kB / 366.7 MB, free: 4.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.1098, allocations: 72 kB / 366.8 MB, free: 4.859 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.11, allocations: 79.94 kB / 366.9 MB, free: 4.781 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.1101, allocations: 191.3 kB / 367.1 MB, free: 4.594 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004173/0.1106, allocations: 0.4937 MB / 367.6 MB, free: 4.098 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006871/0.1113, allocations: 0.8962 MB / 368.5 MB, free: 3.199 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1113, allocations: 0 / 368.5 MB, free: 3.199 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1113, allocations: 0 / 368.5 MB, free: 3.199 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.1113, allocations: 0 / 368.5 MB, free: 3.199 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.002349/0.1136, allocations: 1.341 MB / 369.8 MB, free: 1.785 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1137, allocations: 23.89 kB / 369.8 MB, free: 1.762 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/0.1139, allocations: 103.8 kB / 369.9 MB, free: 1.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008732/0.1148, allocations: 0.5793 MB / 370.5 MB, free: 1.043 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003006/0.1151, allocations: 166.9 kB / 370.7 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.1152, allocations: 64.12 kB / 370.7 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1596/0.2748, allocations: 0.8529 MB / 371.6 MB, free: 19.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.332e-05/0.2749, allocations: 0 / 371.6 MB, free: 19.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.966e-05/0.275, allocations: 29.91 kB / 371.6 MB, free: 19.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.275, allocations: 13.84 kB / 371.6 MB, free: 19.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.2767, allocations: 0.6203 MB / 372.2 MB, free: 19.57 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.003586/0.2803, allocations: 2.069 MB / 374.3 MB, free: 18.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.2817, allocations: 0.8631 MB / 375.2 MB, free: 18.12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008871/0.2826, allocations: 407.7 kB / 375.6 MB, free: 17.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.327e-05/0.2827, allocations: 24.89 kB / 375.6 MB, free: 17.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.2827, allocations: 44.88 kB / 375.6 MB, free: 17.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.524e-06/0.2828, allocations: 0 / 375.6 MB, free: 17.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.005178/0.2879, allocations: 1.83 MB / 377.5 MB, free: 17.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001584/0.2881, allocations: 0.8223 MB / 378.3 MB, free: 16.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007825/0.2889, allocations: 0.6339 MB / 378.9 MB, free: 15.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.361e-05/0.289, allocations: 45.58 kB / 379 MB, free: 15.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.2892, allocations: 329.2 kB / 379.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.2894, allocations: 258.8 kB / 379.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/0.2896, allocations: 149.5 kB / 379.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.2897, allocations: 388.2 kB / 380.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007314/0.2905, allocations: 286.5 kB / 380.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009013/0.2914, allocations: 0.566 MB / 380.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.2928, allocations: 0.7124 MB / 381.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.2928, allocations: 1.641 kB / 381.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002751/0.2956, allocations: 1.118 MB / 382.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.397e-05/0.2957, allocations: 85.61 kB / 382.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.2957, allocations: 0 / 382.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006999/0.2964, allocations: 232.4 kB / 383.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00069/0.2971, allocations: 150 kB / 383.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006506/0.3036, allocations: 6.379 MB / 389.6 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.3047, allocations: 109.5 kB / 389.7 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.106e-05/0.3048, allocations: 26.28 kB / 389.7 MB, free: 7.559 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.0003738/0.3052, allocations: 214.3 kB / 389.9 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.3053, allocations: 88 kB / 390 MB, free: 7.344 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001648/0.3055, allocations: 96.33 kB / 390.1 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.3055, allocations: 10.84 kB / 390.1 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.3055, allocations: 3.938 kB / 390.1 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002463/0.308, allocations: 1.265 MB / 391.4 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003954/0.312, allocations: 1.95 MB / 393.3 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.312, allocations: 0 / 393.3 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007322/0.3127, allocations: 147 kB / 393.5 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005184/0.3133, allocations: 208.3 kB / 393.7 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.763e-05/0.3133, allocations: 12.53 kB / 393.7 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005243/0.3186, allocations: 4.909 MB / 398.6 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3186, allocations: 3.984 kB / 398.6 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003394/0.322, allocations: 1.441 MB / 400 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004604/0.3225, allocations: 237 kB / 400.3 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.3226, allocations: 18.86 kB / 400.3 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006887/0.3233, allocations: 58.14 kB / 400.3 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.3235, allocations: 69.3 kB / 400.4 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.387e-05/0.3236, allocations: 17.75 kB / 400.4 MB, free: 15.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000572/0.3241, allocations: 456.8 kB / 400.9 MB, free: 15.39 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3241, allocations: 0 / 400.9 MB, free: 15.39 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009224/0.3251, allocations: 277.4 kB / 401.2 MB, free: 15.36 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.0001666/0.3252, allocations: 133.7 kB / 401.3 MB, free: 15.24 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00238/0.3276, allocations: 1.367 MB / 402.6 MB, free: 14.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/0.3277, allocations: 5.719 kB / 402.7 MB, free: 14.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.329, allocations: 0.7807 MB / 403.4 MB, free: 13.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.3301, allocations: 221.9 kB / 403.7 MB, free: 13.55 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.333, allocations: 1.914 MB / 405.6 MB, free: 12.23 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.3334, allocations: 0.9377 MB / 406.5 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/0.3337, allocations: 70.58 kB / 406.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3337, allocations: 3.969 kB / 406.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of Templates: time 0.02612/0.3598, allocations: 22.52 MB / 429.1 MB, free: 5.477 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