Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001756/0.001756, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002073/0.002073, allocations: 205.8 kB / 23.72 MB, free: 4.391 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.447/1.447, allocations: 230.5 MB / 257.4 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2254/0.2254, allocations: 46.94 MB / 360.8 MB, free: 3.934 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002579/0.002579, allocations: 79.86 kB / 0.4966 GB, free: 7.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3258, allocations: 66.09 MB / 0.5612 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001698/0.3275, allocations: 495.4 kB / 0.5616 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003425/0.3278, allocations: 103.7 kB / 0.5617 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.814e-05/0.3279, allocations: 3.938 kB / 0.5617 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.012e-05/0.3279, allocations: 3.938 kB / 0.5617 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.3281, allocations: 19.92 kB / 0.5618 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.629e-05/0.3281, allocations: 0 / 0.5618 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.031e-05/0.3281, allocations: 8 kB / 0.5618 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.82e-05/0.3282, allocations: 0 / 0.5618 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.867e-05/0.3282, allocations: 4 kB / 0.5618 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.641e-05/0.3283, allocations: 7.922 kB / 0.5618 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.517e-06/0.3283, allocations: 0 / 0.5618 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.188e-05/0.3284, allocations: 19.98 kB / 0.5618 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.3284, allocations: 3.984 kB / 0.5618 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.315e-05/0.3284, allocations: 0 / 0.5618 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.57e-05/0.3285, allocations: 27.58 kB / 0.5618 GB, free: 3.312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3285, allocations: 3.984 kB / 0.5618 GB, free: 3.309 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3285, allocations: 0 / 0.5618 GB, free: 3.309 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.3285, allocations: 3.938 kB / 0.5618 GB, free: 3.305 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.0003364/0.3288, allocations: 241.1 kB / 0.5621 GB, free: 3.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.3289, allocations: 8.031 kB / 0.5621 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.3289, allocations: 8.922 kB / 0.5621 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.329, allocations: 110.5 kB / 0.5622 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.329, allocations: 384 / 0.5622 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.329, allocations: 384 / 0.5622 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.055e-05/0.3291, allocations: 30.27 kB / 0.5622 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3291, allocations: 4.188 kB / 0.5622 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.3292, allocations: 7.938 kB / 0.5622 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3292, allocations: 4 kB / 0.5622 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.284e-05/0.3292, allocations: 7.984 kB / 0.5622 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.3293, allocations: 97.33 kB / 0.5623 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.3295, allocations: 38.55 kB / 0.5624 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.152e-05/0.3296, allocations: 16.86 kB / 0.5624 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003163/0.3299, allocations: 40.03 kB / 0.5624 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.3299, allocations: 38.56 kB / 0.5625 GB, free: 2.555 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3299, allocations: 0 / 0.5625 GB, free: 2.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001282/0.3312, allocations: 189.3 kB / 0.5626 GB, free: 2.363 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.3313, allocations: 55.41 kB / 0.5627 GB, free: 2.297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.875e-05/0.3313, allocations: 89.86 kB / 0.5628 GB, free: 2.199 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.3314, allocations: 25.7 kB / 0.5628 GB, free: 2.168 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.3314, allocations: 88.12 kB / 0.5629 GB, free: 2.078 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.3314, allocations: 15.89 kB / 0.5629 GB, free: 2.062 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.3315, allocations: 17.72 kB / 0.5629 GB, free: 2.039 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3316, allocations: 310.8 kB / 0.5632 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.272e-05/0.3317, allocations: 23.97 kB / 0.5632 GB, free: 1.703 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.14e-05/0.3318, allocations: 23.86 kB / 0.5633 GB, free: 1.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.332, allocations: 52.95 kB / 0.5633 GB, free: 1.625 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.332, allocations: 3.938 kB / 0.5633 GB, free: 1.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002047/0.3322, allocations: 73.66 kB / 0.5634 GB, free: 1.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.3322, allocations: 8 kB / 0.5634 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3322, allocations: 3.938 kB / 0.5634 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3322, allocations: 0 / 0.5634 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.3323, allocations: 11.98 kB / 0.5634 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.3323, allocations: 7.984 kB / 0.5634 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.349e-05/0.3324, allocations: 8 kB / 0.5634 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.3324, allocations: 3.984 kB / 0.5634 GB, free: 1.5 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 8.856e-05/0.3325, allocations: 113.8 kB / 0.5635 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.3325, allocations: 7.953 kB / 0.5635 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.3328, allocations: 89.17 kB / 0.5636 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3328, allocations: 4.312 kB / 0.5636 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3328, allocations: 0 / 0.5636 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3328, allocations: 4 kB / 0.5636 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000715/0.3335, allocations: 299.2 kB / 0.5639 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3335, allocations: 0 / 0.5639 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.725e-05/0.3336, allocations: 15.98 kB / 0.5639 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3336, allocations: 48 / 0.5639 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.3336, allocations: 4.016 kB / 0.5639 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3336, allocations: 8 kB / 0.5639 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3336, allocations: 3.938 kB / 0.564 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.3339, allocations: 176.3 kB / 0.5641 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-06/0.3339, allocations: 11.94 kB / 0.5641 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.3339, allocations: 0 / 0.5641 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.334, allocations: 8 kB / 0.5641 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.3341, allocations: 7.984 kB / 0.5641 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.3341, allocations: 0 / 0.5641 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.294e-05/0.3341, allocations: 83.28 kB / 0.5642 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3341, allocations: 0 / 0.5642 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002396/0.3344, allocations: 11.94 kB / 0.5642 GB, free: 0.5898 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.0001328/0.3345, allocations: 99.19 kB / 0.5643 GB, free: 492 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002289/0.3347, allocations: 43.95 kB / 0.5644 GB, free: 448 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3347, allocations: 0 / 0.5644 GB, free: 448 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.21e-05/0.3348, allocations: 31.86 kB / 0.5644 GB, free: 416 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.335, allocations: 13.95 kB / 0.5644 GB, free: 404 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004039/0.3354, allocations: 129.9 kB / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.827e-05/0.3355, allocations: 55.36 kB / 0.5646 GB, free: 168 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.385e-05/0.3355, allocations: 11.98 kB / 0.5646 GB, free: 156 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.3355, allocations: 15.38 kB / 0.5646 GB, free: 140 kB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3355, allocations: 0 / 0.5646 GB, free: 140 kB / 398.1 MB Notification: Performance of Templates: time 0.003211/0.3388, allocations: 0.6848 MB / 0.5653 GB, free: 15.45 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 4.895117148756981]