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.001537/0.001537, allocations: 113.2 kB / 17.73 MB, free: 5.32 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.00186/0.00186, allocations: 184.2 kB / 18.66 MB, free: 4.398 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.426/1.426, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001269/0.001269, allocations: 55.92 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09407/0.09535, allocations: 46.61 MB / 375.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.00514/0.1005, allocations: 3.662 MB / 378.8 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.203/0.3036, allocations: 1.015 MB / 379.8 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004117/0.3041, allocations: 8.312 kB / 379.8 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004137/0.3045, allocations: 112.2 kB / 379.9 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004187/0.305, allocations: 200.2 kB / 380.1 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.3053, allocations: 131.6 kB / 380.2 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006774/0.306, allocations: 0.6821 MB / 380.9 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002663/0.3063, allocations: 197.3 kB / 381.1 MB, free: 9.539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002569/0.3065, allocations: 258.2 kB / 381.4 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003045/0.3068, allocations: 293.9 kB / 381.7 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.057e-05/0.3069, allocations: 56.62 kB / 381.7 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.307, allocations: 58.31 kB / 381.8 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.3072, allocations: 132.8 kB / 381.9 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003048/0.3075, allocations: 306.8 kB / 382.2 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007496/0.3083, allocations: 0.6959 MB / 382.9 MB, free: 9.219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3083, allocations: 0 / 382.9 MB, free: 9.219 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3083, allocations: 0 / 382.9 MB, free: 9.219 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.3083, allocations: 0 / 382.9 MB, free: 9.219 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.001423/0.3097, allocations: 0.8931 MB / 383.8 MB, free: 8.629 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.3098, allocations: 9.75 kB / 383.8 MB, free: 8.629 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.3099, allocations: 66.28 kB / 383.9 MB, free: 8.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006647/0.3105, allocations: 433.8 kB / 384.3 MB, free: 8.328 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.454e-05/0.3106, allocations: 57.2 kB / 384.3 MB, free: 8.297 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.229e-05/0.3107, allocations: 35.06 kB / 384.4 MB, free: 8.293 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007988/0.3115, allocations: 486.8 kB / 384.9 MB, free: 8.109 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.3115, allocations: 0 / 384.9 MB, free: 8.109 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.3116, allocations: 16.56 kB / 384.9 MB, free: 8.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.3116, allocations: 7.656 kB / 384.9 MB, free: 8.098 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007864/0.3124, allocations: 342 kB / 385.2 MB, free: 7.996 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.001828/0.3142, allocations: 1.29 MB / 386.5 MB, free: 7.164 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000629/0.3149, allocations: 382 kB / 386.9 MB, free: 6.949 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003951/0.3153, allocations: 180.1 kB / 387.1 MB, free: 6.883 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.302e-05/0.3153, allocations: 10 kB / 387.1 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.3154, allocations: 40.88 kB / 387.1 MB, free: 6.836 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.733e-06/0.3154, allocations: 0 / 387.1 MB, free: 6.836 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.001485/0.3169, allocations: 0.7211 MB / 387.8 MB, free: 6.422 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.896e-05/0.3169, allocations: 444.4 kB / 388.3 MB, free: 5.891 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004811/0.3174, allocations: 460.6 kB / 388.7 MB, free: 5.672 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.3175, allocations: 34.39 kB / 388.7 MB, free: 5.637 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.3176, allocations: 241.1 kB / 389 MB, free: 5.441 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.734e-05/0.3177, allocations: 117.2 kB / 389.1 MB, free: 5.352 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.3179, allocations: 83.23 kB / 389.2 MB, free: 5.301 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.954e-05/0.3179, allocations: 361 kB / 389.5 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/0.3183, allocations: 134 kB / 389.7 MB, free: 4.926 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004636/0.3188, allocations: 287.9 kB / 389.9 MB, free: 4.715 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007438/0.3195, allocations: 339.5 kB / 390.3 MB, free: 4.555 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3196, allocations: 0 / 390.3 MB, free: 4.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009707/0.3205, allocations: 483.3 kB / 390.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/0.3206, allocations: 32.2 kB / 390.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3206, allocations: 2.094 kB / 390.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001778/0.3208, allocations: 51.16 kB / 390.8 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004037/0.3212, allocations: 81.2 kB / 390.9 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/0.3233, allocations: 2.967 MB / 393.9 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005473/0.3238, allocations: 56.8 kB / 393.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.3239, allocations: 10.09 kB / 393.9 MB, free: 1.305 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.0002377/0.3241, allocations: 173.3 kB / 394.1 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.653e-05/0.3242, allocations: 51.58 kB / 394.2 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.3243, allocations: 54.64 kB / 394.2 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.3243, allocations: 4.125 kB / 394.2 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3243, allocations: 0 / 394.2 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008574/0.3252, allocations: 0.728 MB / 394.9 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.3269, allocations: 1.018 MB / 396 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3269, allocations: 0 / 396 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004385/0.3274, allocations: 90.22 kB / 396 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.3274, allocations: 1.438 kB / 396 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.3274, allocations: 13.44 kB / 396.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.3274, allocations: 2.031 kB / 396.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3274, allocations: 0 / 396.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.3288, allocations: 0.6509 MB / 396.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/0.329, allocations: 168.2 kB / 396.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.376e-05/0.3291, allocations: 14.78 kB / 396.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003674/0.3295, allocations: 30.67 kB / 396.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.3296, allocations: 30.34 kB / 396.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.3297, allocations: 8.656 kB / 397 MB, free: 15.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004502/0.3301, allocations: 324.4 kB / 397.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3301, allocations: 1.312 kB / 397.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005202/0.3307, allocations: 135 kB / 397.4 MB, free: 15.16 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.0002071/0.3309, allocations: 117.7 kB / 397.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.3323, allocations: 0.6299 MB / 398.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.3323, allocations: 9.156 kB / 398.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003931/0.3327, allocations: 178 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.0006532/0.3334, allocations: 140.7 kB / 398.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.3351, allocations: 0.9236 MB / 399.4 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005895/0.3357, allocations: 0.8258 MB / 400.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002967/0.336, allocations: 62.77 kB / 400.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.3361, allocations: 41.38 kB / 400.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of SimCode: time 2.685e-06/0.3361, allocations: 0.8438 kB / 400.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of Templates: time 0.01825/0.3544, allocations: 8.938 MB / 409.3 MB, free: 9.754 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