Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001487/0.001487, allocations: 108.7 kB / 17.75 MB, free: 5.223 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.001743/0.001743, allocations: 190.4 kB / 18.67 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001/0.001, allocations: 51.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2082, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004475/0.2127, allocations: 3.677 MB / 405.1 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.2141, allocations: 0.9773 MB / 406.1 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.2143, allocations: 8 kB / 406.1 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.2147, allocations: 99.08 kB / 406.2 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003556/0.215, allocations: 210.3 kB / 406.4 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.2153, allocations: 123.8 kB / 406.5 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006336/0.2159, allocations: 0.6847 MB / 407.2 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002766/0.2162, allocations: 202.2 kB / 407.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/0.2165, allocations: 247.1 kB / 407.6 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.2168, allocations: 302.7 kB / 407.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.877e-05/0.2169, allocations: 56 kB / 408 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.217, allocations: 60 kB / 408 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.965e-05/0.2171, allocations: 119.6 kB / 408.1 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002753/0.2174, allocations: 318.5 kB / 408.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006133/0.218, allocations: 0.6901 MB / 409.1 MB, free: 1.117 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.218, allocations: 4 kB / 409.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.218, allocations: 4 kB / 409.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.106e-06/0.218, allocations: 0 / 409.1 MB, free: 1.109 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.001515/0.2196, allocations: 0.8933 MB / 410 MB, free: 164 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.2196, allocations: 8.031 kB / 410 MB, free: 156 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.2197, allocations: 64.19 kB / 410.1 MB, free: 92 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006835/0.2204, allocations: 438.5 kB / 410.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.128e-05/0.2205, allocations: 58.84 kB / 410.6 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.495e-05/0.2206, allocations: 36.38 kB / 410.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008263/0.2214, allocations: 485.1 kB / 411.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.2214, allocations: 0 / 411.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.109e-05/0.2215, allocations: 16 kB / 411.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.2215, allocations: 8 kB / 411.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008282/0.2223, allocations: 338.3 kB / 411.5 MB, free: 14.64 MB / 334.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.00191/0.2243, allocations: 1.279 MB / 412.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006782/0.2249, allocations: 375.5 kB / 413.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003983/0.2254, allocations: 176.8 kB / 413.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.78e-05/0.2254, allocations: 8.594 kB / 413.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.2254, allocations: 46.55 kB / 413.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.954e-06/0.2254, allocations: 0 / 413.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001603/0.2271, allocations: 0.723 MB / 414.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000165/0.2272, allocations: 445 kB / 414.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004871/0.2277, allocations: 454 kB / 414.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/0.2278, allocations: 37.69 kB / 415 MB, free: 10.83 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.2279, allocations: 236.4 kB / 415.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.862e-05/0.2281, allocations: 126.2 kB / 415.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.2282, allocations: 81.64 kB / 415.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.2283, allocations: 358.7 kB / 415.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003819/0.2287, allocations: 139.9 kB / 415.9 MB, free: 9.883 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004815/0.2292, allocations: 286.5 kB / 416.2 MB, free: 9.547 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000748/0.23, allocations: 341.1 kB / 416.5 MB, free: 9.203 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.23, allocations: 0 / 416.5 MB, free: 9.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009945/0.231, allocations: 489.8 kB / 417 MB, free: 8.707 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.231, allocations: 37.7 kB / 417 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.231, allocations: 3.938 kB / 417 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001553/0.2312, allocations: 49.69 kB / 417.1 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004145/0.2316, allocations: 79.89 kB / 417.1 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002359/0.234, allocations: 2.966 MB / 420.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004239/0.2344, allocations: 51.7 kB / 420.2 MB, free: 5.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.2345, allocations: 12 kB / 420.2 MB, free: 5.219 MB / 334.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.000205/0.2347, allocations: 177.7 kB / 420.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.668e-05/0.2348, allocations: 47.44 kB / 420.4 MB, free: 4.988 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.2349, allocations: 52.75 kB / 420.4 MB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000952/0.2358, allocations: 0.7309 MB / 421.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.2358, allocations: 0 / 421.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/0.236, allocations: 168.3 kB / 421.3 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.363e-05/0.2361, allocations: 19.92 kB / 421.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003901/0.2365, allocations: 27.97 kB / 421.4 MB, free: 3.867 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.027e-05/0.2366, allocations: 19.97 kB / 421.4 MB, free: 3.848 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001143/0.2377, allocations: 472.6 kB / 421.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001312/0.2391, allocations: 0.7293 MB / 422.6 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003778/0.2395, allocations: 171.9 kB / 422.8 MB, free: 2.465 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003362/0.2398, allocations: 323.1 kB / 423.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of Backend: time 5.51e-07/0.2398, allocations: 0 / 423.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.241, allocations: 0.5966 MB / 423.7 MB, free: 1.516 MB / 334.1 MB Notification: Performance of SimCode: time 0.001726/0.2427, allocations: 1.419 MB / 425.1 MB, free: 40 kB / 334.1 MB Notification: Performance of Templates: time 0.01519/0.2579, allocations: 9.26 MB / 434.4 MB, free: 6.918 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches