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.001909/0.001909, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002405/0.002405, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.448/1.448, allocations: 230.5 MB / 258.1 MB, free: 7.766 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.2271/0.2271, allocations: 46.94 MB / 361.5 MB, free: 3.906 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.002443/0.002443, allocations: 75.88 kB / 0.4973 GB, free: 7.055 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3353, allocations: 66.1 MB / 0.5619 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001835/0.3372, allocations: 0.4901 MB / 0.5624 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003596/0.3375, allocations: 99.66 kB / 0.5625 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.167e-05/0.3376, allocations: 0 / 0.5625 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.637e-05/0.3376, allocations: 3.938 kB / 0.5625 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.3378, allocations: 15.92 kB / 0.5625 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.726e-05/0.3378, allocations: 4 kB / 0.5625 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.289e-05/0.3379, allocations: 7.984 kB / 0.5625 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.859e-05/0.3379, allocations: 4 kB / 0.5625 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.408e-05/0.338, allocations: 4 kB / 0.5625 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.372e-05/0.338, allocations: 3.938 kB / 0.5625 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.338, allocations: 0 / 0.5625 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.095e-05/0.3381, allocations: 23.97 kB / 0.5625 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.3381, allocations: 0 / 0.5625 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.457e-05/0.3381, allocations: 0 / 0.5625 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.3382, allocations: 27.56 kB / 0.5626 GB, free: 3.277 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3382, allocations: 0 / 0.5626 GB, free: 3.277 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3383, allocations: 4 kB / 0.5626 GB, free: 3.273 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.3383, allocations: 3.938 kB / 0.5626 GB, free: 3.27 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.0003399/0.3386, allocations: 249 kB / 0.5628 GB, free: 2.996 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3386, allocations: 8.031 kB / 0.5628 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.3387, allocations: 0.9375 kB / 0.5628 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.3388, allocations: 110.5 kB / 0.5629 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.3388, allocations: 4.359 kB / 0.5629 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.3388, allocations: 384 / 0.5629 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.333e-05/0.3389, allocations: 30.27 kB / 0.563 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3389, allocations: 4.188 kB / 0.563 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.3389, allocations: 3.938 kB / 0.563 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3389, allocations: 4 kB / 0.563 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.955e-05/0.339, allocations: 11.98 kB / 0.563 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001442/0.3391, allocations: 97.33 kB / 0.5631 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.3393, allocations: 38.55 kB / 0.5631 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.3394, allocations: 12.86 kB / 0.5631 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003207/0.3397, allocations: 40.03 kB / 0.5632 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.3397, allocations: 42.56 kB / 0.5632 GB, free: 2.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3397, allocations: 0 / 0.5632 GB, free: 2.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001211/0.3409, allocations: 189.3 kB / 0.5634 GB, free: 2.324 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.341, allocations: 51.41 kB / 0.5634 GB, free: 2.262 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.189e-05/0.341, allocations: 97.86 kB / 0.5635 GB, free: 2.156 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.3411, allocations: 25.7 kB / 0.5635 GB, free: 2.125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.3411, allocations: 80.14 kB / 0.5636 GB, free: 2.043 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.3411, allocations: 15.89 kB / 0.5636 GB, free: 2.027 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.3412, allocations: 17.72 kB / 0.5637 GB, free: 2.004 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3413, allocations: 314.8 kB / 0.564 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.219e-05/0.3414, allocations: 27.91 kB / 0.564 GB, free: 1.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.986e-05/0.3415, allocations: 15.92 kB / 0.564 GB, free: 1.645 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.3416, allocations: 48.95 kB / 0.564 GB, free: 1.594 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3416, allocations: 4 kB / 0.564 GB, free: 1.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001925/0.3418, allocations: 73.67 kB / 0.5641 GB, free: 1.512 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3418, allocations: 4 kB / 0.5641 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3418, allocations: 7.922 kB / 0.5641 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3418, allocations: 0 / 0.5641 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.342, allocations: 15.98 kB / 0.5641 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.342, allocations: 0 / 0.5641 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.334e-05/0.342, allocations: 4 kB / 0.5641 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.3421, allocations: 4 kB / 0.5642 GB, free: 1.477 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.557e-05/0.3421, allocations: 121.8 kB / 0.5643 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.233e-05/0.3422, allocations: 3.953 kB / 0.5643 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.3424, allocations: 85.19 kB / 0.5644 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.3424, allocations: 4.281 kB / 0.5644 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3424, allocations: 4.25 kB / 0.5644 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.3424, allocations: 7.984 kB / 0.5644 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006932/0.3431, allocations: 302.9 kB / 0.5647 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3431, allocations: 0 / 0.5647 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.279e-05/0.3432, allocations: 15.98 kB / 0.5647 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3432, allocations: 0 / 0.5647 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.3432, allocations: 4 kB / 0.5647 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3432, allocations: 0 / 0.5647 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3432, allocations: 3.938 kB / 0.5647 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.3435, allocations: 184.3 kB / 0.5649 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.126e-06/0.3435, allocations: 3.953 kB / 0.5649 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.3435, allocations: 7.984 kB / 0.5649 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.3436, allocations: 8 kB / 0.5649 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/0.3436, allocations: 3.984 kB / 0.5649 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.3437, allocations: 0 / 0.5649 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.151e-05/0.3437, allocations: 79.28 kB / 0.565 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3437, allocations: 0 / 0.565 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000232/0.3439, allocations: 16.03 kB / 0.565 GB, free: 0.5586 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.000146/0.3441, allocations: 103.1 kB / 0.5651 GB, free: 456 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.3443, allocations: 47.95 kB / 0.5651 GB, free: 408 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3443, allocations: 0 / 0.5651 GB, free: 408 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.212e-05/0.3444, allocations: 27.92 kB / 0.5651 GB, free: 380 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.3446, allocations: 9.812 kB / 0.5652 GB, free: 372 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004174/0.345, allocations: 159.6 kB / 0.5653 GB, free: 176 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.798e-05/0.3451, allocations: 59.36 kB / 0.5654 GB, free: 96 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.3451, allocations: 11.42 kB / 0.5654 GB, free: 84 kB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3451, allocations: 0 / 0.5654 GB, free: 84 kB / 398.1 MB Notification: Performance of Templates: time 0.002332/0.3474, allocations: 0.68 MB / 0.566 GB, free: 15.4 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/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_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: 7.237076791934669]