Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 71.98 kB / 21.24 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 149.9 kB / 24.49 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 178] 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.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 51.88 kB / 319.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08767/0.08923, allocations: 52.15 MB / 371.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004542/0.09378, allocations: 2.677 MB / 374.2 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002347/0.09612, allocations: 1.188 MB / 375.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/0.09635, allocations: 7.938 kB / 375.4 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005218/0.09687, allocations: 171.2 kB / 375.6 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005448/0.09742, allocations: 214.8 kB / 375.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.09788, allocations: 171.4 kB / 376 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006303/0.09851, allocations: 453.9 kB / 376.4 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.09868, allocations: 71.95 kB / 376.5 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.09894, allocations: 187.3 kB / 376.7 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000323/0.09926, allocations: 195.2 kB / 376.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.456e-05/0.09932, allocations: 32 kB / 376.9 MB, free: 2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.09948, allocations: 67.92 kB / 377 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.0996, allocations: 95.61 kB / 377 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.0998, allocations: 159.2 kB / 377.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006104/0.1004, allocations: 490 kB / 377.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1004, allocations: 0 / 377.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1004, allocations: 0 / 377.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.749e-06/0.1004, allocations: 0 / 377.7 MB, free: 1.203 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.001104/0.1015, allocations: 0.6407 MB / 378.3 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.1016, allocations: 8.922 kB / 378.3 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.1017, allocations: 48.66 kB / 378.4 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005061/0.1022, allocations: 281.2 kB / 378.7 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.1022, allocations: 12.88 kB / 378.7 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.558e-05/0.1022, allocations: 24.12 kB / 378.7 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007084/0.1029, allocations: 0.5965 MB / 379.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.103, allocations: 0 / 379.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.103, allocations: 8 kB / 379.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.103, allocations: 8 kB / 379.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003265/0.1033, allocations: 149.9 kB / 379.4 MB, free: 15.27 MB / 350.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.001304/0.1046, allocations: 0.6381 MB / 380.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003943/0.105, allocations: 175.1 kB / 380.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.1052, allocations: 68.83 kB / 380.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.1052, allocations: 7.938 kB / 380.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003006/0.1055, allocations: 186.7 kB / 380.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.443e-06/0.1055, allocations: 0 / 380.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.000874/0.1064, allocations: 337.1 kB / 380.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001959/0.1066, allocations: 320.4 kB / 381.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005196/0.1071, allocations: 421.6 kB / 381.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.1071, allocations: 33.7 kB / 381.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.1073, allocations: 204.4 kB / 381.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.542e-05/0.1074, allocations: 79.38 kB / 381.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.529e-05/0.1075, allocations: 57.66 kB / 381.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.1077, allocations: 350.8 kB / 382.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.1078, allocations: 63.97 kB / 382.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/0.1082, allocations: 437 kB / 382.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003341/0.1085, allocations: 171.3 kB / 382.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1085, allocations: 4 kB / 382.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00053/0.1091, allocations: 278 kB / 383.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1091, allocations: 4 kB / 383.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1091, allocations: 4 kB / 383.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001349/0.1092, allocations: 32.84 kB / 383.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.1095, allocations: 56 kB / 383.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/0.1111, allocations: 1.436 MB / 384.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.1113, allocations: 43.75 kB / 384.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.1113, allocations: 4 kB / 384.8 MB, free: 9.5 MB / 350.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.0001998/0.1115, allocations: 165.8 kB / 384.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.866e-05/0.1116, allocations: 39.77 kB / 385 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005528/0.1122, allocations: 265.8 kB / 385.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1122, allocations: 4 kB / 385.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1122, allocations: 3.938 kB / 385.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006018/0.1128, allocations: 0.5931 MB / 385.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009606/0.1137, allocations: 0.6025 MB / 386.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1137, allocations: 0 / 386.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.1139, allocations: 47.91 kB / 386.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.114, allocations: 3.938 kB / 386.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.114, allocations: 8 kB / 386.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.114, allocations: 0 / 386.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.114, allocations: 0 / 386.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006409/0.1146, allocations: 422.2 kB / 386.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.1148, allocations: 71.62 kB / 387 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/0.1148, allocations: 8.062 kB / 387 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.115, allocations: 12 kB / 387 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.1151, allocations: 15.97 kB / 387 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.1151, allocations: 8 kB / 387 MB, free: 7.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003414/0.1154, allocations: 307.1 kB / 387.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1154, allocations: 0 / 387.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004003/0.1158, allocations: 91.89 kB / 387.4 MB, free: 6.684 MB / 350.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 (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.001625/0.1175, allocations: 443.5 kB / 387.9 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006198/0.1181, allocations: 318.2 kB / 388.2 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1181, allocations: 0 / 388.2 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.1183, allocations: 75.91 kB / 388.2 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000551/0.1188, allocations: 106.9 kB / 388.3 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.1203, allocations: 0.8131 MB / 389.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.1205, allocations: 189.4 kB / 389.3 MB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001531/0.1206, allocations: 42.94 kB / 389.4 MB, free: 4.844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.368e-05/0.1207, allocations: 40.48 kB / 389.4 MB, free: 4.805 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1207, allocations: 4 kB / 389.4 MB, free: 4.801 MB / 350.1 MB Notification: Performance of Templates: time 0.01246/0.1332, allocations: 6.443 MB / 395.9 MB, free: 14.51 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.434925078996457]