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.00137/0.00137, allocations: 73.41 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001424/0.001424, allocations: 160.5 kB / 24.5 MB, free: 3.719 MB / 14.72 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 1.441/1.441, allocations: 177.2 MB / 204.9 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 51.58 kB / 325.5 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09281/0.0944, allocations: 53.34 MB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004374/0.09877, allocations: 2.682 MB / 381.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002442/0.1012, allocations: 1.332 MB / 382.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001827/0.1014, allocations: 4 kB / 382.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005638/0.102, allocations: 183.1 kB / 383.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006123/0.1026, allocations: 250.6 kB / 383.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.1029, allocations: 139.6 kB / 383.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006631/0.1036, allocations: 473.8 kB / 383.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.1038, allocations: 72.25 kB / 384 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.1041, allocations: 179.3 kB / 384.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003411/0.1044, allocations: 207.1 kB / 384.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.077e-05/0.1045, allocations: 28 kB / 384.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.1047, allocations: 75.97 kB / 384.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.1048, allocations: 79.7 kB / 384.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002234/0.105, allocations: 159.2 kB / 384.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007409/0.1058, allocations: 0.4902 MB / 385.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1058, allocations: 3.938 kB / 385.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1058, allocations: 0 / 385.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1058, allocations: 4 kB / 385.2 MB, free: 9.312 MB / 350.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.00108/0.1068, allocations: 0.6445 MB / 385.9 MB, free: 8.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.1069, allocations: 8.031 kB / 385.9 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.107, allocations: 48.66 kB / 385.9 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005693/0.1076, allocations: 281.2 kB / 386.2 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.1076, allocations: 16.88 kB / 386.2 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.949e-05/0.1076, allocations: 24.12 kB / 386.2 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007037/0.1083, allocations: 0.5926 MB / 386.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1084, allocations: 0 / 386.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.1084, allocations: 12 kB / 386.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.1084, allocations: 4 kB / 386.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/0.1087, allocations: 149.9 kB / 387 MB, free: 7.371 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.001359/0.1101, allocations: 0.6458 MB / 387.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003996/0.1105, allocations: 182.3 kB / 387.8 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.1106, allocations: 68.83 kB / 387.9 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.1106, allocations: 4 kB / 387.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003342/0.111, allocations: 182.8 kB / 388 MB, free: 6.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.813e-06/0.111, allocations: 0 / 388 MB, free: 6.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009003/0.1119, allocations: 332.8 kB / 388.4 MB, free: 5.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001826/0.1121, allocations: 328.3 kB / 388.7 MB, free: 5.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004912/0.1126, allocations: 429.6 kB / 389.1 MB, free: 5.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.1126, allocations: 33.7 kB / 389.1 MB, free: 5.031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.1128, allocations: 204.4 kB / 389.3 MB, free: 4.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.902e-05/0.1128, allocations: 87.27 kB / 389.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.1129, allocations: 61.69 kB / 389.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.1131, allocations: 346.8 kB / 389.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.1133, allocations: 63.91 kB / 389.9 MB, free: 4.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/0.1137, allocations: 441 kB / 390.3 MB, free: 3.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003331/0.114, allocations: 180 kB / 390.5 MB, free: 3.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.114, allocations: 0 / 390.5 MB, free: 3.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000493/0.1145, allocations: 270.1 kB / 390.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1145, allocations: 8 kB / 390.8 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1145, allocations: 0 / 390.8 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001327/0.1147, allocations: 36.83 kB / 390.8 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.1149, allocations: 51.92 kB / 390.9 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/0.1165, allocations: 1.44 MB / 392.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.1167, allocations: 23.83 kB / 392.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.1167, allocations: 12 kB / 392.3 MB, free: 1.586 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.0001979/0.1169, allocations: 165.8 kB / 392.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.617e-05/0.117, allocations: 51.64 kB / 392.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005266/0.1175, allocations: 269.9 kB / 392.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1175, allocations: 0 / 392.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1175, allocations: 3.938 kB / 392.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005768/0.1181, allocations: 0.5852 MB / 393.4 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009572/0.119, allocations: 0.6064 MB / 394 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.119, allocations: 0 / 394 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.1193, allocations: 47.97 kB / 394.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1193, allocations: 3.938 kB / 394.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.1193, allocations: 8 kB / 394.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1193, allocations: 4 kB / 394.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1193, allocations: 0 / 394.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006467/0.1199, allocations: 420.9 kB / 394.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.1201, allocations: 67.69 kB / 394.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.569e-05/0.1201, allocations: 7.984 kB / 394.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.1203, allocations: 12 kB / 394.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.1204, allocations: 12.2 kB / 394.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.1204, allocations: 12 kB / 394.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003501/0.1207, allocations: 311.1 kB / 394.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1207, allocations: 0 / 394.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003959/0.1211, allocations: 99.89 kB / 395 MB, free: 14.75 MB / 366.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.001678/0.1228, allocations: 451.3 kB / 395.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006397/0.1235, allocations: 306.5 kB / 395.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1235, allocations: 0 / 395.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.1236, allocations: 78.95 kB / 395.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005579/0.1242, allocations: 106 kB / 395.9 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.1257, allocations: 0.8223 MB / 396.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.1259, allocations: 203.3 kB / 396.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001794/0.1261, allocations: 42.95 kB / 397 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.991e-05/0.1261, allocations: 28.5 kB / 397 MB, free: 12.86 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1261, allocations: 0 / 397 MB, free: 12.86 MB / 366.1 MB Notification: Performance of Templates: time 0.01278/0.1389, allocations: 6.488 MB / 403.5 MB, free: 6.527 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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: 4.481375080067664]