Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001565/0.001565, allocations: 114.2 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001982/0.001982, allocations: 214.8 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2158, allocations: 50.55 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004129/0.2199, allocations: 3.672 MB / 413.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.2213, allocations: 1.009 MB / 414.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.2214, allocations: 7.938 kB / 414.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.2217, allocations: 111 kB / 414.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003402/0.2221, allocations: 206.3 kB / 414.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.2223, allocations: 131.8 kB / 415.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000618/0.223, allocations: 0.6803 MB / 415.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002637/0.2232, allocations: 198.2 kB / 415.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002347/0.2235, allocations: 259 kB / 416.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/0.2238, allocations: 294.8 kB / 416.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.18e-05/0.2239, allocations: 56 kB / 416.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.224, allocations: 64 kB / 416.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.2241, allocations: 127.5 kB / 416.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002624/0.2244, allocations: 306.6 kB / 417 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006156/0.225, allocations: 0.7001 MB / 417.7 MB, free: 9.766 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.225, allocations: 0 / 417.7 MB, free: 9.766 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.225, allocations: 0 / 417.7 MB, free: 9.766 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.225, allocations: 0 / 417.7 MB, free: 9.766 MB / 334.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.001387/0.2264, allocations: 0.9047 MB / 418.6 MB, free: 8.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.2265, allocations: 8.031 kB / 418.6 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.2266, allocations: 80.45 kB / 418.7 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006304/0.2272, allocations: 438.9 kB / 419.1 MB, free: 8.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.643e-05/0.2273, allocations: 54.91 kB / 419.2 MB, free: 8.191 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.959e-05/0.2274, allocations: 40.33 kB / 419.2 MB, free: 8.152 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007722/0.2282, allocations: 485 kB / 419.7 MB, free: 7.625 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.2282, allocations: 0 / 419.7 MB, free: 7.625 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/0.2282, allocations: 20 kB / 419.7 MB, free: 7.605 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.2282, allocations: 8 kB / 419.7 MB, free: 7.598 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000794/0.229, allocations: 330.4 kB / 420 MB, free: 7.277 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.001844/0.2309, allocations: 1.283 MB / 421.3 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006536/0.2316, allocations: 375.5 kB / 421.7 MB, free: 5.508 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003849/0.232, allocations: 184.8 kB / 421.9 MB, free: 5.324 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.234e-05/0.232, allocations: 7.984 kB / 421.9 MB, free: 5.316 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.232, allocations: 42.55 kB / 421.9 MB, free: 5.266 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.784e-06/0.232, allocations: 3.938 kB / 421.9 MB, free: 5.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001501/0.2335, allocations: 0.7285 MB / 422.7 MB, free: 4.484 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001632/0.2337, allocations: 445 kB / 423.1 MB, free: 3.945 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004711/0.2342, allocations: 458 kB / 423.5 MB, free: 3.492 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.2343, allocations: 33.7 kB / 423.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.2344, allocations: 244.6 kB / 423.8 MB, free: 3.207 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.662e-05/0.2345, allocations: 122.9 kB / 423.9 MB, free: 3.086 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.2346, allocations: 81.47 kB / 424 MB, free: 3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.2348, allocations: 362.7 kB / 424.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003703/0.2352, allocations: 139.9 kB / 424.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004685/0.2356, allocations: 274.8 kB / 424.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007183/0.2364, allocations: 337.2 kB / 425.1 MB, free: 1.836 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2364, allocations: 0 / 425.1 MB, free: 1.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009515/0.2373, allocations: 494 kB / 425.6 MB, free: 1.336 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.2374, allocations: 33.7 kB / 425.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.2374, allocations: 0 / 425.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/0.2375, allocations: 45.7 kB / 425.7 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/0.2379, allocations: 87.91 kB / 425.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/0.2402, allocations: 2.98 MB / 428.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003956/0.2406, allocations: 43.81 kB / 428.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.2406, allocations: 12 kB / 428.8 MB, free: 13.84 MB / 350.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.0001923/0.2408, allocations: 181.6 kB / 429 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.433e-05/0.2409, allocations: 59.67 kB / 429 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.955e-05/0.241, allocations: 52.75 kB / 429.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008996/0.2419, allocations: 0.7243 MB / 429.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2419, allocations: 0 / 429.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.2421, allocations: 164.7 kB / 430 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.977e-05/0.2422, allocations: 19.92 kB / 430 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003735/0.2426, allocations: 31.92 kB / 430 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.518e-05/0.2427, allocations: 23.95 kB / 430 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001101/0.2438, allocations: 476.7 kB / 430.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001245/0.245, allocations: 0.7248 MB / 431.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003528/0.2454, allocations: 168.5 kB / 431.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003317/0.2457, allocations: 323.1 kB / 431.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Backend: time 3.11e-07/0.2457, allocations: 0 / 431.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.2469, allocations: 0.6083 MB / 432.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of SimCode: time 0.001589/0.2485, allocations: 1.429 MB / 433.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of Templates: time 0.01412/0.2626, allocations: 9.255 MB / 443 MB, free: 15.51 MB / 366.1 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/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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches