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.0009588/0.0009591, allocations: 92.67 kB / 17.35 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001385/0.001385, allocations: 200 kB / 18.28 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.8 MB / 246.8 MB, free: 9.758 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002369/0.000237, allocations: 4.234 kB / 307.7 MB, free: 0.6055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08143/0.08168, allocations: 51.52 MB / 359.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.004833/0.08656, allocations: 4.666 MB / 363.9 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002805/0.0894, allocations: 1.266 MB / 365.2 MB, free: 7.125 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004926/0.08992, allocations: 8 kB / 365.2 MB, free: 7.117 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004437/0.09038, allocations: 127.1 kB / 365.3 MB, free: 6.992 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007711/0.09116, allocations: 285.8 kB / 365.6 MB, free: 6.711 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004494/0.09162, allocations: 199.7 kB / 365.8 MB, free: 6.516 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001282/0.09291, allocations: 1.113 MB / 366.9 MB, free: 5.395 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004333/0.09336, allocations: 282.3 kB / 367.2 MB, free: 5.105 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005538/0.09392, allocations: 410.3 kB / 367.6 MB, free: 4.703 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005837/0.09451, allocations: 474 kB / 368 MB, free: 4.238 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.09467, allocations: 67.98 kB / 368.1 MB, free: 4.172 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.09487, allocations: 72 kB / 368.2 MB, free: 4.102 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.09503, allocations: 187.2 kB / 368.4 MB, free: 3.918 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005099/0.09555, allocations: 0.4954 MB / 368.9 MB, free: 3.414 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009397/0.09649, allocations: 1.132 MB / 370 MB, free: 2.277 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.09651, allocations: 4 kB / 370 MB, free: 2.273 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.09652, allocations: 0 / 370 MB, free: 2.273 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.781e-05/0.09655, allocations: 0 / 370 MB, free: 2.273 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.00225/0.09881, allocations: 1.201 MB / 371.2 MB, free: 1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.09885, allocations: 11.97 kB / 371.2 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000236/0.0991, allocations: 107.8 kB / 371.3 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009066/0.1, allocations: 0.5832 MB / 371.9 MB, free: 268 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003244/0.1004, allocations: 170.9 kB / 372.1 MB, free: 80 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.1005, allocations: 64.12 kB / 372.1 MB, free: 16 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1601/0.2606, allocations: 0.8705 MB / 373 MB, free: 19.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.2606, allocations: 1.375 kB / 373 MB, free: 19.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.682e-05/0.2607, allocations: 27.2 kB / 373 MB, free: 19.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.2608, allocations: 19.02 kB / 373 MB, free: 19.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001734/0.2625, allocations: 0.662 MB / 373.7 MB, free: 19.22 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.003258/0.2658, allocations: 2.08 MB / 375.8 MB, free: 18.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.2672, allocations: 0.8993 MB / 376.7 MB, free: 17.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008211/0.268, allocations: 428.5 kB / 377.1 MB, free: 17.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.233e-05/0.2681, allocations: 17.42 kB / 377.1 MB, free: 17.44 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.2681, allocations: 46.12 kB / 377.2 MB, free: 17.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.364e-06/0.2681, allocations: 0 / 377.2 MB, free: 17.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.005377/0.2735, allocations: 1.991 MB / 379.2 MB, free: 16.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/0.2737, allocations: 0.8279 MB / 380 MB, free: 15.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007633/0.2744, allocations: 0.6287 MB / 380.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.216e-05/0.2745, allocations: 45.55 kB / 380.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.2747, allocations: 341.7 kB / 381 MB, free: 14.94 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.2749, allocations: 251.1 kB / 381.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.625e-05/0.275, allocations: 58.47 kB / 381.3 MB, free: 14.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.2751, allocations: 396.3 kB / 381.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007259/0.2758, allocations: 300.7 kB / 382 MB, free: 14.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008811/0.2767, allocations: 0.5908 MB / 382.6 MB, free: 13.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.2781, allocations: 0.7376 MB / 383.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2781, allocations: 0.9688 kB / 383.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002761/0.2809, allocations: 1.202 MB / 384.5 MB, free: 12.99 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.068e-05/0.281, allocations: 84.8 kB / 384.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.281, allocations: 2.656 kB / 384.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006906/0.2817, allocations: 255.5 kB / 384.8 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006528/0.2823, allocations: 152.5 kB / 385 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00631/0.2887, allocations: 6.499 MB / 391.5 MB, free: 7.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009054/0.2896, allocations: 126.1 kB / 391.6 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.076e-05/0.2896, allocations: 25.53 kB / 391.6 MB, free: 6.949 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.0003064/0.29, allocations: 221.6 kB / 391.9 MB, free: 6.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.2901, allocations: 93.33 kB / 391.9 MB, free: 6.723 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.2903, allocations: 88.17 kB / 392 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.2903, allocations: 7.594 kB / 392 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.2903, allocations: 3.938 kB / 392 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002592/0.2929, allocations: 1.341 MB / 393.4 MB, free: 5.848 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003769/0.2967, allocations: 2.033 MB / 395.4 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2967, allocations: 0 / 395.4 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006944/0.2974, allocations: 154.8 kB / 395.6 MB, free: 4.746 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005033/0.2979, allocations: 220.6 kB / 395.8 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.049e-05/0.298, allocations: 16.12 kB / 395.8 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005262/0.3032, allocations: 5.065 MB / 400.9 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3032, allocations: 1.312 kB / 400.9 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003608/0.3069, allocations: 1.52 MB / 402.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003742/0.3072, allocations: 250.1 kB / 402.6 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.3073, allocations: 23.88 kB / 402.7 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007139/0.3081, allocations: 70.62 kB / 402.7 MB, free: 14.88 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/0.3082, allocations: 61.94 kB / 402.8 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.65e-05/0.3083, allocations: 17.56 kB / 402.8 MB, free: 14.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005575/0.3089, allocations: 464.8 kB / 403.3 MB, free: 14.57 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3089, allocations: 1.969 kB / 403.3 MB, free: 14.57 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008591/0.3097, allocations: 280.1 kB / 403.5 MB, free: 14.53 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.000149/0.3099, allocations: 118.8 kB / 403.6 MB, free: 14.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00222/0.3121, allocations: 1.412 MB / 405.1 MB, free: 13.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3121, allocations: 1.469 kB / 405.1 MB, free: 13.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001434/0.3136, allocations: 0.8223 MB / 405.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009728/0.3145, allocations: 213.6 kB / 406.1 MB, free: 12.55 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/0.3172, allocations: 1.988 MB / 408.1 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000499/0.3178, allocations: 0.9401 MB / 409 MB, free: 9.566 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004123/0.3182, allocations: 98.44 kB / 409.1 MB, free: 9.465 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.3184, allocations: 63.42 kB / 409.2 MB, free: 9.402 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3184, allocations: 0 / 409.2 MB, free: 9.402 MB / 318.1 MB Notification: Performance of Templates: time 0.02647/0.3448, allocations: 16.91 MB / 426.1 MB, free: 8.754 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/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