Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008741/0.0008741, allocations: 100.8 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009223/0.0009223, allocations: 200.5 kB / 17.91 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.7 MB / 246.4 MB, free: 11.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002213/0.0002213, allocations: 4 kB / 307.1 MB, free: 1.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08605/0.08629, allocations: 51.52 MB / 358.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.002601/0.08893, allocations: 2.451 MB / 361.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.09076, allocations: 1.228 MB / 362.3 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.09091, allocations: 7.938 kB / 362.3 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003921/0.09131, allocations: 167.4 kB / 362.5 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004266/0.09174, allocations: 210.9 kB / 362.7 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.092, allocations: 107.8 kB / 362.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004183/0.09243, allocations: 409.9 kB / 363.2 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.09261, allocations: 90.78 kB / 363.3 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.09279, allocations: 159.4 kB / 363.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.09301, allocations: 187.2 kB / 363.6 MB, free: 8.652 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.679e-05/0.09305, allocations: 16 kB / 363.6 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.09318, allocations: 59.98 kB / 363.7 MB, free: 8.578 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.49e-05/0.09327, allocations: 79.67 kB / 363.8 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.111e-05/0.09336, allocations: 97.52 kB / 363.9 MB, free: 8.398 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.09369, allocations: 351.3 kB / 364.2 MB, free: 8.055 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.0937, allocations: 0 / 364.2 MB, free: 8.055 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.09371, allocations: 0 / 364.2 MB, free: 8.055 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.09372, allocations: 0 / 364.2 MB, free: 8.055 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0008338/0.09456, allocations: 0.6461 MB / 364.8 MB, free: 7.359 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.0946, allocations: 8.031 kB / 364.9 MB, free: 7.352 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.597e-05/0.09468, allocations: 43.53 kB / 364.9 MB, free: 7.309 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.09506, allocations: 333.6 kB / 365.2 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.0951, allocations: 16.44 kB / 365.2 MB, free: 6.922 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.09514, allocations: 16 kB / 365.3 MB, free: 6.906 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004275/0.09557, allocations: 289.5 kB / 365.5 MB, free: 6.582 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.09559, allocations: 0 / 365.5 MB, free: 6.582 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.09563, allocations: 12 kB / 365.5 MB, free: 6.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.09564, allocations: 4 kB / 365.6 MB, free: 6.566 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.09592, allocations: 149.7 kB / 365.7 MB, free: 6.422 MB / 302.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.001203/0.09713, allocations: 0.8246 MB / 366.5 MB, free: 5.527 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.09752, allocations: 190.9 kB / 366.7 MB, free: 5.336 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.09767, allocations: 77.2 kB / 366.8 MB, free: 5.258 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.09771, allocations: 8.172 kB / 366.8 MB, free: 5.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002661/0.09798, allocations: 142.7 kB / 366.9 MB, free: 5.102 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.633e-06/0.098, allocations: 0 / 366.9 MB, free: 5.102 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007725/0.09877, allocations: 398.8 kB / 367.3 MB, free: 4.684 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.09892, allocations: 316.4 kB / 367.6 MB, free: 4.301 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004618/0.09939, allocations: 441.6 kB / 368.1 MB, free: 3.863 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.09943, allocations: 37.7 kB / 368.1 MB, free: 3.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.09959, allocations: 200.2 kB / 368.3 MB, free: 3.621 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.761e-05/0.09966, allocations: 82.84 kB / 368.4 MB, free: 3.539 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.09968, allocations: 4 kB / 368.4 MB, free: 3.535 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.09982, allocations: 350.8 kB / 368.7 MB, free: 3.184 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.09996, allocations: 63.92 kB / 368.8 MB, free: 3.121 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.1002, allocations: 187.8 kB / 369 MB, free: 2.895 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.1003, allocations: 77.03 kB / 369 MB, free: 2.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1004, allocations: 4 kB / 369 MB, free: 2.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004309/0.1008, allocations: 270.5 kB / 369.3 MB, free: 2.543 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1008, allocations: 4 kB / 369.3 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1008, allocations: 0 / 369.3 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001213/0.1009, allocations: 32.84 kB / 369.3 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.1012, allocations: 55.91 kB / 369.4 MB, free: 2.449 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/0.1025, allocations: 1.46 MB / 370.9 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.1027, allocations: 23.8 kB / 370.9 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.1027, allocations: 12 kB / 370.9 MB, free: 0.8164 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001716/0.1029, allocations: 168.3 kB / 371.1 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-05/0.1029, allocations: 39.53 kB / 371.1 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.544e-05/0.103, allocations: 43.59 kB / 371.1 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.103, allocations: 4 kB / 371.1 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.103, allocations: 0 / 371.1 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1564/0.2594, allocations: 0.5676 MB / 371.7 MB, free: 20.1 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.2605, allocations: 0.711 MB / 372.4 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2605, allocations: 0.875 kB / 372.4 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.2607, allocations: 46.81 kB / 372.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.2607, allocations: 3.406 kB / 372.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.2608, allocations: 6.312 kB / 372.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.2608, allocations: 4.703 kB / 372.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2608, allocations: 0 / 372.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005749/0.2614, allocations: 395.5 kB / 372.9 MB, free: 19.63 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.2615, allocations: 142.4 kB / 373 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.323e-05/0.2616, allocations: 10.64 kB / 373 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.2618, allocations: 17.36 kB / 373 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.2618, allocations: 15.84 kB / 373.1 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/0.2619, allocations: 9.234 kB / 373.1 MB, free: 19.54 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003798/0.2623, allocations: 316.4 kB / 373.4 MB, free: 19.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2623, allocations: 0 / 373.4 MB, free: 19.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004215/0.2627, allocations: 93.92 kB / 373.5 MB, free: 19.45 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008818/0.2636, allocations: 434.6 kB / 373.9 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005317/0.2641, allocations: 308.6 kB / 374.2 MB, free: 19.17 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.2641, allocations: 1.562 kB / 374.2 MB, free: 19.17 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.2643, allocations: 84.91 kB / 374.3 MB, free: 19.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005632/0.2649, allocations: 97 kB / 374.4 MB, free: 19.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.2663, allocations: 0.938 MB / 375.3 MB, free: 18.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.2665, allocations: 0.7963 MB / 376.1 MB, free: 17.97 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001794/0.2667, allocations: 44.64 kB / 376.1 MB, free: 17.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.123e-05/0.2668, allocations: 33.31 kB / 376.2 MB, free: 17.95 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2668, allocations: 0 / 376.2 MB, free: 17.95 MB / 302.1 MB Notification: Performance of Templates: time 0.01044/0.2772, allocations: 5.534 MB / 381.7 MB, free: 17.27 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches