Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.001976/0.001976, allocations: 114.5 kB / 21.18 MB, free: 0.5859 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.002428/0.002428, allocations: 206.8 kB / 24.46 MB, free: 4.012 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.469/1.469, allocations: 230.2 MB / 257.8 MB, free: 8.504 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2272/0.2272, allocations: 46.88 MB / 361.1 MB, free: 4.629 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) 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(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Warning: Requested package Modelica 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.002347/0.002347, allocations: 75.88 kB / 0.4967 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2915, allocations: 65.99 MB / 0.5612 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001787/0.2933, allocations: 0.4953 MB / 0.5617 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003266/0.2936, allocations: 107.7 kB / 0.5618 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.914e-05/0.2936, allocations: 4 kB / 0.5618 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.2936, allocations: 0 / 0.5618 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.2938, allocations: 15.92 kB / 0.5618 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.882e-05/0.2939, allocations: 4 kB / 0.5618 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.478e-05/0.2939, allocations: 3.984 kB / 0.5618 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.601e-05/0.2939, allocations: 4 kB / 0.5618 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.821e-05/0.294, allocations: 3.938 kB / 0.5618 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.036e-05/0.294, allocations: 3.938 kB / 0.5618 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.294, allocations: 4 kB / 0.5618 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.42e-05/0.2941, allocations: 23.95 kB / 0.5618 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.917e-06/0.2941, allocations: 4 kB / 0.5618 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.018e-05/0.2941, allocations: 11.94 kB / 0.5618 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 7.627e-05/0.2942, allocations: 10.8 kB / 0.5619 GB, free: 4.332 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2942, allocations: 0 / 0.5619 GB, free: 4.332 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2942, allocations: 0 / 0.5619 GB, free: 4.332 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.2942, allocations: 0 / 0.5619 GB, free: 4.332 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003513/0.2946, allocations: 327.5 kB / 0.5622 GB, free: 3.961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.2946, allocations: 8.031 kB / 0.5622 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.2946, allocations: 0.9375 kB / 0.5622 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.2948, allocations: 168.4 kB / 0.5623 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.2948, allocations: 384 / 0.5623 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.2948, allocations: 384 / 0.5623 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.2949, allocations: 38.25 kB / 0.5624 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.2949, allocations: 4.188 kB / 0.5624 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.2949, allocations: 7.875 kB / 0.5624 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.2949, allocations: 4 kB / 0.5624 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.605e-05/0.295, allocations: 7.984 kB / 0.5624 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.2951, allocations: 145.7 kB / 0.5625 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.2953, allocations: 42.61 kB / 0.5626 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.862e-05/0.2954, allocations: 8.859 kB / 0.5626 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003724/0.2957, allocations: 121 kB / 0.5627 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.2958, allocations: 38.5 kB / 0.5627 GB, free: 3.246 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 3.066e-06/0.2958, allocations: 7.984 kB / 0.5627 GB, free: 3.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001314/0.2971, allocations: 185.3 kB / 0.5629 GB, free: 3.051 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.2971, allocations: 55.34 kB / 0.563 GB, free: 2.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.733e-05/0.2972, allocations: 101.9 kB / 0.5631 GB, free: 2.875 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.2972, allocations: 25.7 kB / 0.5631 GB, free: 2.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.672e-05/0.2973, allocations: 84.12 kB / 0.5632 GB, free: 2.758 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.2973, allocations: 7.906 kB / 0.5632 GB, free: 2.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/0.2973, allocations: 17.72 kB / 0.5632 GB, free: 2.727 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.2975, allocations: 322.8 kB / 0.5635 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.407e-05/0.2976, allocations: 11.98 kB / 0.5635 GB, free: 2.391 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.644e-05/0.2977, allocations: 24.11 kB / 0.5635 GB, free: 2.367 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.2978, allocations: 44.83 kB / 0.5636 GB, free: 2.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.2978, allocations: 0 / 0.5636 GB, free: 2.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000214/0.298, allocations: 77.66 kB / 0.5637 GB, free: 2.238 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2981, allocations: 11.88 kB / 0.5637 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.2981, allocations: 0 / 0.5637 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.2981, allocations: 0 / 0.5637 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.2982, allocations: 23.98 kB / 0.5637 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2982, allocations: 0 / 0.5637 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.015e-05/0.2983, allocations: 11.98 kB / 0.5637 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.2983, allocations: 0 / 0.5637 GB, free: 2.191 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.505e-05/0.2984, allocations: 109.8 kB / 0.5638 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.2984, allocations: 7.891 kB / 0.5638 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.2987, allocations: 93.45 kB / 0.5639 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.2987, allocations: 3.938 kB / 0.5639 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2987, allocations: 4 kB / 0.5639 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2987, allocations: 0 / 0.5639 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007534/0.2995, allocations: 347.3 kB / 0.5642 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2995, allocations: 7.969 kB / 0.5643 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.841e-05/0.2996, allocations: 15.98 kB / 0.5643 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2996, allocations: 0 / 0.5643 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.2996, allocations: 3.984 kB / 0.5643 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2996, allocations: 4 kB / 0.5643 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2996, allocations: 3.938 kB / 0.5643 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.2998, allocations: 180.3 kB / 0.5645 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/0.2999, allocations: 85.06 kB / 0.5645 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.2999, allocations: 0 / 0.5645 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.3, allocations: 4 kB / 0.5645 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.3, allocations: 7.922 kB / 0.5645 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.3, allocations: 8 kB / 0.5646 GB, free: 1.211 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.082e-05/0.3001, allocations: 79.22 kB / 0.5646 GB, free: 1.133 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3001, allocations: 0 / 0.5646 GB, free: 1.133 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.3003, allocations: 16.03 kB / 0.5646 GB, free: 1.117 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0001305/0.3004, allocations: 95.25 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.3006, allocations: 51.89 kB / 0.5648 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3006, allocations: 0 / 0.5648 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.324e-05/0.3007, allocations: 27.91 kB / 0.5648 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.301, allocations: 8.578 kB / 0.5648 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000422/0.3014, allocations: 133.9 kB / 0.5649 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.3017, allocations: 0.6768 MB / 0.5656 GB, free: 72 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.223e-05/0.3017, allocations: 7.984 kB / 0.5656 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.3018, allocations: 11.44 kB / 0.5656 GB, free: 52 kB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3018, allocations: 0 / 0.5656 GB, free: 52 kB / 398.1 MB Notification: Performance of Templates: time 0.01833/0.3201, allocations: 0.6816 MB / 0.5663 GB, free: 15.37 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.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: 5.005670133978128]