Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.000804/0.000804, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001274/0.002078, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007246/0.0007246, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009963/0.001721, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9665/0.9665, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09225/1.059, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] 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.2412/0.2412, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02056/0.2618, allocations: 13.1 MB / 291.5 MB, free: 7.344 MB / 282.7 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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 292.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.817e-05/1.954e-05, allocations: 2.312 kB / 292.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001185/0.001204, allocations: 0.5623 MB / 293.4 MB, free: 5.672 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001242/0.001329, allocations: 104.2 kB / 293.5 MB, free: 5.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.438e-05/0.001343, allocations: 4 kB / 293.5 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.526e-06/0.001346, allocations: 0 / 293.5 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.41e-06/0.001352, allocations: 0 / 293.5 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.435e-05/0.001416, allocations: 11.91 kB / 293.5 MB, free: 5.555 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.466e-05/0.001461, allocations: 12 kB / 293.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.367e-05/0.001495, allocations: 4 kB / 293.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.863e-05/0.001553, allocations: 19.92 kB / 293.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.33e-05/0.001596, allocations: 7.984 kB / 293.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.001608, allocations: 0 / 293.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.953e-05/0.001688, allocations: 39.89 kB / 293.6 MB, free: 5.473 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.0017, allocations: 0 / 293.6 MB, free: 5.473 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.325e-05/0.001713, allocations: 7.938 kB / 293.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.999e-05/0.001793, allocations: 15.98 kB / 293.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.001803, allocations: 0 / 293.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.5e-07/0.001804, allocations: 0 / 293.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.001812, allocations: 0 / 293.6 MB, free: 5.449 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002896/0.002101, allocations: 236.6 kB / 293.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.739e-05/0.002129, allocations: 8.031 kB / 293.8 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.291e-05/0.002152, allocations: 0.9375 kB / 293.8 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.564e-05/0.002227, allocations: 114.5 kB / 293.9 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.002237, allocations: 384 / 293.9 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.002247, allocations: 4.375 kB / 294 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.002348, allocations: 68.61 kB / 294 MB, free: 4.961 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.002355, allocations: 192 / 294 MB, free: 4.961 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-06/0.00236, allocations: 384 / 294 MB, free: 4.961 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.002366, allocations: 4.375 kB / 294 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.545e-05/0.002381, allocations: 11.94 kB / 294 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.002558, allocations: 232.9 kB / 294.3 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.066e-05/0.002589, allocations: 18.58 kB / 294.3 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.946e-05/0.002608, allocations: 12.84 kB / 294.3 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.002619, allocations: 3.938 kB / 294.3 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.00264, allocations: 42.69 kB / 294.3 MB, free: 4.602 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 6.61e-07/0.002641, allocations: 0 / 294.3 MB, free: 4.602 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 8.891e-05/0.002729, allocations: 45.62 kB / 294.4 MB, free: 4.551 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.002753, allocations: 59.34 kB / 294.4 MB, free: 4.48 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.752e-05/0.0028, allocations: 98.72 kB / 294.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.763e-06/0.002807, allocations: 25.7 kB / 294.6 MB, free: 4.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.061e-05/0.002838, allocations: 80.14 kB / 294.6 MB, free: 4.258 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.296e-06/0.002846, allocations: 15.84 kB / 294.7 MB, free: 4.242 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.002871, allocations: 25.69 kB / 294.7 MB, free: 4.211 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.378e-05/0.002934, allocations: 310.8 kB / 295 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-06/0.002942, allocations: 4 kB / 295 MB, free: 3.895 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.369e-05/0.002956, allocations: 13.72 kB / 295 MB, free: 3.875 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.727e-05/0.002983, allocations: 33.77 kB / 295 MB, free: 3.836 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.002985, allocations: 0 / 295 MB, free: 3.836 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.556e-05/0.00303, allocations: 45.69 kB / 295.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.003042, allocations: 8.625 kB / 295.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.003047, allocations: 3.984 kB / 295.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.003057, allocations: 0 / 295.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.113e-05/0.003108, allocations: 15.88 kB / 295.1 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-06/0.003111, allocations: 0 / 295.1 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.192e-05/0.003123, allocations: 4 kB / 295.1 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.003128, allocations: 0 / 295.1 MB, free: 3.754 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 4.381e-05/0.003171, allocations: 113.9 kB / 295.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.003182, allocations: 4.234 kB / 295.2 MB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.218e-05/0.003255, allocations: 61.48 kB / 295.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.003257, allocations: 3.984 kB / 295.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.003259, allocations: 3.938 kB / 295.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.003262, allocations: 0 / 295.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.562e-05/0.003337, allocations: 69.86 kB / 295.4 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.003338, allocations: 3.938 kB / 295.4 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.075e-05/0.003359, allocations: 11.98 kB / 295.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-06/0.003363, allocations: 0 / 295.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.003364, allocations: 4 kB / 295.4 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-06/0.003367, allocations: 0 / 295.4 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.003368, allocations: 4 kB / 295.4 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.003371, allocations: 7.875 kB / 295.4 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.746e-05/0.003438, allocations: 135.5 kB / 295.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.022e-06/0.003444, allocations: 4 kB / 295.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.297e-05/0.003467, allocations: 0 / 295.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.003486, allocations: 3.984 kB / 295.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.003487, allocations: 0 / 295.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.096e-05/0.003498, allocations: 20.78 kB / 295.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003498, allocations: 4.031 kB / 295.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001159/0.003614, allocations: 11.94 kB / 295.6 MB, free: 3.242 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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 8.627e-05/0.0037, allocations: 80.42 kB / 295.6 MB, free: 3.152 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.414e-05/0.003754, allocations: 20.84 kB / 295.7 MB, free: 3.129 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.003761, allocations: 4 kB / 295.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.151e-05/0.003782, allocations: 20.84 kB / 295.7 MB, free: 3.102 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.84e-05/0.00388, allocations: 4 kB / 295.7 MB, free: 3.098 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001523/0.004033, allocations: 121.5 kB / 295.8 MB, free: 2.953 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.642e-05/0.004059, allocations: 55.36 kB / 295.9 MB, free: 2.879 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.767e-05/0.004077, allocations: 12.08 kB / 295.9 MB, free: 2.867 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.004107, allocations: 59.25 kB / 295.9 MB, free: 2.809 MB / 282.7 MB Notification: Performance of SimCode: time 3.91e-07/0.004108, allocations: 0 / 295.9 MB, free: 2.809 MB / 282.7 MB Notification: Performance of Templates: time 0.001738/0.005846, allocations: 487.4 kB / 296.4 MB, free: 2.344 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.683906382881105]