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.001568/0.001568, allocations: 107 kB / 21.18 MB, free: 0.6484 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.00177/0.00177, allocations: 213.3 kB / 24.48 MB, free: 3.941 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.445/1.445, allocations: 230.6 MB / 258.2 MB, free: 7.742 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.225/0.225, allocations: 46.95 MB / 361.6 MB, free: 4.012 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.002048/0.002048, allocations: 71.89 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2739, allocations: 66.03 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001624/0.2755, allocations: 0.506 MB / 0.5623 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003311/0.2758, allocations: 99.72 kB / 0.5624 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.956e-05/0.2759, allocations: 0 / 0.5624 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.598e-05/0.2759, allocations: 0 / 0.5624 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.2761, allocations: 11.92 kB / 0.5624 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.542e-05/0.2761, allocations: 0 / 0.5624 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.672e-05/0.2761, allocations: 11.94 kB / 0.5624 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.661e-05/0.2762, allocations: 4 kB / 0.5624 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.552e-05/0.2762, allocations: 7.938 kB / 0.5624 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.01e-05/0.2762, allocations: 7.969 kB / 0.5624 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.2762, allocations: 0 / 0.5624 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.679e-05/0.2763, allocations: 19.98 kB / 0.5624 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.04e-05/0.2763, allocations: 0 / 0.5624 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.526e-05/0.2764, allocations: 3.938 kB / 0.5624 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.017e-05/0.2764, allocations: 19.64 kB / 0.5625 GB, free: 3.465 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2764, allocations: 0 / 0.5625 GB, free: 3.465 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2764, allocations: 0 / 0.5625 GB, free: 3.465 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.2764, allocations: 0 / 0.5625 GB, free: 3.465 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.0003155/0.2768, allocations: 253.1 kB / 0.5627 GB, free: 3.188 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.2768, allocations: 8.031 kB / 0.5627 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.2768, allocations: 4.938 kB / 0.5627 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.757e-05/0.2769, allocations: 106.5 kB / 0.5628 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.2769, allocations: 384 / 0.5628 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.277, allocations: 384 / 0.5628 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.796e-05/0.277, allocations: 38.27 kB / 0.5629 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.2771, allocations: 8.062 kB / 0.5629 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-06/0.2771, allocations: 3.938 kB / 0.5629 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.2771, allocations: 0 / 0.5629 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.28e-05/0.2771, allocations: 7.984 kB / 0.5629 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.2772, allocations: 109.3 kB / 0.563 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.2774, allocations: 38.55 kB / 0.563 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.669e-05/0.2774, allocations: 8.859 kB / 0.563 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003602/0.2778, allocations: 40.03 kB / 0.5631 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.2778, allocations: 42.5 kB / 0.5631 GB, free: 2.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2778, allocations: 0 / 0.5631 GB, free: 2.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001427/0.2793, allocations: 185.3 kB / 0.5633 GB, free: 2.512 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.2793, allocations: 55.34 kB / 0.5633 GB, free: 2.445 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.024e-05/0.2794, allocations: 97.86 kB / 0.5634 GB, free: 2.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.2794, allocations: 25.7 kB / 0.5635 GB, free: 2.309 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.2795, allocations: 80.27 kB / 0.5635 GB, free: 2.227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.2795, allocations: 15.89 kB / 0.5635 GB, free: 2.211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.2795, allocations: 21.72 kB / 0.5636 GB, free: 2.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2797, allocations: 310.8 kB / 0.5639 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.228e-05/0.2798, allocations: 23.97 kB / 0.5639 GB, free: 1.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-05/0.2798, allocations: 15.98 kB / 0.5639 GB, free: 1.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.28, allocations: 44.83 kB / 0.5639 GB, free: 1.785 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.28, allocations: 0 / 0.5639 GB, free: 1.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002254/0.2802, allocations: 81.86 kB / 0.564 GB, free: 1.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.2802, allocations: 7.984 kB / 0.564 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2802, allocations: 7.938 kB / 0.564 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.2802, allocations: 0 / 0.564 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.2804, allocations: 15.98 kB / 0.5641 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.2804, allocations: 0 / 0.5641 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.965e-05/0.2805, allocations: 8 kB / 0.5641 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.2805, allocations: 0 / 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 8.254e-05/0.2806, allocations: 113.8 kB / 0.5642 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.2806, allocations: 7.953 kB / 0.5642 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.2809, allocations: 89.12 kB / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.2809, allocations: 7.984 kB / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2809, allocations: 0 / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2809, allocations: 0 / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007547/0.2816, allocations: 307.2 kB / 0.5646 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.2816, allocations: 4.047 kB / 0.5646 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.2818, allocations: 15.97 kB / 0.5646 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2818, allocations: 0 / 0.5646 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.2818, allocations: 4 kB / 0.5646 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2818, allocations: 0 / 0.5646 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2818, allocations: 0 / 0.5646 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.282, allocations: 184.3 kB / 0.5648 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-06/0.282, allocations: 3.953 kB / 0.5648 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.2821, allocations: 7.984 kB / 0.5648 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.2822, allocations: 4 kB / 0.5648 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.709e-05/0.2822, allocations: 11.86 kB / 0.5648 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.2822, allocations: 4.125 kB / 0.5648 GB, free: 0.832 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.371e-05/0.2822, allocations: 75.28 kB / 0.5649 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2822, allocations: 0 / 0.5649 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.2825, allocations: 15.94 kB / 0.5649 GB, free: 0.7422 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.0001216/0.2826, allocations: 99.34 kB / 0.565 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.2828, allocations: 51.95 kB / 0.565 GB, free: 0.582 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2828, allocations: 0 / 0.565 GB, free: 0.582 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.418e-05/0.2829, allocations: 19.92 kB / 0.565 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.2832, allocations: 15.92 kB / 0.5651 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004032/0.2836, allocations: 121.9 kB / 0.5652 GB, free: 408 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.083e-05/0.2836, allocations: 63.42 kB / 0.5652 GB, free: 324 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.182e-05/0.2837, allocations: 7.984 kB / 0.5652 GB, free: 316 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.2837, allocations: 7.438 kB / 0.5652 GB, free: 308 kB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2837, allocations: 4 kB / 0.5653 GB, free: 304 kB / 398.1 MB Notification: Performance of Templates: time 0.003004/0.2867, allocations: 0.7045 MB / 0.5659 GB, free: 15.6 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 -s gbode -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: 4.785922522991314]