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.0008905/0.0008905, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009172/0.0009172, allocations: 161.9 kB / 24.91 MB, free: 8.719 MB / 18.57 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 0.8665/0.8665, allocations: 177 MB / 205.2 MB, free: 4.422 MB / 186.7 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.1371/0.1371, allocations: 34.88 MB / 296.6 MB, free: 13.38 MB / 282.7 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 1.463e-06/1.463e-06, allocations: 0 / 325.9 MB, free: 88 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.371e-05, allocations: 5.406 kB / 325.9 MB, free: 84 kB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001822/0.001845, allocations: 0.5091 MB / 326.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003093/0.002155, allocations: 99.59 kB / 326.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.763e-05/0.002182, allocations: 0 / 326.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.303e-05/0.002195, allocations: 0 / 326.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.002416, allocations: 19.92 kB / 326.5 MB, free: 15.45 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.502e-05/0.002431, allocations: 3.984 kB / 326.5 MB, free: 15.45 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.622e-05/0.002478, allocations: 7.984 kB / 326.5 MB, free: 15.44 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.002515, allocations: 7.938 kB / 326.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.037e-05/0.002545, allocations: 3.938 kB / 326.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.591e-05/0.002591, allocations: 0 / 326.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.002606, allocations: 4 kB / 326.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.696e-05/0.002693, allocations: 19.97 kB / 326.6 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.307e-05/0.002706, allocations: 0 / 326.6 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.293e-05/0.002719, allocations: 8 kB / 326.6 MB, free: 15.4 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 8.502e-05/0.002804, allocations: 27.83 kB / 326.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.002807, allocations: 4 kB / 326.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.002807, allocations: 4 kB / 326.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.277e-06/0.002811, allocations: 0 / 326.6 MB, free: 15.36 MB / 314.7 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.00021/0.003021, allocations: 208.7 kB / 326.8 MB, free: 15.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.003056, allocations: 12.03 kB / 326.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.419e-05/0.00308, allocations: 4.922 kB / 326.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.793e-05/0.003158, allocations: 105.8 kB / 326.9 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.003168, allocations: 384 / 326.9 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.003185, allocations: 0.7188 kB / 326.9 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.618e-05/0.003251, allocations: 38.25 kB / 327 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.003259, allocations: 4.188 kB / 327 MB, free: 14.94 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-06/0.003265, allocations: 384 / 327 MB, free: 14.94 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.00327, allocations: 4.312 kB / 327 MB, free: 14.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.888e-05/0.003289, allocations: 7.938 kB / 327 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.84e-05/0.003377, allocations: 64.98 kB / 327 MB, free: 14.85 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.003503, allocations: 30.61 kB / 327.1 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.692e-05/0.003519, allocations: 8.859 kB / 327.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001828/0.003702, allocations: 36.05 kB / 327.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.003723, allocations: 34.56 kB / 327.2 MB, free: 14.72 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.003724, allocations: 0 / 327.2 MB, free: 14.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006569/0.00438, allocations: 146.2 kB / 327.3 MB, free: 14.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.004426, allocations: 55.41 kB / 327.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.008e-05/0.004476, allocations: 98.66 kB / 327.4 MB, free: 14.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.004489, allocations: 25.7 kB / 327.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.199e-05/0.004511, allocations: 84.27 kB / 327.6 MB, free: 14.28 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.004547, allocations: 23.83 kB / 327.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.004582, allocations: 17.7 kB / 327.6 MB, free: 14.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.285e-05/0.004665, allocations: 314.8 kB / 327.9 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.759e-05/0.004683, allocations: 4 kB / 327.9 MB, free: 13.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.833e-05/0.004701, allocations: 12.06 kB / 327.9 MB, free: 13.9 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.415e-05/0.004745, allocations: 24.83 kB / 327.9 MB, free: 13.87 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.004746, allocations: 0 / 327.9 MB, free: 13.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.55e-05/0.004822, allocations: 49.62 kB / 328 MB, free: 13.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.004835, allocations: 7.938 kB / 328 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.00484, allocations: 4 kB / 328 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.00485, allocations: 4 kB / 328 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.039e-05/0.00492, allocations: 11.98 kB / 328 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.786e-06/0.004923, allocations: 0 / 328 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.004969, allocations: 11.92 kB / 328 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.004975, allocations: 0 / 328 MB, free: 13.78 MB / 314.7 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 5.794e-05/0.005033, allocations: 109.8 kB / 328.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.005043, allocations: 4 kB / 328.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.971e-05/0.005143, allocations: 61.28 kB / 328.2 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.005146, allocations: 4 kB / 328.2 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.005148, allocations: 0 / 328.2 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.00515, allocations: 3.938 kB / 328.2 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.005497, allocations: 227.6 kB / 328.4 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.005498, allocations: 0 / 328.4 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.897e-05/0.005547, allocations: 12.19 kB / 328.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.005551, allocations: 4 kB / 328.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.00556, allocations: 12.02 kB / 328.5 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.005561, allocations: 0 / 328.5 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.005564, allocations: 3.938 kB / 328.5 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.005666, allocations: 144.4 kB / 328.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-06/0.005673, allocations: 8 kB / 328.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.005683, allocations: 0 / 328.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-05/0.005753, allocations: 7.984 kB / 328.6 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.005766, allocations: 7.875 kB / 328.6 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.005771, allocations: 4 kB / 328.6 MB, free: 13.12 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.628e-06/0.00578, allocations: 8.859 kB / 328.6 MB, free: 13.11 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005781, allocations: 0 / 328.6 MB, free: 13.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000229/0.006009, allocations: 12 kB / 328.7 MB, free: 13.09 MB / 314.7 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.0001122/0.006122, allocations: 84.34 kB / 328.7 MB, free: 13 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.371e-05/0.006195, allocations: 24.84 kB / 328.8 MB, free: 12.97 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.006198, allocations: 0 / 328.8 MB, free: 12.97 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.63e-05/0.006224, allocations: 16.8 kB / 328.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.006382, allocations: 8 kB / 328.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002401/0.006622, allocations: 133.5 kB / 328.9 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.717e-05/0.00666, allocations: 59.34 kB / 329 MB, free: 12.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.343e-05/0.006693, allocations: 4 kB / 329 MB, free: 12.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.336e-05/0.006746, allocations: 55.38 kB / 329 MB, free: 12.65 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.006747, allocations: 0 / 329 MB, free: 12.65 MB / 314.7 MB Notification: Performance of Templates: time 0.002574/0.009321, allocations: 0.7846 MB / 329.8 MB, free: 11.88 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.791388446930796]