Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008938/0.0008938, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008063/0.0008063, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8352/0.8352, allocations: 177.1 MB / 204.2 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.856e-05, allocations: 8.469 kB / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.00279/0.002809, allocations: 2.692 MB / 327.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.00431, allocations: 1.328 MB / 328.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.004442, allocations: 7.938 kB / 328.6 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004761/0.004918, allocations: 187 kB / 328.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000403/0.005321, allocations: 258.4 kB / 329 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.005554, allocations: 139.5 kB / 329.1 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004259/0.00598, allocations: 480.9 kB / 329.6 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.00612, allocations: 72.02 kB / 329.7 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.006325, allocations: 271.3 kB / 329.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.006488, allocations: 167.6 kB / 330.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.006521, allocations: 32 kB / 330.1 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.71e-05/0.006619, allocations: 67.92 kB / 330.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.268e-05/0.006701, allocations: 95.67 kB / 330.3 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.307e-05/0.006794, allocations: 131.7 kB / 330.4 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003666/0.007161, allocations: 498.3 kB / 330.9 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.007163, allocations: 0 / 330.9 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.007164, allocations: 0 / 330.9 MB, free: 9.551 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.007169, allocations: 4 kB / 330.9 MB, free: 9.547 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0006833/0.007852, allocations: 0.6474 MB / 331.6 MB, free: 8.871 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.007885, allocations: 8.031 kB / 331.6 MB, free: 8.863 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.107e-05/0.007956, allocations: 59.23 kB / 331.6 MB, free: 8.797 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.784e-05/0.008014, allocations: 52.61 kB / 331.7 MB, free: 8.746 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.00832, allocations: 288.4 kB / 332 MB, free: 8.438 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.008338, allocations: 12.88 kB / 332 MB, free: 8.426 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.008363, allocations: 28.31 kB / 332 MB, free: 8.398 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000394/0.008757, allocations: 0.6047 MB / 332.6 MB, free: 7.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.008769, allocations: 0 / 332.6 MB, free: 7.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.008787, allocations: 8 kB / 332.6 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.008793, allocations: 4 kB / 332.6 MB, free: 7.668 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.008977, allocations: 149.9 kB / 332.8 MB, free: 7.52 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.0008359/0.009813, allocations: 0.7038 MB / 333.5 MB, free: 6.766 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.01004, allocations: 175.1 kB / 333.6 MB, free: 6.586 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.417e-05/0.01013, allocations: 68.83 kB / 333.7 MB, free: 6.516 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.01014, allocations: 4 kB / 333.7 MB, free: 6.512 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.01033, allocations: 197 kB / 333.9 MB, free: 6.297 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.203e-06/0.01033, allocations: 7.875 kB / 333.9 MB, free: 6.289 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005107/0.01084, allocations: 323.1 kB / 334.2 MB, free: 5.965 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.487e-05/0.01094, allocations: 312.4 kB / 334.5 MB, free: 5.586 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.01124, allocations: 457.6 kB / 335 MB, free: 5.133 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.01126, allocations: 33.7 kB / 335 MB, free: 5.094 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.01136, allocations: 204.4 kB / 335.2 MB, free: 4.887 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/0.01141, allocations: 87.27 kB / 335.3 MB, free: 4.801 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/0.01147, allocations: 57.7 kB / 335.4 MB, free: 4.738 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.935e-05/0.01156, allocations: 346.8 kB / 335.7 MB, free: 4.391 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.66e-05/0.01165, allocations: 59.97 kB / 335.8 MB, free: 4.332 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.01186, allocations: 444.9 kB / 336.2 MB, free: 3.793 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.01204, allocations: 176 kB / 336.4 MB, free: 3.609 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.01204, allocations: 3.938 kB / 336.4 MB, free: 3.605 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002849/0.01233, allocations: 282.1 kB / 336.6 MB, free: 3.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.01234, allocations: 4 kB / 336.6 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.01234, allocations: 0 / 336.6 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.672e-05/0.01244, allocations: 32.84 kB / 336.7 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.01256, allocations: 51.91 kB / 336.7 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009087/0.01347, allocations: 1.463 MB / 338.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.01362, allocations: 27.92 kB / 338.2 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.01363, allocations: 8 kB / 338.2 MB, free: 1.617 MB / 298.7 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.0001257/0.01375, allocations: 169.7 kB / 338.4 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.01379, allocations: 51.72 kB / 338.4 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.01409, allocations: 265 kB / 338.7 MB, free: 1.121 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.01409, allocations: 11.94 kB / 338.7 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.01409, allocations: 0 / 338.7 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003543/0.01445, allocations: 0.5906 MB / 339.3 MB, free: 424 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005603/0.01501, allocations: 0.6487 MB / 340 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01501, allocations: 0 / 340 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.01512, allocations: 44.2 kB / 340 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.01512, allocations: 0 / 340 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.01514, allocations: 8 kB / 340 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01514, allocations: 3.938 kB / 340 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01514, allocations: 4 kB / 340 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/0.01548, allocations: 421.2 kB / 340.4 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.86e-05/0.01556, allocations: 59.72 kB / 340.5 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.01559, allocations: 11.98 kB / 340.5 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.01569, allocations: 8 kB / 340.5 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.01572, allocations: 19.97 kB / 340.5 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.01574, allocations: 4 kB / 340.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003235/0.01606, allocations: 323.1 kB / 340.8 MB, free: 14.81 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01606, allocations: 96 / 340.8 MB, free: 14.81 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002479/0.01631, allocations: 103.8 kB / 340.9 MB, free: 14.71 MB / 314.7 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 (24): * Single equations (assignments): 22 * 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.001138/0.01745, allocations: 1.293 MB / 342.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004097/0.01786, allocations: 306.3 kB / 342.5 MB, free: 13.26 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.01786, allocations: 4 kB / 342.5 MB, free: 13.26 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.372e-05/0.01795, allocations: 75.91 kB / 342.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.0183, allocations: 101.6 kB / 342.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/0.02168, allocations: 3.364 MB / 346.1 MB, free: 9.621 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.02183, allocations: 199.5 kB / 346.3 MB, free: 9.402 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001413/0.02197, allocations: 46.94 kB / 346.3 MB, free: 9.355 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.0221, allocations: 128.5 kB / 346.4 MB, free: 9.227 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.0221, allocations: 0 / 346.4 MB, free: 9.227 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.04405, allocations: 11.69 MB / 358.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.563/7.607, allocations: 3.266 kB / 358.1 MB, free: 13.7 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank_fmu --startTime=0 --stopTime=1.5 --stepSize=0.000299581 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.22510549519211]