Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001778/0.001778, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002078/0.002078, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.5/1.5, allocations: 227.7 MB / 247.7 MB, free: 10.29 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 61.23 kB / 307.9 MB, free: 0.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1024, allocations: 50.54 MB / 358.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006682/0.1092, allocations: 5.049 MB / 363.5 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002617/0.1118, allocations: 1.324 MB / 364.8 MB, free: 7.539 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000319/0.1122, allocations: 8 kB / 364.8 MB, free: 7.531 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004211/0.1126, allocations: 162.5 kB / 365 MB, free: 7.371 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006399/0.1133, allocations: 325.2 kB / 365.3 MB, free: 7.051 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.1137, allocations: 231.6 kB / 365.5 MB, free: 6.824 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001269/0.115, allocations: 1.168 MB / 366.7 MB, free: 5.648 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004681/0.1155, allocations: 322.2 kB / 367 MB, free: 5.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005364/0.116, allocations: 450.4 kB / 367.4 MB, free: 4.879 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006151/0.1167, allocations: 0.5057 MB / 367.9 MB, free: 4.371 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.1168, allocations: 104 kB / 368 MB, free: 4.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.117, allocations: 108 kB / 368.1 MB, free: 4.164 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.1172, allocations: 227.2 kB / 368.4 MB, free: 3.941 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005462/0.1178, allocations: 0.5172 MB / 368.9 MB, free: 3.422 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.119, allocations: 1.184 MB / 370.1 MB, free: 2.234 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.119, allocations: 0 / 370.1 MB, free: 2.234 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.119, allocations: 3.938 kB / 370.1 MB, free: 2.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.119, allocations: 0 / 370.1 MB, free: 2.23 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.002576/0.1216, allocations: 1.341 MB / 371.4 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.1217, allocations: 12.03 kB / 371.4 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.1219, allocations: 103.8 kB / 371.5 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009403/0.1228, allocations: 0.5754 MB / 372.1 MB, free: 92 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1622/0.2851, allocations: 171.8 kB / 372.3 MB, free: 19.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002074/0.2853, allocations: 62.38 kB / 372.3 MB, free: 19.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.2869, allocations: 0.8568 MB / 373.2 MB, free: 19.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.2869, allocations: 0 / 373.2 MB, free: 19.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.779e-05/0.287, allocations: 29.08 kB / 373.2 MB, free: 19.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.287, allocations: 13.16 kB / 373.2 MB, free: 19.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.2885, allocations: 0.6205 MB / 373.8 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.003614/0.2922, allocations: 2.069 MB / 375.9 MB, free: 18.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.2935, allocations: 0.8743 MB / 376.8 MB, free: 17.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007812/0.2943, allocations: 410.2 kB / 377.2 MB, free: 17.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.454e-05/0.2943, allocations: 15.19 kB / 377.2 MB, free: 17.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.2944, allocations: 50.88 kB / 377.3 MB, free: 17.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.615e-06/0.2944, allocations: 0 / 377.3 MB, free: 17.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.005105/0.2995, allocations: 1.83 MB / 379.1 MB, free: 16.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001562/0.2997, allocations: 0.8264 MB / 379.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007774/0.3005, allocations: 0.6329 MB / 380.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.343e-05/0.3005, allocations: 45.39 kB / 380.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.3008, allocations: 332.8 kB / 380.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.3009, allocations: 255 kB / 381.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/0.3012, allocations: 148.1 kB / 381.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3013, allocations: 389.5 kB / 381.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007009/0.302, allocations: 285.5 kB / 382 MB, free: 14.65 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000842/0.3029, allocations: 0.5628 MB / 382.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.3042, allocations: 0.6999 MB / 383.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3042, allocations: 4 kB / 383.2 MB, free: 13.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002679/0.3069, allocations: 1.119 MB / 384.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.219e-05/0.307, allocations: 85.27 kB / 384.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.307, allocations: 5.766 kB / 384.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006783/0.3077, allocations: 236.3 kB / 384.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006454/0.3083, allocations: 146.9 kB / 384.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006453/0.3148, allocations: 6.94 MB / 391.8 MB, free: 6.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009172/0.3157, allocations: 104.9 kB / 391.9 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/0.3158, allocations: 22.42 kB / 391.9 MB, free: 6.863 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.0003402/0.3161, allocations: 217.1 kB / 392.1 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.3163, allocations: 85.3 kB / 392.2 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.3165, allocations: 103 kB / 392.3 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.3165, allocations: 8.422 kB / 392.3 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.3165, allocations: 0 / 392.3 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00241/0.3189, allocations: 1.266 MB / 393.6 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003606/0.3225, allocations: 1.945 MB / 395.5 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3225, allocations: 0 / 395.5 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006793/0.3232, allocations: 152.7 kB / 395.6 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004991/0.3237, allocations: 196.3 kB / 395.8 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.386e-05/0.3238, allocations: 17.28 kB / 395.9 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005292/0.3291, allocations: 5.349 MB / 401.2 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3291, allocations: 1.375 kB / 401.2 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003535/0.3327, allocations: 1.44 MB / 402.6 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004119/0.3331, allocations: 236.5 kB / 402.9 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.3332, allocations: 22.27 kB / 402.9 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006714/0.3339, allocations: 55.8 kB / 403 MB, free: 14.42 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/0.3341, allocations: 66.88 kB / 403 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/0.3341, allocations: 16.78 kB / 403 MB, free: 14.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005803/0.3347, allocations: 457 kB / 403.5 MB, free: 14.11 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3347, allocations: 0 / 403.5 MB, free: 14.11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008888/0.3356, allocations: 286 kB / 403.8 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.0001768/0.3358, allocations: 126.4 kB / 403.9 MB, free: 13.96 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002718/0.3385, allocations: 1.404 MB / 405.3 MB, free: 12.92 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3386, allocations: 0 / 405.3 MB, free: 12.92 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001436/0.34, allocations: 0.7821 MB / 406.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009848/0.341, allocations: 235.7 kB / 406.3 MB, free: 12.24 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.3437, allocations: 1.647 MB / 407.9 MB, free: 11.16 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005799/0.3443, allocations: 0.9401 MB / 408.9 MB, free: 10.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.3446, allocations: 71.42 kB / 409 MB, free: 10.12 MB / 318.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3446, allocations: 7.938 kB / 409 MB, free: 10.12 MB / 318.1 MB Notification: Performance of Templates: time 0.02721/0.3718, allocations: 22.53 MB / 431.5 MB, free: 3.66 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches