Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001058/0.001058, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001925/0.002983, 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.0007694/0.0007694, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001056/0.001826, 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.9529/0.9529, allocations: 177.2 MB / 189.8 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1141/1.067, allocations: 53.66 MB / 243.4 MB, free: 15.48 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.2197/0.2197, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02277/0.2424, allocations: 13.1 MB / 291.5 MB, free: 7.32 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.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 3.938 kB / 292.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015e-05/1.147e-05, allocations: 2.312 kB / 292.8 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001369/0.001381, allocations: 0.5855 MB / 293.4 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004975/0.001878, allocations: 351.1 kB / 293.8 MB, free: 5.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.897e-05/0.001897, allocations: 0 / 293.8 MB, free: 5.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.292e-06/0.001903, allocations: 7.938 kB / 293.8 MB, free: 5.262 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.315e-05/0.001917, allocations: 4 kB / 293.8 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.002166, allocations: 99.5 kB / 293.9 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.186e-05/0.002228, allocations: 27.92 kB / 293.9 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.002266, allocations: 4 kB / 293.9 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.311e-05/0.002319, allocations: 15.98 kB / 293.9 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.743e-05/0.002377, allocations: 15.91 kB / 293.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.002393, allocations: 4 kB / 293.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.002631, allocations: 131.8 kB / 294.1 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.002645, allocations: 4 kB / 294.1 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.82e-05/0.002663, allocations: 11.94 kB / 294.1 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.002837, allocations: 87.78 kB / 294.2 MB, free: 4.863 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.002847, allocations: 0 / 294.2 MB, free: 4.863 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.002847, allocations: 3.938 kB / 294.2 MB, free: 4.859 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.002856, allocations: 0 / 294.2 MB, free: 4.859 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003713/0.003228, allocations: 273.5 kB / 294.4 MB, free: 4.566 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.003261, allocations: 8.625 kB / 294.4 MB, free: 4.559 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.003294, allocations: 12.88 kB / 294.5 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.241e-05/0.003387, allocations: 117.8 kB / 294.6 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.003397, allocations: 384 / 294.6 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.003425, allocations: 8.328 kB / 294.6 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.53e-05/0.00351, allocations: 46.23 kB / 294.6 MB, free: 4.348 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.003521, allocations: 4.188 kB / 294.6 MB, free: 4.344 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.00353, allocations: 4.375 kB / 294.6 MB, free: 4.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.003536, allocations: 384 / 294.6 MB, free: 4.34 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.761e-05/0.003574, allocations: 19.88 kB / 294.6 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000108/0.003682, allocations: 65.03 kB / 294.7 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.003848, allocations: 42.56 kB / 294.8 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.868e-05/0.003877, allocations: 20.84 kB / 294.8 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/0.004055, allocations: 40.23 kB / 294.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.00408, allocations: 38.5 kB / 294.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.004081, allocations: 0 / 294.8 MB, free: 4.082 MB / 282.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.0197/0.02378, allocations: 3.061 MB / 297.9 MB, free: 1 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.02381, allocations: 55.41 kB / 298 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.192e-05/0.02386, allocations: 110.6 kB / 298.1 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.0239, allocations: 29.7 kB / 298.1 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.928e-05/0.02392, allocations: 80.14 kB / 298.2 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.441e-05/0.02399, allocations: 71.34 kB / 298.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.56e-05/0.02408, allocations: 53.62 kB / 298.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.959e-05/0.02415, allocations: 318.8 kB / 298.6 MB, free: 252 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.0243, allocations: 176 kB / 298.8 MB, free: 76 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.02446, allocations: 180.2 kB / 299 MB, free: 15.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003211/0.02478, allocations: 393.5 kB / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.02478, allocations: 4 kB / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003769/0.02516, allocations: 412.7 kB / 299.8 MB, free: 15.1 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.02517, allocations: 7.938 kB / 299.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.02518, allocations: 0 / 299.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.02519, allocations: 0 / 299.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.02551, allocations: 107.7 kB / 299.9 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.02552, allocations: 0 / 299.9 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.02563, allocations: 23.98 kB / 299.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.02566, allocations: 11.95 kB / 299.9 MB, free: 14.95 MB / 298.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 9.215e-05/0.02575, allocations: 113.8 kB / 300 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.0258, allocations: 15.98 kB / 300 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005937/0.02639, allocations: 0.568 MB / 300.6 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.0264, allocations: 7.984 kB / 300.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.0264, allocations: 0 / 300.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.0264, allocations: 0 / 300.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.02742, allocations: 0.679 MB / 301.3 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.02742, allocations: 4 kB / 301.3 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.02765, allocations: 95.78 kB / 301.4 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-06/0.02766, allocations: 7.953 kB / 301.4 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.02766, allocations: 4 kB / 301.4 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.02768, allocations: 12.16 kB / 301.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.02769, allocations: 4 kB / 301.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.02769, allocations: 0 / 301.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.02799, allocations: 384.5 kB / 301.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.02802, allocations: 4 kB / 301.8 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.02813, allocations: 23.97 kB / 301.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.02814, allocations: 15.92 kB / 301.8 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.02817, allocations: 19.91 kB / 301.8 MB, free: 12.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.061e-05/0.02818, allocations: 16.84 kB / 301.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02818, allocations: 4 kB / 301.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004347/0.02861, allocations: 263.7 kB / 302.1 MB, free: 12.63 MB / 298.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.0006187/0.02923, allocations: 255.8 kB / 302.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003306/0.02956, allocations: 344 kB / 302.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.02957, allocations: 0 / 302.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.02972, allocations: 155.1 kB / 302.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.02988, allocations: 44.03 kB / 302.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000691/0.03057, allocations: 422.1 kB / 303.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.664e-05/0.03061, allocations: 67.58 kB / 303.4 MB, free: 11.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003502/0.03096, allocations: 192.9 kB / 303.6 MB, free: 11.1 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/0.03126, allocations: 87.28 kB / 303.7 MB, free: 11.02 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.03126, allocations: 0 / 303.7 MB, free: 11.02 MB / 298.7 MB Notification: Performance of Templates: time 0.01469/0.04595, allocations: 17.56 MB / 321.2 MB, free: 9.465 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.8321364764124155]