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.001445/0.001445, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.0016/0.0016, allocations: 213.5 kB / 24.5 MB, free: 4.148 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.322/1.322, allocations: 230.5 MB / 258.1 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 179] 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.2045/0.2045, allocations: 46.93 MB / 361.5 MB, free: 4.168 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.002142/0.002142, allocations: 75.88 kB / 0.4974 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2586, allocations: 66.08 MB / 0.5619 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001463/0.26, allocations: 0.5031 MB / 0.5624 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002913/0.2603, allocations: 99.69 kB / 0.5625 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.463e-05/0.2604, allocations: 4 kB / 0.5625 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.2604, allocations: 0 / 0.5625 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.2605, allocations: 15.92 kB / 0.5625 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.608e-05/0.2606, allocations: 3.984 kB / 0.5625 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.12e-05/0.2606, allocations: 7.938 kB / 0.5626 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.2606, allocations: 0 / 0.5626 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.631e-05/0.2607, allocations: 11.98 kB / 0.5626 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.5e-05/0.2607, allocations: 7.938 kB / 0.5626 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.277e-06/0.2607, allocations: 0 / 0.5626 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.579e-05/0.2608, allocations: 23.97 kB / 0.5626 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.835e-06/0.2608, allocations: 0 / 0.5626 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.331e-05/0.2608, allocations: 0 / 0.5626 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 7.356e-05/0.2609, allocations: 27.56 kB / 0.5626 GB, free: 3.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2609, allocations: 0 / 0.5626 GB, free: 3.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2609, allocations: 0 / 0.5626 GB, free: 3.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.2609, allocations: 0 / 0.5626 GB, free: 3.543 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.0002832/0.2612, allocations: 249.1 kB / 0.5629 GB, free: 3.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.2612, allocations: 12.03 kB / 0.5629 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.455e-05/0.2612, allocations: 4.938 kB / 0.5629 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.874e-05/0.2613, allocations: 102.5 kB / 0.563 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.639e-06/0.2613, allocations: 4.375 kB / 0.563 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.2614, allocations: 384 / 0.563 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.001e-05/0.2614, allocations: 46.12 kB / 0.563 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2615, allocations: 192 / 0.563 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.2615, allocations: 3.938 kB / 0.563 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2615, allocations: 0 / 0.563 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.857e-05/0.2615, allocations: 12 kB / 0.563 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.2616, allocations: 120.8 kB / 0.5632 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.2618, allocations: 38.61 kB / 0.5632 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.458e-05/0.2618, allocations: 12.8 kB / 0.5632 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002959/0.2621, allocations: 40.03 kB / 0.5632 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.2622, allocations: 34.56 kB / 0.5633 GB, free: 2.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2622, allocations: 0 / 0.5633 GB, free: 2.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.00118/0.2633, allocations: 193.6 kB / 0.5635 GB, free: 2.559 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.2634, allocations: 55.34 kB / 0.5635 GB, free: 2.492 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.902e-05/0.2634, allocations: 93.86 kB / 0.5636 GB, free: 2.391 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.2635, allocations: 29.7 kB / 0.5636 GB, free: 2.355 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.2635, allocations: 80.14 kB / 0.5637 GB, free: 2.273 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.2635, allocations: 15.89 kB / 0.5637 GB, free: 2.258 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.2636, allocations: 17.72 kB / 0.5637 GB, free: 2.234 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.2637, allocations: 310.8 kB / 0.564 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.791e-05/0.2638, allocations: 28.09 kB / 0.5641 GB, free: 1.895 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.426e-05/0.2638, allocations: 15.98 kB / 0.5641 GB, free: 1.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.264, allocations: 44.83 kB / 0.5641 GB, free: 1.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.264, allocations: 0 / 0.5641 GB, free: 1.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001835/0.2642, allocations: 81.59 kB / 0.5642 GB, free: 1.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2642, allocations: 11.92 kB / 0.5642 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2642, allocations: 4 kB / 0.5642 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.2642, allocations: 0 / 0.5642 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.2643, allocations: 15.98 kB / 0.5642 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.2643, allocations: 0 / 0.5642 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.734e-05/0.2644, allocations: 8 kB / 0.5642 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.2644, allocations: 0 / 0.5642 GB, free: 1.707 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 7.421e-05/0.2645, allocations: 115.1 kB / 0.5643 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.2645, allocations: 8.141 kB / 0.5644 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.2647, allocations: 93.19 kB / 0.5644 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2647, allocations: 0 / 0.5644 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2647, allocations: 7.984 kB / 0.5644 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2647, allocations: 0 / 0.5644 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006539/0.2654, allocations: 326.4 kB / 0.5648 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2654, allocations: 4 kB / 0.5648 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.174e-05/0.2655, allocations: 11.98 kB / 0.5648 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2655, allocations: 0 / 0.5648 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.2655, allocations: 4 kB / 0.5648 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2655, allocations: 3.938 kB / 0.5648 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2655, allocations: 0 / 0.5648 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.2657, allocations: 184.3 kB / 0.565 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.948e-06/0.2657, allocations: 7.953 kB / 0.565 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.2658, allocations: 3.984 kB / 0.565 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.635e-05/0.2659, allocations: 7.938 kB / 0.565 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.542e-05/0.2659, allocations: 7.984 kB / 0.565 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.2659, allocations: 0 / 0.565 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.161e-05/0.2659, allocations: 83.28 kB / 0.5651 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2659, allocations: 0 / 0.5651 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002173/0.2661, allocations: 11.94 kB / 0.5651 GB, free: 0.7539 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.000113/0.2662, allocations: 99.19 kB / 0.5652 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.2664, allocations: 55.83 kB / 0.5652 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2664, allocations: 0 / 0.5652 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.381e-05/0.2665, allocations: 24.08 kB / 0.5652 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.2667, allocations: 4 kB / 0.5653 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003869/0.2671, allocations: 155.5 kB / 0.5654 GB, free: 384 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.2674, allocations: 0.6768 MB / 0.5661 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.2674, allocations: 15.36 kB / 0.5661 GB, free: 15.66 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2674, allocations: 0 / 0.5661 GB, free: 15.66 MB / 414.1 MB Notification: Performance of Templates: time 0.002083/0.2695, allocations: 0.6727 MB / 0.5667 GB, free: 14.98 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: 6.369321791920811]