Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.001099/0.001099, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001131/0.00223, allocations: 452 kB / 10.43 MB, free: 264 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.0007289/0.0007289, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000946/0.001675, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.8622/0.8622, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1514/1.014, allocations: 49.5 MB / 220.7 MB, free: 1.355 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.1255/0.1255, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02288/0.1483, allocations: 12.32 MB / 266.1 MB, free: 3.875 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.TestRegSquare2Derivatives,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.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,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.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 267.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18e-05/1.347e-05, allocations: 10.19 kB / 267.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.0009664/0.0009799, allocations: 0.5946 MB / 268 MB, free: 1.965 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003911/0.001371, allocations: 342.6 kB / 268.3 MB, free: 1.629 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.901e-05/0.00139, allocations: 0 / 268.3 MB, free: 1.629 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.009e-06/0.001395, allocations: 7.938 kB / 268.3 MB, free: 1.621 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.957e-06/0.001404, allocations: 0 / 268.3 MB, free: 1.621 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.001611, allocations: 95.52 kB / 268.4 MB, free: 1.527 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.745e-05/0.001668, allocations: 23.92 kB / 268.4 MB, free: 1.504 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.176e-05/0.00171, allocations: 4 kB / 268.4 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.467e-05/0.001764, allocations: 23.97 kB / 268.5 MB, free: 1.477 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.098e-05/0.001825, allocations: 15.92 kB / 268.5 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.001839, allocations: 0 / 268.5 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.002036, allocations: 135.8 kB / 268.6 MB, free: 1.328 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.002048, allocations: 4 kB / 268.6 MB, free: 1.324 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.395e-05/0.002062, allocations: 7.938 kB / 268.6 MB, free: 1.316 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.002209, allocations: 91.72 kB / 268.7 MB, free: 1.227 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.002218, allocations: 0 / 268.7 MB, free: 1.227 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.002219, allocations: 0 / 268.7 MB, free: 1.227 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.002227, allocations: 3.938 kB / 268.7 MB, free: 1.223 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.0003972/0.002625, allocations: 276.3 kB / 269 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.00266, allocations: 11.89 kB / 269 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.002696, allocations: 12.92 kB / 269 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.631e-05/0.002792, allocations: 117.8 kB / 269.1 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.002806, allocations: 4.375 kB / 269.1 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.002831, allocations: 4.375 kB / 269.1 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.363e-05/0.002915, allocations: 50.17 kB / 269.2 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.002925, allocations: 192 / 269.2 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.002935, allocations: 8.359 kB / 269.2 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.002941, allocations: 384 / 269.2 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.067e-05/0.002971, allocations: 19.92 kB / 269.2 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.666e-05/0.003058, allocations: 68.97 kB / 269.3 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.003192, allocations: 46.56 kB / 269.3 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.26e-05/0.003215, allocations: 25.06 kB / 269.4 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.003354, allocations: 27.97 kB / 269.4 MB, free: 492 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.003384, allocations: 34.56 kB / 269.4 MB, free: 448 kB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 7.71e-07/0.003385, allocations: 0 / 269.4 MB, free: 448 kB / 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.01227/0.01565, allocations: 3.069 MB / 272.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.01569, allocations: 55.41 kB / 272.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.544e-05/0.01574, allocations: 106.7 kB / 272.6 MB, free: 13.11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.01578, allocations: 29.7 kB / 272.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.295e-05/0.0158, allocations: 84.14 kB / 272.8 MB, free: 12.99 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.718e-05/0.01587, allocations: 63.41 kB / 272.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.01597, allocations: 49.64 kB / 272.9 MB, free: 12.87 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.356e-05/0.01605, allocations: 322.8 kB / 273.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.01622, allocations: 179.8 kB / 273.4 MB, free: 12.37 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.01638, allocations: 176.1 kB / 273.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.01672, allocations: 393 kB / 273.9 MB, free: 11.81 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.01672, allocations: 0 / 273.9 MB, free: 11.81 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003966/0.01712, allocations: 417.5 kB / 274.3 MB, free: 11.4 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.01713, allocations: 7.938 kB / 274.3 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.01714, allocations: 4 kB / 274.3 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.01715, allocations: 0 / 274.3 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/0.01749, allocations: 99.75 kB / 274.4 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.0175, allocations: 0 / 274.4 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.01762, allocations: 27.97 kB / 274.5 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.01765, allocations: 11.97 kB / 274.5 MB, free: 11.25 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.000104/0.01775, allocations: 109.8 kB / 274.6 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/0.0178, allocations: 15.98 kB / 274.6 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000643/0.01844, allocations: 0.5681 MB / 275.2 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01844, allocations: 0 / 275.2 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.01845, allocations: 0 / 275.2 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.01845, allocations: 3.984 kB / 275.2 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.01953, allocations: 0.6868 MB / 275.8 MB, free: 9.809 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01953, allocations: 0 / 275.8 MB, free: 9.809 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.01977, allocations: 91.78 kB / 275.9 MB, free: 9.719 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.01977, allocations: 7.953 kB / 275.9 MB, free: 9.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.01978, allocations: 4 kB / 275.9 MB, free: 9.707 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.0198, allocations: 12.16 kB / 276 MB, free: 9.695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.0198, allocations: 4 kB / 276 MB, free: 9.691 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.01981, allocations: 8.234 kB / 276 MB, free: 9.684 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.02013, allocations: 388.7 kB / 276.3 MB, free: 9.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.02016, allocations: 15.92 kB / 276.4 MB, free: 9.254 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.02028, allocations: 19.98 kB / 276.4 MB, free: 9.234 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.049e-05/0.0203, allocations: 15.91 kB / 276.4 MB, free: 9.219 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.02032, allocations: 11.98 kB / 276.4 MB, free: 9.207 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.364e-05/0.02034, allocations: 16.78 kB / 276.4 MB, free: 9.188 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02034, allocations: 4 kB / 276.4 MB, free: 9.184 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005075/0.02084, allocations: 271.6 kB / 276.7 MB, free: 8.918 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.00064/0.02148, allocations: 244 kB / 276.9 MB, free: 8.672 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003682/0.02185, allocations: 336.6 kB / 277.3 MB, free: 8.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.02186, allocations: 3.938 kB / 277.3 MB, free: 8.336 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.02202, allocations: 156.8 kB / 277.4 MB, free: 8.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.02219, allocations: 52.41 kB / 277.5 MB, free: 8.129 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007613/0.02295, allocations: 409.5 kB / 277.9 MB, free: 7.684 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.244e-05/0.02301, allocations: 67.58 kB / 277.9 MB, free: 7.594 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003903/0.0234, allocations: 193 kB / 278.1 MB, free: 7.402 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.02369, allocations: 83.28 kB / 278.2 MB, free: 7.32 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02369, allocations: 0 / 278.2 MB, free: 7.32 MB / 282.7 MB Notification: Performance of Templates: time 0.124/0.1477, allocations: 17.57 MB / 295.8 MB, free: 11.54 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.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.8128911880776286]