Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009297/0.0009297, allocations: 194.7 kB / 17.43 MB, free: 4.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 229.5 MB / 247.7 MB, free: 6.32 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000736/0.000736, allocations: 103.4 kB / 299.8 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002192/0.0002194, allocations: 4 kB / 360.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1961, allocations: 51.4 MB / 412 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.002466/0.1986, allocations: 3.184 MB / 415.2 MB, free: 22.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1998, allocations: 1.154 MB / 416.4 MB, free: 21.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.1999, allocations: 4 kB / 416.4 MB, free: 21.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002292/0.2002, allocations: 91.38 kB / 416.5 MB, free: 21.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.2005, allocations: 178.7 kB / 416.6 MB, free: 21.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.2006, allocations: 107.8 kB / 416.8 MB, free: 21.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003997/0.2011, allocations: 0.6494 MB / 417.4 MB, free: 20.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.2013, allocations: 178.7 kB / 417.6 MB, free: 20.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.2015, allocations: 231 kB / 417.8 MB, free: 20.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.2017, allocations: 270.8 kB / 418.1 MB, free: 19.81 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.626e-05/0.2017, allocations: 36 kB / 418.1 MB, free: 19.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.517e-05/0.2018, allocations: 36 kB / 418.1 MB, free: 19.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.123e-05/0.2019, allocations: 111.5 kB / 418.2 MB, free: 19.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.2021, allocations: 312.2 kB / 418.5 MB, free: 19.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003668/0.2025, allocations: 0.6474 MB / 419.2 MB, free: 18.67 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2025, allocations: 4 kB / 419.2 MB, free: 18.67 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2025, allocations: 0 / 419.2 MB, free: 18.67 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.2025, allocations: 0 / 419.2 MB, free: 18.67 MB / 298.7 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.001044/0.2036, allocations: 0.8078 MB / 420 MB, free: 17.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.2036, allocations: 12.03 kB / 420 MB, free: 17.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.2037, allocations: 68.19 kB / 420.1 MB, free: 17.72 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005057/0.2042, allocations: 438.5 kB / 420.5 MB, free: 17.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/0.2044, allocations: 82.89 kB / 420.6 MB, free: 17.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/0.2045, allocations: 32.38 kB / 420.6 MB, free: 17.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007021/0.2052, allocations: 0.4971 MB / 421.1 MB, free: 16.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.2052, allocations: 0 / 421.1 MB, free: 16.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.2052, allocations: 20 kB / 421.1 MB, free: 16.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.2052, allocations: 8 kB / 421.2 MB, free: 16.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000788/0.206, allocations: 382.4 kB / 421.5 MB, free: 16.19 MB / 298.7 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.001502/0.2076, allocations: 1.29 MB / 422.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005976/0.2082, allocations: 406 kB / 423.2 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003738/0.2085, allocations: 204.7 kB / 423.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.2086, allocations: 11.98 kB / 423.4 MB, free: 14.17 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.2086, allocations: 42.5 kB / 423.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 1.383e-06/0.2086, allocations: 0 / 423.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001413/0.21, allocations: 0.7948 MB / 424.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/0.2101, allocations: 445 kB / 424.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/0.2105, allocations: 450 kB / 425.1 MB, free: 12.28 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.2105, allocations: 37.7 kB / 425.2 MB, free: 12.24 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.2106, allocations: 240.4 kB / 425.4 MB, free: 12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.769e-05/0.2107, allocations: 118.2 kB / 425.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.759e-05/0.2107, allocations: 12 kB / 425.5 MB, free: 11.87 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.713e-05/0.2108, allocations: 358.7 kB / 425.9 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.2112, allocations: 163.8 kB / 426 MB, free: 11.35 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004202/0.2116, allocations: 315.7 kB / 426.4 MB, free: 10.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006908/0.2123, allocations: 389 kB / 426.7 MB, free: 10.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2123, allocations: 0 / 426.7 MB, free: 10.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008727/0.2132, allocations: 0.5135 MB / 427.2 MB, free: 10.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.2132, allocations: 33.64 kB / 427.3 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2132, allocations: 0 / 427.3 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001325/0.2134, allocations: 53.69 kB / 427.3 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004234/0.2138, allocations: 99.88 kB / 427.4 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.2153, allocations: 2.736 MB / 430.2 MB, free: 6.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.2157, allocations: 71.69 kB / 430.2 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.2157, allocations: 15.98 kB / 430.2 MB, free: 6.781 MB / 298.7 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.0001536/0.2159, allocations: 165.8 kB / 430.4 MB, free: 6.609 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.74e-05/0.2159, allocations: 59.28 kB / 430.5 MB, free: 6.551 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.01e-05/0.216, allocations: 52.77 kB / 430.5 MB, free: 6.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.216, allocations: 8 kB / 430.5 MB, free: 6.492 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.216, allocations: 3.984 kB / 430.5 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007806/0.2168, allocations: 0.7623 MB / 431.3 MB, free: 5.621 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.2182, allocations: 1.065 MB / 432.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2182, allocations: 0 / 432.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004108/0.2186, allocations: 103.8 kB / 432.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.2186, allocations: 4 kB / 432.5 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.2186, allocations: 4 kB / 432.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2187, allocations: 0 / 432.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2187, allocations: 4 kB / 432.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.2198, allocations: 0.7099 MB / 433.2 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.2199, allocations: 172.4 kB / 433.4 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.283e-05/0.22, allocations: 15.98 kB / 433.4 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.2204, allocations: 43.95 kB / 433.4 MB, free: 3.406 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.331e-05/0.2204, allocations: 23.89 kB / 433.4 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.2205, allocations: 15.98 kB / 433.4 MB, free: 3.367 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002807/0.2207, allocations: 319.1 kB / 433.8 MB, free: 3.055 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2208, allocations: 0 / 433.8 MB, free: 3.055 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003854/0.2211, allocations: 139.8 kB / 433.9 MB, free: 2.918 MB / 298.7 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.0001328/0.2213, allocations: 115.1 kB / 434 MB, free: 2.797 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.2223, allocations: 0.6801 MB / 434.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2223, allocations: 0 / 434.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003741/0.2227, allocations: 195.8 kB / 434.9 MB, free: 1.887 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006382/0.2234, allocations: 129.9 kB / 435 MB, free: 1.758 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.2246, allocations: 1.164 MB / 436.2 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.2249, allocations: 0.8239 MB / 437 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002549/0.2252, allocations: 64.36 kB / 437.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.2253, allocations: 39.44 kB / 437.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2253, allocations: 0 / 437.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of Templates: time 0.01247/0.2378, allocations: 8.176 MB / 445.3 MB, free: 7.488 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches