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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001752/0.001752, allocations: 75.12 kB / 21.24 MB, free: 0.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002083/0.002083, allocations: 161.7 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 177.1 MB / 204.7 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] 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=5007,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=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 65.66 kB / 325.5 MB, free: 204 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09144/0.09335, allocations: 53.38 MB / 378.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004385/0.09774, allocations: 2.694 MB / 381.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.1002, allocations: 1.328 MB / 382.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001914/0.1003, allocations: 3.938 kB / 382.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005272/0.1009, allocations: 183.1 kB / 383.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005807/0.1015, allocations: 246.6 kB / 383.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.1018, allocations: 147.6 kB / 383.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006019/0.1024, allocations: 465.4 kB / 383.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.1026, allocations: 68.19 kB / 384 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.1028, allocations: 183.3 kB / 384.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002994/0.1031, allocations: 203.1 kB / 384.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.879e-05/0.1032, allocations: 36 kB / 384.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.1033, allocations: 71.98 kB / 384.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.1034, allocations: 87.67 kB / 384.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.1036, allocations: 167.1 kB / 384.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005947/0.1042, allocations: 490 kB / 385.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1042, allocations: 0 / 385.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1042, allocations: 4 kB / 385.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1042, allocations: 0 / 385.2 MB, free: 9.152 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.001153/0.1054, allocations: 0.6446 MB / 385.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.1054, allocations: 11.98 kB / 385.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.1055, allocations: 48.66 kB / 385.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005309/0.1061, allocations: 297.1 kB / 386.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.1061, allocations: 16.88 kB / 386.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.305e-05/0.1061, allocations: 16.38 kB / 386.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006776/0.1068, allocations: 0.593 MB / 386.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1068, allocations: 0 / 386.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.1069, allocations: 12 kB / 386.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.1069, allocations: 4 kB / 386.8 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/0.1072, allocations: 149.9 kB / 387 MB, free: 7.199 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.001268/0.1084, allocations: 0.6458 MB / 387.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/0.1088, allocations: 171.1 kB / 387.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.109, allocations: 72.83 kB / 387.9 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.109, allocations: 0 / 387.9 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002924/0.1093, allocations: 188.8 kB / 388.1 MB, free: 6.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.573e-06/0.1093, allocations: 0 / 388.1 MB, free: 6.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008384/0.1101, allocations: 338.6 kB / 388.4 MB, free: 5.719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001801/0.1103, allocations: 316.4 kB / 388.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004871/0.1108, allocations: 437.5 kB / 389.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.1108, allocations: 33.7 kB / 389.2 MB, free: 4.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.111, allocations: 200.4 kB / 389.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.834e-05/0.1111, allocations: 95.25 kB / 389.5 MB, free: 4.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.285e-05/0.1112, allocations: 53.7 kB / 389.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.1114, allocations: 350.8 kB / 389.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.1115, allocations: 59.97 kB / 389.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000398/0.1119, allocations: 445 kB / 390.3 MB, free: 3.555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.1122, allocations: 171.9 kB / 390.5 MB, free: 3.375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1122, allocations: 4 kB / 390.5 MB, free: 3.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005127/0.1128, allocations: 278.2 kB / 390.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1128, allocations: 7.938 kB / 390.8 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1128, allocations: 4 kB / 390.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001426/0.1129, allocations: 32.84 kB / 390.8 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.1131, allocations: 51.91 kB / 390.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/0.1147, allocations: 1.44 MB / 392.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.1149, allocations: 23.92 kB / 392.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.1149, allocations: 12 kB / 392.4 MB, free: 1.41 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.0002032/0.1151, allocations: 173.6 kB / 392.5 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-05/0.1152, allocations: 43.72 kB / 392.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005293/0.1157, allocations: 270.5 kB / 392.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1157, allocations: 4 kB / 392.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.1157, allocations: 0 / 392.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005753/0.1163, allocations: 0.5867 MB / 393.4 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.1173, allocations: 0.6024 MB / 394 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1173, allocations: 3.984 kB / 394 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.1176, allocations: 47.98 kB / 394.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1176, allocations: 0 / 394.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.1176, allocations: 7.922 kB / 394.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1176, allocations: 7.938 kB / 394.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1176, allocations: 0 / 394.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006343/0.1182, allocations: 411.7 kB / 394.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.1184, allocations: 55.81 kB / 394.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.84e-05/0.1184, allocations: 15.94 kB / 394.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.1186, allocations: 12 kB / 394.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.1187, allocations: 15.91 kB / 394.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.1187, allocations: 11.98 kB / 394.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003576/0.1191, allocations: 311.2 kB / 394.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1191, allocations: 0 / 394.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004125/0.1195, allocations: 103.8 kB / 395 MB, free: 14.58 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.001675/0.1211, allocations: 439.7 kB / 395.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006503/0.1218, allocations: 302.5 kB / 395.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1218, allocations: 0 / 395.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.122, allocations: 91.64 kB / 395.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005709/0.1226, allocations: 108.1 kB / 395.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.1241, allocations: 0.8107 MB / 396.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.1243, allocations: 199.3 kB / 396.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001439/0.1244, allocations: 42.95 kB / 397 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.637e-05/0.1245, allocations: 44.42 kB / 397 MB, free: 12.65 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1245, allocations: 0 / 397 MB, free: 12.65 MB / 366.1 MB Notification: Performance of Templates: time 0.01318/0.1377, allocations: 6.474 MB / 403.5 MB, free: 6.32 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.4090434110257775]