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.001431/0.001431, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001791/0.001791, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.89 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2462, allocations: 50.55 MB / 409.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006802/0.253, allocations: 5.046 MB / 414.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002695/0.2557, allocations: 1.332 MB / 415.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005844/0.2563, allocations: 11.94 kB / 415.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004764/0.2568, allocations: 158.6 kB / 415.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007553/0.2576, allocations: 329.2 kB / 416.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005024/0.2581, allocations: 227.6 kB / 416.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001325/0.2595, allocations: 1.183 MB / 417.5 MB, free: 9.312 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004403/0.2599, allocations: 313.8 kB / 417.8 MB, free: 8.984 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000488/0.2604, allocations: 450.5 kB / 418.3 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006194/0.261, allocations: 0.5135 MB / 418.8 MB, free: 8.027 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.2612, allocations: 104 kB / 418.9 MB, free: 7.926 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.2613, allocations: 107.9 kB / 419 MB, free: 7.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.2615, allocations: 219.2 kB / 419.2 MB, free: 7.605 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004212/0.2619, allocations: 0.5289 MB / 419.7 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.263, allocations: 1.185 MB / 420.9 MB, free: 5.887 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.263, allocations: 7.938 kB / 420.9 MB, free: 5.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.263, allocations: 0 / 420.9 MB, free: 5.879 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.263, allocations: 4 kB / 420.9 MB, free: 5.875 MB / 334.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.002361/0.2654, allocations: 1.337 MB / 422.3 MB, free: 4.469 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.2654, allocations: 8.031 kB / 422.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.2656, allocations: 111.7 kB / 422.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009266/0.2665, allocations: 0.591 MB / 423 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001967/0.2667, allocations: 139 kB / 423.1 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.102e-05/0.2668, allocations: 68.06 kB / 423.2 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.2682, allocations: 0.8431 MB / 424 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.2682, allocations: 0 / 424 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.304e-05/0.2683, allocations: 28 kB / 424 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.2683, allocations: 12 kB / 424 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.2697, allocations: 0.6024 MB / 424.6 MB, free: 1.906 MB / 334.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.003186/0.2729, allocations: 2.049 MB / 426.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.2743, allocations: 0.8492 MB / 427.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008055/0.2751, allocations: 395.5 kB / 427.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.975e-05/0.2752, allocations: 20.62 kB / 428 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.2752, allocations: 47.22 kB / 428 MB, free: 14.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.575e-06/0.2752, allocations: 4 kB / 428 MB, free: 14.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005211/0.2805, allocations: 1.796 MB / 429.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003473/0.2808, allocations: 0.8272 MB / 430.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007537/0.2816, allocations: 0.6254 MB / 431.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.445e-05/0.2817, allocations: 49.64 kB / 431.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.2819, allocations: 333 kB / 431.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.2822, allocations: 256.2 kB / 431.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/0.2824, allocations: 146.7 kB / 432 MB, free: 10.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.2826, allocations: 386.8 kB / 432.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006681/0.2833, allocations: 269.8 kB / 432.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009145/0.2842, allocations: 0.5546 MB / 433.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.2856, allocations: 0.6855 MB / 433.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2856, allocations: 0 / 433.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002664/0.2882, allocations: 1.098 MB / 435 MB, free: 6.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.199e-05/0.2883, allocations: 81.11 kB / 435.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.2884, allocations: 12 kB / 435.1 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007268/0.2891, allocations: 235.2 kB / 435.3 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000636/0.2897, allocations: 139.8 kB / 435.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007589/0.2973, allocations: 6.928 MB / 442.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009353/0.2983, allocations: 103.3 kB / 442.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.26e-05/0.2984, allocations: 24.23 kB / 442.5 MB, free: 14.79 MB / 366.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.0003588/0.2987, allocations: 221.7 kB / 442.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.2989, allocations: 83.06 kB / 442.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001838/0.2991, allocations: 99.27 kB / 442.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2991, allocations: 4 kB / 442.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2991, allocations: 4 kB / 442.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002478/0.3016, allocations: 1.233 MB / 444.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00371/0.3053, allocations: 1.92 MB / 446.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3053, allocations: 192 / 446.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000686/0.306, allocations: 147.8 kB / 446.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005428/0.3066, allocations: 202.3 kB / 446.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.207e-05/0.3067, allocations: 15.98 kB / 446.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006337/0.313, allocations: 5.342 MB / 451.8 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.313, allocations: 0 / 451.8 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003274/0.3163, allocations: 1.395 MB / 453.2 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004406/0.3168, allocations: 239.9 kB / 453.4 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.3169, allocations: 20 kB / 453.4 MB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006545/0.3176, allocations: 47.95 kB / 453.5 MB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.3178, allocations: 64.56 kB / 453.5 MB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.3178, allocations: 16 kB / 453.5 MB, free: 3.086 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006117/0.3184, allocations: 455 kB / 454 MB, free: 2.645 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3184, allocations: 4 kB / 454 MB, free: 2.641 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008658/0.3193, allocations: 283.7 kB / 454.3 MB, free: 2.363 MB / 366.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.0001789/0.3195, allocations: 123.1 kB / 454.4 MB, free: 2.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002209/0.3217, allocations: 1.348 MB / 455.7 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.3217, allocations: 4 kB / 455.7 MB, free: 0.793 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001448/0.3232, allocations: 0.7692 MB / 456.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.3242, allocations: 238.8 kB / 456.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.3268, allocations: 1.601 MB / 458.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/0.3273, allocations: 0.9361 MB / 459.3 MB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003891/0.3277, allocations: 106.4 kB / 459.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.3279, allocations: 59.44 kB / 459.4 MB, free: 12.99 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3279, allocations: 0 / 459.4 MB, free: 12.99 MB / 382.1 MB Notification: Performance of Templates: time 0.03183/0.3598, allocations: 19.17 MB / 478.6 MB, free: 10.07 MB / 398.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches