Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.001138/0.001138, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001642/0.00278, allocations: 447.8 kB / 10.35 MB, free: 348 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.0007632/0.0007632, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001045/0.001808, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8383/0.8383, allocations: 158.6 MB / 171 MB, free: 2.176 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1479/0.9862, allocations: 49.5 MB / 220.5 MB, free: 5.262 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1442/0.1442, allocations: 32.34 MB / 253.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01891/0.1631, allocations: 12.3 MB / 265.9 MB, free: 7.824 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 267.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.073e-05, allocations: 2.312 kB / 267.2 MB, free: 6.543 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001619/0.00164, allocations: 0.5945 MB / 267.8 MB, free: 5.941 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006412/0.002281, allocations: 386.6 kB / 268.2 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.306e-05/0.002304, allocations: 0 / 268.2 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.312e-06/0.00231, allocations: 0 / 268.2 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 1.636e-05/0.002327, allocations: 3.938 kB / 268.2 MB, free: 5.555 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003706/0.002697, allocations: 119.4 kB / 268.3 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.501e-05/0.002772, allocations: 27.92 kB / 268.3 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.002814, allocations: 4 kB / 268.3 MB, free: 5.406 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.792e-05/0.002882, allocations: 27.97 kB / 268.3 MB, free: 5.379 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.477e-05/0.002947, allocations: 11.92 kB / 268.4 MB, free: 5.367 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.002963, allocations: 4 kB / 268.4 MB, free: 5.363 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003153/0.003278, allocations: 155.8 kB / 268.5 MB, free: 5.211 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.003291, allocations: 4 kB / 268.5 MB, free: 5.207 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.795e-05/0.003309, allocations: 7.938 kB / 268.5 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.003532, allocations: 115.7 kB / 268.6 MB, free: 5.086 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.672e-05/0.003549, allocations: 3.938 kB / 268.6 MB, free: 5.082 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.003549, allocations: 0 / 268.6 MB, free: 5.082 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.003565, allocations: 0 / 268.6 MB, free: 5.082 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004276/0.003993, allocations: 288.3 kB / 268.9 MB, free: 4.777 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.004027, allocations: 11.89 kB / 268.9 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.00406, allocations: 8.938 kB / 268.9 MB, free: 4.758 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.705e-05/0.004157, allocations: 117.7 kB / 269.1 MB, free: 4.617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.004171, allocations: 4.375 kB / 269.1 MB, free: 4.613 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.004193, allocations: 384 / 269.1 MB, free: 4.613 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.213e-05/0.004286, allocations: 50.19 kB / 269.1 MB, free: 4.559 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.004297, allocations: 4.172 kB / 269.1 MB, free: 4.555 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.004305, allocations: 384 / 269.1 MB, free: 4.555 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.004312, allocations: 4.125 kB / 269.1 MB, free: 4.551 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.59e-05/0.004358, allocations: 20 kB / 269.1 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001123/0.00447, allocations: 69.02 kB / 269.2 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.004653, allocations: 46.59 kB / 269.3 MB, free: 4.395 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.004e-05/0.004683, allocations: 16.86 kB / 269.3 MB, free: 4.375 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001884/0.004871, allocations: 31.95 kB / 269.3 MB, free: 4.344 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.004893, allocations: 30.56 kB / 269.3 MB, free: 4.305 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.004895, allocations: 0 / 269.3 MB, free: 4.305 MB / 266.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.05027/0.05516, allocations: 5.786 MB / 275.1 MB, free: 14.44 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.0552, allocations: 51.41 kB / 275.2 MB, free: 14.38 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.975e-05/0.05526, allocations: 114.7 kB / 275.3 MB, free: 14.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.454e-05/0.0553, allocations: 33.64 kB / 275.3 MB, free: 14.21 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.47e-05/0.05533, allocations: 84.12 kB / 275.4 MB, free: 14.12 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.725e-05/0.05542, allocations: 75.36 kB / 275.5 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.05558, allocations: 73.55 kB / 275.5 MB, free: 13.97 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.094e-05/0.05566, allocations: 326.8 kB / 275.9 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.05593, allocations: 223.9 kB / 276.1 MB, free: 13.43 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/0.05619, allocations: 235.9 kB / 276.3 MB, free: 13.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005517/0.05675, allocations: 485.2 kB / 276.8 MB, free: 12.72 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.05675, allocations: 4 kB / 276.8 MB, free: 12.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006513/0.0574, allocations: 0.5053 MB / 277.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.05742, allocations: 15.94 kB / 277.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.05742, allocations: 0 / 277.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.05743, allocations: 0 / 277.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006209/0.05806, allocations: 159.6 kB / 277.5 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.085e-06/0.05806, allocations: 0 / 277.5 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.05831, allocations: 19.97 kB / 277.5 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.344e-05/0.05837, allocations: 31.91 kB / 277.5 MB, free: 11.98 MB / 282.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 (19): * Single equations (assignments): 19 * 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 0.000123/0.05849, allocations: 121.8 kB / 277.6 MB, free: 11.85 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.11e-05/0.05856, allocations: 7.938 kB / 277.6 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009856/0.05955, allocations: 0.693 MB / 278.3 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.05955, allocations: 0 / 278.3 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.05955, allocations: 0 / 278.3 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.05956, allocations: 3.984 kB / 278.3 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001986/0.06155, allocations: 0.835 MB / 279.2 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.06155, allocations: 0 / 279.2 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004766/0.06203, allocations: 131.6 kB / 279.3 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.06204, allocations: 15.95 kB / 279.3 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.06205, allocations: 0 / 279.3 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.527e-05/0.06209, allocations: 23.94 kB / 279.3 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.0621, allocations: 7.984 kB / 279.4 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.0621, allocations: 3.938 kB / 279.4 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005238/0.06262, allocations: 460.5 kB / 279.8 MB, free: 9.602 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.284e-05/0.06268, allocations: 4.25 kB / 279.8 MB, free: 9.598 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.06293, allocations: 27.98 kB / 279.8 MB, free: 9.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.06295, allocations: 23.84 kB / 279.9 MB, free: 9.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.052e-05/0.063, allocations: 23.88 kB / 279.9 MB, free: 9.523 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.214e-05/0.06301, allocations: 8.859 kB / 279.9 MB, free: 9.512 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06301, allocations: 4 kB / 279.9 MB, free: 9.508 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001092/0.06411, allocations: 0.5152 MB / 280.4 MB, free: 8.992 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.001596/0.0657, allocations: 299.8 kB / 280.7 MB, free: 8.691 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006076/0.06631, allocations: 457 kB / 281.1 MB, free: 8.242 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.854e-06/0.06632, allocations: 4 kB / 281.2 MB, free: 8.238 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002903/0.06661, allocations: 188.7 kB / 281.3 MB, free: 8.051 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.06687, allocations: 72.14 kB / 281.4 MB, free: 7.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.06827, allocations: 0.4938 MB / 281.9 MB, free: 7.441 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.483e-05/0.06831, allocations: 67.58 kB / 282 MB, free: 7.352 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006433/0.06896, allocations: 221 kB / 282.2 MB, free: 7.133 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004966/0.06945, allocations: 119.2 kB / 282.3 MB, free: 7.016 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.06945, allocations: 0 / 282.3 MB, free: 7.016 MB / 282.7 MB Notification: Performance of Templates: time 0.05222/0.1217, allocations: 51.43 MB / 333.7 MB, free: 3.344 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.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: 5.6103672394528985]