Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 114.4 kB / 17.73 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 187.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 47.92 kB / 328.5 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09222/0.09346, allocations: 46.62 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004506/0.09801, allocations: 3.658 MB / 378.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2009/0.2989, allocations: 1.016 MB / 379.8 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000451/0.2994, allocations: 4.125 kB / 379.8 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003781/0.2998, allocations: 111.4 kB / 379.9 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004057/0.3002, allocations: 194 kB / 380.1 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.3006, allocations: 130.3 kB / 380.2 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006209/0.3012, allocations: 0.6785 MB / 380.9 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002884/0.3015, allocations: 196.4 kB / 381.1 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002772/0.3018, allocations: 260.7 kB / 381.4 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000323/0.3021, allocations: 294.9 kB / 381.6 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.822e-05/0.3022, allocations: 56.41 kB / 381.7 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.3024, allocations: 58.47 kB / 381.8 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.3025, allocations: 131.1 kB / 381.9 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003193/0.3028, allocations: 307.8 kB / 382.2 MB, free: 9.305 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008147/0.3036, allocations: 0.6956 MB / 382.9 MB, free: 9.199 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.3036, allocations: 4.562 kB / 382.9 MB, free: 9.199 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.3036, allocations: 0 / 382.9 MB, free: 9.199 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.982e-05/0.3037, allocations: 0 / 382.9 MB, free: 9.199 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00153/0.3052, allocations: 0.8899 MB / 383.8 MB, free: 8.609 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3053, allocations: 11.22 kB / 383.8 MB, free: 8.609 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.3054, allocations: 63.31 kB / 383.9 MB, free: 8.578 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007381/0.3061, allocations: 434.8 kB / 384.3 MB, free: 8.309 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.565e-05/0.3062, allocations: 56.31 kB / 384.3 MB, free: 8.277 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.3063, allocations: 37.27 kB / 384.4 MB, free: 8.273 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000853/0.3072, allocations: 487.5 kB / 384.8 MB, free: 8.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.3072, allocations: 0 / 384.8 MB, free: 8.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.269e-05/0.3073, allocations: 16.59 kB / 384.9 MB, free: 8.086 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.3073, allocations: 7.75 kB / 384.9 MB, free: 8.086 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008344/0.3081, allocations: 338.1 kB / 385.2 MB, free: 7.984 MB / 318.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.002092/0.3102, allocations: 1.287 MB / 386.5 MB, free: 7.156 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006854/0.3109, allocations: 386.1 kB / 386.9 MB, free: 6.938 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003858/0.3113, allocations: 176.4 kB / 387 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.712e-05/0.3114, allocations: 11.08 kB / 387 MB, free: 6.871 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.3114, allocations: 43.58 kB / 387.1 MB, free: 6.824 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.003e-06/0.3114, allocations: 0 / 387.1 MB, free: 6.824 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.001569/0.313, allocations: 0.7165 MB / 387.8 MB, free: 6.414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.448e-05/0.3131, allocations: 448.2 kB / 388.2 MB, free: 5.879 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004867/0.3136, allocations: 461.6 kB / 388.7 MB, free: 5.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.3136, allocations: 34.2 kB / 388.7 MB, free: 5.625 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.3137, allocations: 240.1 kB / 389 MB, free: 5.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.313e-05/0.3138, allocations: 117.8 kB / 389.1 MB, free: 5.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.314, allocations: 84.91 kB / 389.2 MB, free: 5.289 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.3141, allocations: 360.5 kB / 389.5 MB, free: 4.953 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.3145, allocations: 135 kB / 389.6 MB, free: 4.914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005124/0.315, allocations: 283.7 kB / 389.9 MB, free: 4.707 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007419/0.3158, allocations: 342.9 kB / 390.3 MB, free: 4.543 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3158, allocations: 0 / 390.3 MB, free: 4.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001043/0.3168, allocations: 483.4 kB / 390.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.647e-05/0.3169, allocations: 32.92 kB / 390.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.3169, allocations: 0.9375 kB / 390.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000193/0.3171, allocations: 52.52 kB / 390.8 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004176/0.3175, allocations: 84.45 kB / 390.9 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.3194, allocations: 2.964 MB / 393.9 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/0.3199, allocations: 55.53 kB / 393.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.32, allocations: 8.344 kB / 393.9 MB, free: 1.297 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002009/0.3202, allocations: 174.9 kB / 394.1 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-05/0.3202, allocations: 50.72 kB / 394.1 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.745e-05/0.3203, allocations: 54.16 kB / 394.2 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3204, allocations: 4.453 kB / 394.2 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3204, allocations: 0 / 394.2 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008634/0.3212, allocations: 0.7323 MB / 394.9 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.3229, allocations: 1.017 MB / 395.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.3229, allocations: 0.5156 kB / 395.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004426/0.3234, allocations: 85.64 kB / 396 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3234, allocations: 1.797 kB / 396 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.3234, allocations: 15.06 kB / 396 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.3235, allocations: 4.172 kB / 396.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3235, allocations: 0 / 396.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.3248, allocations: 0.6472 MB / 396.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.3251, allocations: 168.3 kB / 396.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.289e-05/0.3251, allocations: 15.97 kB / 396.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/0.3255, allocations: 29.16 kB / 396.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.602e-05/0.3256, allocations: 27.83 kB / 396.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.3256, allocations: 7.297 kB / 396.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004338/0.3261, allocations: 325.6 kB / 397.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3261, allocations: 0 / 397.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005356/0.3266, allocations: 135.5 kB / 397.4 MB, free: 15.15 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001303/0.3268, allocations: 117 kB / 397.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.328, allocations: 0.6348 MB / 398.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.328, allocations: 4.844 kB / 398.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004195/0.3285, allocations: 182.2 kB / 398.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006889/0.3292, allocations: 141.6 kB / 398.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.3308, allocations: 0.9077 MB / 399.4 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.3312, allocations: 0.8295 MB / 400.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002533/0.3315, allocations: 66.59 kB / 400.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.3316, allocations: 45.45 kB / 400.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of SimCode: time 1.794e-06/0.3316, allocations: 1.281 kB / 400.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of Templates: time 0.01592/0.3476, allocations: 8.939 MB / 409.2 MB, free: 9.762 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches