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.001175/0.001175, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.5 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 58.95 kB / 308.4 MB, free: 15.94 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08939/0.09054, allocations: 50.54 MB / 358.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005664/0.09625, allocations: 5.048 MB / 364 MB, free: 8.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002143/0.09841, allocations: 1.336 MB / 365.3 MB, free: 6.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002485/0.09868, allocations: 8 kB / 365.3 MB, free: 6.973 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003739/0.09908, allocations: 162.5 kB / 365.5 MB, free: 6.812 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005435/0.09963, allocations: 321.2 kB / 365.8 MB, free: 6.496 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.1, allocations: 231.6 kB / 366 MB, free: 6.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001029/0.1011, allocations: 1.172 MB / 367.2 MB, free: 5.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003987/0.1015, allocations: 325.9 kB / 367.5 MB, free: 4.758 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004089/0.1019, allocations: 450.4 kB / 367.9 MB, free: 4.316 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005129/0.1024, allocations: 0.5058 MB / 368.4 MB, free: 3.809 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.1025, allocations: 100 kB / 368.5 MB, free: 3.711 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.1027, allocations: 108 kB / 368.6 MB, free: 3.605 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.1029, allocations: 227.2 kB / 368.9 MB, free: 3.383 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004482/0.1033, allocations: 0.5172 MB / 369.4 MB, free: 2.863 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009341/0.1043, allocations: 1.203 MB / 370.6 MB, free: 1.656 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1043, allocations: 0 / 370.6 MB, free: 1.656 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1043, allocations: 0 / 370.6 MB, free: 1.656 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.1043, allocations: 0 / 370.6 MB, free: 1.656 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.002226/0.1066, allocations: 1.345 MB / 371.9 MB, free: 244 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1066, allocations: 8.031 kB / 371.9 MB, free: 236 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.1068, allocations: 107.8 kB / 372 MB, free: 128 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1565/0.2633, allocations: 0.5825 MB / 372.6 MB, free: 20.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002222/0.2636, allocations: 140.9 kB / 372.8 MB, free: 20.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.2637, allocations: 59.5 kB / 372.8 MB, free: 20.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.2652, allocations: 0.8423 MB / 373.7 MB, free: 19.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.2652, allocations: 8.156 kB / 373.7 MB, free: 19.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.484e-05/0.2653, allocations: 27.38 kB / 373.7 MB, free: 19.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.2653, allocations: 18.52 kB / 373.7 MB, free: 19.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.2668, allocations: 0.5931 MB / 374.3 MB, free: 19.58 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.003518/0.2703, allocations: 2.053 MB / 376.4 MB, free: 18.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.2715, allocations: 0.8568 MB / 377.2 MB, free: 17.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007617/0.2723, allocations: 393.5 kB / 377.6 MB, free: 17.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.466e-05/0.2724, allocations: 17.69 kB / 377.6 MB, free: 17.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.2724, allocations: 54.78 kB / 377.7 MB, free: 17.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.625e-06/0.2725, allocations: 0.8125 kB / 377.7 MB, free: 17.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.004981/0.2774, allocations: 1.802 MB / 379.5 MB, free: 16.87 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001674/0.2776, allocations: 0.8229 MB / 380.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000851/0.2785, allocations: 0.6344 MB / 380.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.856e-05/0.2786, allocations: 45.8 kB / 381 MB, free: 15.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.2788, allocations: 330.8 kB / 381.3 MB, free: 15.28 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.2791, allocations: 252.8 kB / 381.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.2793, allocations: 141.4 kB / 381.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2794, allocations: 387.3 kB / 382.1 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006398/0.2801, allocations: 271.7 kB / 382.3 MB, free: 14.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000783/0.2809, allocations: 0.554 MB / 382.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.2821, allocations: 0.6754 MB / 383.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.2821, allocations: 0 / 383.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002634/0.2848, allocations: 1.101 MB / 384.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.253e-05/0.2848, allocations: 85.48 kB / 384.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.2849, allocations: 0 / 384.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006947/0.2856, allocations: 232.6 kB / 385 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006464/0.2862, allocations: 144.2 kB / 385.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006568/0.2928, allocations: 6.929 MB / 392 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008758/0.2937, allocations: 99.62 kB / 392.1 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.641e-05/0.2938, allocations: 22.66 kB / 392.1 MB, free: 6.801 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.0003728/0.2942, allocations: 225 kB / 392.4 MB, free: 6.617 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.2944, allocations: 90.28 kB / 392.5 MB, free: 6.574 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.2946, allocations: 91.52 kB / 392.5 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.2946, allocations: 7.625 kB / 392.6 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.2946, allocations: 0 / 392.6 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002399/0.297, allocations: 1.241 MB / 393.8 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003797/0.3008, allocations: 1.921 MB / 395.7 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3008, allocations: 0 / 395.7 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006757/0.3015, allocations: 141.5 kB / 395.9 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000509/0.302, allocations: 200.4 kB / 396 MB, free: 4.512 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.442e-05/0.3021, allocations: 11.59 kB / 396.1 MB, free: 4.504 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005535/0.3076, allocations: 5.355 MB / 401.4 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3077, allocations: 1.469 kB / 401.4 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003265/0.3109, allocations: 1.389 MB / 402.8 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005234/0.3115, allocations: 236.6 kB / 403 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/0.3117, allocations: 18.91 kB / 403.1 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007422/0.3125, allocations: 65.38 kB / 403.1 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/0.3127, allocations: 57.17 kB / 403.2 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.173e-05/0.3127, allocations: 21.02 kB / 403.2 MB, free: 14.37 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006815/0.3134, allocations: 452.7 kB / 403.6 MB, free: 14.11 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3134, allocations: 1.938 kB / 403.6 MB, free: 14.11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001051/0.3145, allocations: 280.5 kB / 403.9 MB, free: 14.07 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.0001986/0.3147, allocations: 130.3 kB / 404 MB, free: 13.96 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00234/0.317, allocations: 1.347 MB / 405.4 MB, free: 12.95 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.317, allocations: 1.75 kB / 405.4 MB, free: 12.95 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001299/0.3184, allocations: 0.7804 MB / 406.2 MB, free: 12.39 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009772/0.3193, allocations: 234.6 kB / 406.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/0.3223, allocations: 1.593 MB / 408 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006337/0.323, allocations: 0.9414 MB / 408.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004487/0.3234, allocations: 102.4 kB / 409 MB, free: 10.3 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.3236, allocations: 71.42 kB / 409.1 MB, free: 10.23 MB / 318.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3236, allocations: 0 / 409.1 MB, free: 10.23 MB / 318.1 MB Notification: Performance of Templates: time 0.02779/0.3514, allocations: 18.43 MB / 427.5 MB, free: 8.09 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 -s gbode -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