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.001785/0.001785, allocations: 107.8 kB / 19.17 MB, free: 3.871 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.002182/0.002182, allocations: 208.9 kB / 22.13 MB, free: 0.918 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.452/1.452, allocations: 230.2 MB / 255.1 MB, free: 15.26 MB / 206.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.001893/0.001893, allocations: 63.89 kB / 374.5 MB, free: 9.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09724/0.09914, allocations: 53.32 MB / 427.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004227/0.1034, allocations: 2.88 MB / 430.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002262/0.1056, allocations: 1.41 MB / 432.1 MB, free: 220 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.1058, allocations: 7.938 kB / 432.1 MB, free: 212 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004907/0.1063, allocations: 179.1 kB / 432.3 MB, free: 32 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1711/0.2774, allocations: 246.6 kB / 432.5 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.2778, allocations: 136.2 kB / 432.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005141/0.2783, allocations: 461.4 kB / 433.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.2785, allocations: 71.66 kB / 433.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.2787, allocations: 186.9 kB / 433.4 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.279, allocations: 213.7 kB / 433.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.668e-05/0.279, allocations: 30.09 kB / 433.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.2792, allocations: 77.45 kB / 433.7 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.996e-05/0.2793, allocations: 90.64 kB / 433.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.2794, allocations: 192.2 kB / 434 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004334/0.2798, allocations: 497.9 kB / 434.5 MB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2799, allocations: 0 / 434.5 MB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2799, allocations: 1.062 kB / 434.5 MB, free: 7.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.2799, allocations: 1.656 kB / 434.5 MB, free: 7.992 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.0008833/0.2808, allocations: 0.7177 MB / 435.2 MB, free: 7.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.2808, allocations: 12.47 kB / 435.2 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.638e-05/0.2809, allocations: 53.12 kB / 435.2 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.2813, allocations: 348.5 kB / 435.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.2813, allocations: 14.53 kB / 435.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.2813, allocations: 19.88 kB / 435.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004131/0.2818, allocations: 299.9 kB / 435.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.2818, allocations: 3.938 kB / 435.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.2818, allocations: 11.25 kB / 435.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.2818, allocations: 5.344 kB / 435.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002757/0.2821, allocations: 144.6 kB / 436.1 MB, free: 7.051 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.001155/0.2832, allocations: 0.825 MB / 436.9 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.2836, allocations: 169.3 kB / 437.1 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.2838, allocations: 70.94 kB / 437.1 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.2838, allocations: 7.609 kB / 437.1 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.2841, allocations: 137.9 kB / 437.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.903e-06/0.2841, allocations: 0 / 437.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008608/0.2849, allocations: 406.2 kB / 437.7 MB, free: 6.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.285, allocations: 315 kB / 438 MB, free: 6.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004451/0.2854, allocations: 441.5 kB / 438.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.2855, allocations: 35.77 kB / 438.4 MB, free: 5.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.2856, allocations: 211.7 kB / 438.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.143e-05/0.2856, allocations: 86.77 kB / 438.7 MB, free: 5.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.452e-05/0.2857, allocations: 57.69 kB / 438.8 MB, free: 5.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.109e-05/0.2858, allocations: 348.2 kB / 439.1 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.2859, allocations: 66.45 kB / 439.2 MB, free: 5.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.2861, allocations: 174.8 kB / 439.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.2864, allocations: 170.1 kB / 439.5 MB, free: 5.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2864, allocations: 6.344 kB / 439.5 MB, free: 5.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004488/0.2868, allocations: 280.4 kB / 439.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2868, allocations: 5.625 kB / 439.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.2868, allocations: 1.188 kB / 439.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001367/0.287, allocations: 35.94 kB / 439.8 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.2872, allocations: 51.95 kB / 439.9 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.2883, allocations: 1.571 MB / 441.5 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.2886, allocations: 25.92 kB / 441.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.2886, allocations: 11.42 kB / 441.5 MB, free: 3.527 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.0001685/0.2888, allocations: 168.8 kB / 441.7 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.912e-05/0.2888, allocations: 45.25 kB / 441.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.98e-05/0.2889, allocations: 47.36 kB / 441.8 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2889, allocations: 3.031 kB / 441.8 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2889, allocations: 0 / 441.8 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004045/0.2893, allocations: 0.5906 MB / 442.4 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008292/0.2902, allocations: 0.6996 MB / 443.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.2902, allocations: 3 kB / 443.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.2904, allocations: 48.23 kB / 443.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.2904, allocations: 2.375 kB / 443.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.2904, allocations: 10.98 kB / 443.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2904, allocations: 1.031 kB / 443.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2904, allocations: 1.797 kB / 443.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005096/0.2909, allocations: 410.5 kB / 443.5 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.291, allocations: 148.6 kB / 443.7 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/0.2911, allocations: 8.781 kB / 443.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.2913, allocations: 13.09 kB / 443.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.2914, allocations: 15.61 kB / 443.7 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.381e-05/0.2914, allocations: 6.359 kB / 443.7 MB, free: 1.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003193/0.2917, allocations: 319.3 kB / 444 MB, free: 1.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2917, allocations: 1.156 kB / 444 MB, free: 1.719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004055/0.2921, allocations: 92.41 kB / 444.1 MB, free: 1.703 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 (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.001489/0.2936, allocations: 418.1 kB / 444.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005836/0.2942, allocations: 300 kB / 444.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2942, allocations: 1.188 kB / 444.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.2943, allocations: 75.05 kB / 444.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006023/0.2949, allocations: 112.4 kB / 445 MB, free: 1.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.2964, allocations: 0.8426 MB / 445.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.2966, allocations: 0.7971 MB / 446.6 MB, free: 100 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.669e-05/0.2967, allocations: 33.17 kB / 446.7 MB, free: 92 kB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2967, allocations: 0 / 446.7 MB, free: 92 kB / 350.1 MB Notification: Performance of Templates: time 0.01005/0.3067, allocations: 5.943 MB / 452.6 MB, free: 15.26 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 -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.991386816138402]