Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001518/0.001518, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001658/0.001658, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.41/1.41, allocations: 230.4 MB / 255.4 MB, free: 15.02 MB / 206.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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 63.89 kB / 374.7 MB, free: 9.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0995/0.1014, allocations: 53.31 MB / 428 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.00466/0.1061, allocations: 2.886 MB / 430.9 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002388/0.1084, allocations: 1.414 MB / 432.3 MB, free: 44 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.1086, allocations: 8 kB / 432.3 MB, free: 36 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1779/0.2865, allocations: 171.9 kB / 432.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007157/0.2872, allocations: 251.1 kB / 432.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.2875, allocations: 139.5 kB / 432.9 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005337/0.2881, allocations: 457.4 kB / 433.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.2882, allocations: 77.06 kB / 433.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.2884, allocations: 187.4 kB / 433.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.2887, allocations: 214.1 kB / 433.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.538e-05/0.2887, allocations: 31.53 kB / 433.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.2889, allocations: 71.83 kB / 433.9 MB, free: 8.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.912e-05/0.289, allocations: 95.17 kB / 434 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.2891, allocations: 193.8 kB / 434.2 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004229/0.2895, allocations: 492.3 kB / 434.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2895, allocations: 1.156 kB / 434.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2895, allocations: 3.141 kB / 434.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.2895, allocations: 0 / 434.7 MB, free: 8.391 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.0008584/0.2904, allocations: 0.7167 MB / 435.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2904, allocations: 10.06 kB / 435.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.093e-05/0.2905, allocations: 49.41 kB / 435.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.2909, allocations: 354.3 kB / 435.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.2909, allocations: 17.94 kB / 435.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.291, allocations: 17.12 kB / 435.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004052/0.2914, allocations: 299.3 kB / 436.1 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.2914, allocations: 1.094 kB / 436.1 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.2914, allocations: 11.03 kB / 436.1 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/0.2914, allocations: 4.312 kB / 436.1 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002573/0.2917, allocations: 152.2 kB / 436.3 MB, free: 7.449 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.001106/0.2928, allocations: 0.8219 MB / 437.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003644/0.2932, allocations: 174.6 kB / 437.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.2933, allocations: 73.19 kB / 437.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.2933, allocations: 3.844 kB / 437.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002313/0.2935, allocations: 138.2 kB / 437.5 MB, free: 6.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.542e-06/0.2936, allocations: 5.406 kB / 437.5 MB, free: 6.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007933/0.2943, allocations: 402.4 kB / 437.9 MB, free: 6.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.2944, allocations: 319.3 kB / 438.2 MB, free: 6.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004207/0.2948, allocations: 437.8 kB / 438.6 MB, free: 6.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.2949, allocations: 32.83 kB / 438.7 MB, free: 6.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.295, allocations: 211.4 kB / 438.9 MB, free: 6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.138e-05/0.295, allocations: 90.86 kB / 439 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.247e-05/0.2951, allocations: 59.56 kB / 439 MB, free: 5.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.528e-05/0.2952, allocations: 347.1 kB / 439.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.2953, allocations: 63.19 kB / 439.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.2955, allocations: 179.5 kB / 439.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.2958, allocations: 165.3 kB / 439.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2958, allocations: 1.375 kB / 439.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004147/0.2962, allocations: 280.8 kB / 440 MB, free: 5.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2962, allocations: 5.844 kB / 440 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2962, allocations: 0.75 kB / 440 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001234/0.2963, allocations: 37.8 kB / 440.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.2965, allocations: 51.16 kB / 440.1 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.2976, allocations: 1.574 MB / 441.7 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.2978, allocations: 22.48 kB / 441.7 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.2979, allocations: 11.52 kB / 441.7 MB, free: 3.629 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.0001495/0.298, allocations: 166.1 kB / 441.9 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.928e-05/0.2981, allocations: 44.86 kB / 441.9 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.263e-05/0.2981, allocations: 47.48 kB / 442 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2981, allocations: 2.469 kB / 442 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2981, allocations: 6.688 kB / 442 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003789/0.2985, allocations: 0.5779 MB / 442.6 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008076/0.2993, allocations: 0.7117 MB / 443.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2993, allocations: 1.766 kB / 443.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.2996, allocations: 46.33 kB / 443.3 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2996, allocations: 1.156 kB / 443.3 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.2996, allocations: 6.281 kB / 443.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2996, allocations: 1.125 kB / 443.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2996, allocations: 1.531 kB / 443.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004909/0.3001, allocations: 419.9 kB / 443.7 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.3002, allocations: 144.8 kB / 443.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.747e-05/0.3002, allocations: 10.12 kB / 443.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.3004, allocations: 12.09 kB / 443.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/0.3005, allocations: 20.02 kB / 443.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.3005, allocations: 6.344 kB / 443.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002953/0.3008, allocations: 319.2 kB / 444.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3008, allocations: 1.25 kB / 444.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003799/0.3012, allocations: 88.22 kB / 444.3 MB, free: 1.793 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.001372/0.3025, allocations: 422.8 kB / 444.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005465/0.3031, allocations: 299 kB / 445 MB, free: 1.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3031, allocations: 1.031 kB / 445 MB, free: 1.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.3033, allocations: 74.58 kB / 445.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005864/0.3039, allocations: 105.3 kB / 445.2 MB, free: 1.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.3051, allocations: 0.8472 MB / 446.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.3054, allocations: 0.797 MB / 446.9 MB, free: 184 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.471e-05/0.3055, allocations: 32.88 kB / 446.9 MB, free: 176 kB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3055, allocations: 1.188 kB / 446.9 MB, free: 176 kB / 350.1 MB Notification: Performance of Templates: time 0.009868/0.3153, allocations: 5.944 MB / 452.8 MB, free: 15.23 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.815233014058322]