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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001313/0.001313, allocations: 114.8 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 198 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 63.89 kB / 358.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2577, allocations: 50.55 MB / 408.8 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004187/0.2619, allocations: 2.872 MB / 411.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002278/0.2642, allocations: 1.398 MB / 413.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.2644, allocations: 7.938 kB / 413.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004829/0.2649, allocations: 183.1 kB / 413.3 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005332/0.2655, allocations: 246.6 kB / 413.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.2658, allocations: 135.6 kB / 413.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005634/0.2664, allocations: 465.8 kB / 414.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.2666, allocations: 111.8 kB / 414.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.2669, allocations: 183.3 kB / 414.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002674/0.2671, allocations: 199.2 kB / 414.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.555e-05/0.2672, allocations: 28 kB / 414.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.2674, allocations: 79.91 kB / 414.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.2675, allocations: 83.69 kB / 414.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.2677, allocations: 198.9 kB / 415 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005917/0.2683, allocations: 496.9 kB / 415.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2683, allocations: 0 / 415.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2683, allocations: 4 kB / 415.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.2683, allocations: 0 / 415.4 MB, free: 10.82 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001064/0.2694, allocations: 0.7198 MB / 416.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.2694, allocations: 8.031 kB / 416.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.583e-05/0.2696, allocations: 55.17 kB / 416.2 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.774e-05/0.2696, allocations: 52.61 kB / 416.3 MB, free: 9.926 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.2702, allocations: 358.9 kB / 416.6 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.2702, allocations: 16.75 kB / 416.6 MB, free: 9.516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/0.2702, allocations: 23.94 kB / 416.7 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/0.2707, allocations: 305.4 kB / 417 MB, free: 9.156 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.2708, allocations: 0 / 417 MB, free: 9.156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.2708, allocations: 8 kB / 417 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.2708, allocations: 7.938 kB / 417 MB, free: 9.141 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.2711, allocations: 153.7 kB / 417.1 MB, free: 8.992 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.001354/0.2725, allocations: 0.8402 MB / 418 MB, free: 8.082 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004031/0.2729, allocations: 188.3 kB / 418.2 MB, free: 7.891 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.2731, allocations: 76.84 kB / 418.2 MB, free: 7.812 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.2731, allocations: 15.92 kB / 418.2 MB, free: 7.797 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000268/0.2734, allocations: 138.5 kB / 418.4 MB, free: 7.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 2.064e-06/0.2734, allocations: 0 / 418.4 MB, free: 7.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.000857/0.2742, allocations: 395.2 kB / 418.8 MB, free: 7.238 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001984/0.2745, allocations: 316.4 kB / 419.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005213/0.275, allocations: 441.7 kB / 419.5 MB, free: 6.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.275, allocations: 33.7 kB / 419.5 MB, free: 6.371 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.2752, allocations: 208.4 kB / 419.7 MB, free: 6.164 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.772e-05/0.2753, allocations: 87.27 kB / 419.8 MB, free: 6.078 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.579e-05/0.2754, allocations: 57.69 kB / 419.9 MB, free: 6.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.2756, allocations: 350.8 kB / 420.2 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.2757, allocations: 63.97 kB / 420.3 MB, free: 5.602 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.276, allocations: 179.9 kB / 420.5 MB, free: 5.383 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003007/0.2763, allocations: 175.2 kB / 420.6 MB, free: 5.199 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2763, allocations: 0 / 420.6 MB, free: 5.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000489/0.2768, allocations: 278.1 kB / 420.9 MB, free: 4.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2768, allocations: 6.969 kB / 420.9 MB, free: 4.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.2768, allocations: 0 / 420.9 MB, free: 4.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001339/0.2769, allocations: 32.78 kB / 420.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.2772, allocations: 56.06 kB / 421 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.2788, allocations: 1.571 MB / 422.6 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.279, allocations: 27.83 kB / 422.6 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.279, allocations: 15.98 kB / 422.6 MB, free: 3.062 MB / 334.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 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002048/0.2792, allocations: 169.8 kB / 422.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.832e-05/0.2793, allocations: 47.66 kB / 422.8 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.522e-05/0.2794, allocations: 39.61 kB / 422.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2794, allocations: 4 kB / 422.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.2794, allocations: 4 kB / 422.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005954/0.28, allocations: 0.5818 MB / 423.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009625/0.281, allocations: 0.7001 MB / 424.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.281, allocations: 4 kB / 424.2 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.2812, allocations: 47.91 kB / 424.2 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.2812, allocations: 4 kB / 424.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.2813, allocations: 0 / 424.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.2813, allocations: 4 kB / 424.2 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2813, allocations: 4.094 kB / 424.2 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005938/0.2819, allocations: 418.6 kB / 424.6 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.282, allocations: 136.8 kB / 424.8 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.859e-05/0.2821, allocations: 8 kB / 424.8 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.2823, allocations: 11.98 kB / 424.8 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.2824, allocations: 11.98 kB / 424.8 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.2824, allocations: 12 kB / 424.8 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003407/0.2827, allocations: 319.2 kB / 425.1 MB, free: 368 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2827, allocations: 0 / 425.1 MB, free: 368 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003852/0.2831, allocations: 99.88 kB / 425.2 MB, free: 268 kB / 334.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 (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.00222/0.2854, allocations: 1.264 MB / 426.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006057/0.286, allocations: 306.6 kB / 426.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/0.286, allocations: 4 kB / 426.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.2862, allocations: 83.84 kB / 426.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005538/0.2867, allocations: 104 kB / 427 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004747/0.2915, allocations: 3.387 MB / 430.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/0.292, allocations: 0.796 MB / 431.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001856/0.2922, allocations: 46.95 kB / 431.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.2924, allocations: 131.3 kB / 431.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2924, allocations: 0 / 431.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04109/0.3335, allocations: 10.26 MB / 441.6 MB, free: 92 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.08, allocations: 8.891 kB / 441.6 MB, free: 84 kB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches