Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 205.1 kB / 24.48 MB, free: 3.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.453/1.453, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2298/0.2298, allocations: 46.97 MB / 361.6 MB, free: 4.016 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 59.91 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3363, allocations: 66.05 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001809/0.3381, allocations: 499.4 kB / 0.5623 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003686/0.3385, allocations: 111.6 kB / 0.5624 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.916e-05/0.3385, allocations: 0 / 0.5624 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.3386, allocations: 0 / 0.5624 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.3388, allocations: 19.92 kB / 0.5624 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.847e-05/0.3388, allocations: 0 / 0.5624 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.166e-05/0.3389, allocations: 7.938 kB / 0.5624 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.129e-05/0.3389, allocations: 0 / 0.5624 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.97e-05/0.3389, allocations: 3.984 kB / 0.5624 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.991e-05/0.339, allocations: 11.92 kB / 0.5624 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.339, allocations: 0 / 0.5624 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.275e-05/0.3391, allocations: 27.98 kB / 0.5625 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.3391, allocations: 0 / 0.5625 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.576e-05/0.3391, allocations: 0 / 0.5625 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.3392, allocations: 27.61 kB / 0.5625 GB, free: 3.465 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3392, allocations: 0 / 0.5625 GB, free: 3.465 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3392, allocations: 3.938 kB / 0.5625 GB, free: 3.461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3392, allocations: 0 / 0.5625 GB, free: 3.461 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.0003437/0.3396, allocations: 237.1 kB / 0.5627 GB, free: 3.199 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3396, allocations: 12.03 kB / 0.5627 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.3397, allocations: 0.9375 kB / 0.5627 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.3398, allocations: 110.5 kB / 0.5628 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.3398, allocations: 8.375 kB / 0.5628 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.3398, allocations: 4.312 kB / 0.5628 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.3399, allocations: 30.27 kB / 0.5629 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3399, allocations: 192 / 0.5629 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.34, allocations: 3.938 kB / 0.5629 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.34, allocations: 0 / 0.5629 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.051e-05/0.34, allocations: 19.97 kB / 0.5629 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.3402, allocations: 93.33 kB / 0.563 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.3404, allocations: 42.55 kB / 0.563 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.935e-05/0.3404, allocations: 12.86 kB / 0.563 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003661/0.3408, allocations: 40.03 kB / 0.5631 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.3408, allocations: 38.56 kB / 0.5631 GB, free: 2.711 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.3408, allocations: 0 / 0.5631 GB, free: 2.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001386/0.3422, allocations: 189.3 kB / 0.5633 GB, free: 2.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.3422, allocations: 55.41 kB / 0.5633 GB, free: 2.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.844e-05/0.3423, allocations: 89.86 kB / 0.5634 GB, free: 2.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3423, allocations: 25.7 kB / 0.5634 GB, free: 2.324 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.939e-05/0.3424, allocations: 80.14 kB / 0.5635 GB, free: 2.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.3424, allocations: 19.89 kB / 0.5635 GB, free: 2.223 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.3425, allocations: 21.66 kB / 0.5636 GB, free: 2.195 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3426, allocations: 310.8 kB / 0.5639 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.861e-05/0.3427, allocations: 28.09 kB / 0.5639 GB, free: 1.855 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.806e-05/0.3428, allocations: 15.98 kB / 0.5639 GB, free: 1.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.3429, allocations: 48.83 kB / 0.5639 GB, free: 1.789 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3429, allocations: 0 / 0.5639 GB, free: 1.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001935/0.3431, allocations: 77.59 kB / 0.564 GB, free: 1.707 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.3432, allocations: 8 kB / 0.564 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3432, allocations: 3.938 kB / 0.564 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3432, allocations: 4 kB / 0.564 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.3433, allocations: 16.17 kB / 0.5641 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.3433, allocations: 4 kB / 0.5641 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.512e-05/0.3434, allocations: 4 kB / 0.5641 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.3434, allocations: 7.984 kB / 0.5641 GB, free: 1.66 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.931e-05/0.3435, allocations: 109.8 kB / 0.5642 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.3435, allocations: 7.953 kB / 0.5642 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002838/0.3438, allocations: 97.11 kB / 0.5643 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3438, allocations: 0 / 0.5643 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.3438, allocations: 0 / 0.5643 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3438, allocations: 0 / 0.5643 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000717/0.3445, allocations: 298.9 kB / 0.5646 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3445, allocations: 0 / 0.5646 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.3446, allocations: 20.02 kB / 0.5646 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3446, allocations: 0 / 0.5646 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.3446, allocations: 0 / 0.5646 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3446, allocations: 0 / 0.5646 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3447, allocations: 4 kB / 0.5646 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.3449, allocations: 180.2 kB / 0.5648 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.116e-05/0.3449, allocations: 11.94 kB / 0.5648 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.3449, allocations: 0 / 0.5648 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.345, allocations: 8 kB / 0.5648 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/0.3451, allocations: 11.98 kB / 0.5648 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-06/0.3451, allocations: 0 / 0.5648 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.126e-05/0.3451, allocations: 75.28 kB / 0.5649 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3451, allocations: 0 / 0.5649 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.3453, allocations: 11.94 kB / 0.5649 GB, free: 0.7617 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.0001575/0.3455, allocations: 95.25 kB / 0.565 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.3457, allocations: 51.89 kB / 0.565 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3457, allocations: 96 / 0.565 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.535e-05/0.3458, allocations: 32.3 kB / 0.565 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.346, allocations: 6.328 kB / 0.565 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004568/0.3465, allocations: 163.4 kB / 0.5652 GB, free: 384 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.508e-05/0.3465, allocations: 63.3 kB / 0.5653 GB, free: 300 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.3466, allocations: 11.42 kB / 0.5653 GB, free: 288 kB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3466, allocations: 0 / 0.5653 GB, free: 288 kB / 398.1 MB Notification: Performance of Templates: time 0.002505/0.3491, allocations: 0.6727 MB / 0.5659 GB, free: 15.61 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 7.359625100012636]