Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.001335/0.001335, allocations: 116.7 kB / 19.18 MB, free: 3.762 MB / 14.72 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.001563/0.001563, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 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 1.479/1.479, allocations: 230.2 MB / 255.1 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2317/0.2317, allocations: 46.88 MB / 358.1 MB, free: 10.63 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002336/0.002336, allocations: 83.84 kB / 0.4924 GB, free: 8.125 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1335, allocations: 65.98 MB / 0.5568 GB, free: 6.02 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001899/0.1354, allocations: 0.5437 MB / 0.5573 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007731/0.1362, allocations: 375.2 kB / 0.5577 GB, free: 5.102 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.991e-05/0.1362, allocations: 0 / 0.5577 GB, free: 5.102 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.877e-05/0.1362, allocations: 3.938 kB / 0.5577 GB, free: 5.098 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 4.395e-05/0.1363, allocations: 3.938 kB / 0.5577 GB, free: 5.094 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.1367, allocations: 103.7 kB / 0.5578 GB, free: 4.992 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.121e-05/0.1368, allocations: 23.92 kB / 0.5578 GB, free: 4.969 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.68e-05/0.1369, allocations: 7.984 kB / 0.5578 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.707e-05/0.1369, allocations: 15.92 kB / 0.5578 GB, free: 4.945 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.54e-05/0.137, allocations: 15.92 kB / 0.5578 GB, free: 4.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.137, allocations: 0 / 0.5578 GB, free: 4.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.1372, allocations: 119.9 kB / 0.558 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.1372, allocations: 4 kB / 0.558 GB, free: 4.809 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/0.1373, allocations: 15.88 kB / 0.558 GB, free: 4.793 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.1375, allocations: 95.67 kB / 0.5581 GB, free: 4.699 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1375, allocations: 3.984 kB / 0.5581 GB, free: 4.695 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1375, allocations: 4 kB / 0.5581 GB, free: 4.691 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1375, allocations: 0 / 0.5581 GB, free: 4.691 MB / 414.1 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.0004977/0.138, allocations: 367.1 kB / 0.5584 GB, free: 4.281 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.138, allocations: 8.031 kB / 0.5584 GB, free: 4.273 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.1381, allocations: 8.922 kB / 0.5584 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.1382, allocations: 172.3 kB / 0.5586 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.1382, allocations: 384 / 0.5586 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.1382, allocations: 8.375 kB / 0.5586 GB, free: 4.051 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.1384, allocations: 62.17 kB / 0.5587 GB, free: 3.984 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1384, allocations: 192 / 0.5587 GB, free: 3.984 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1384, allocations: 3.938 kB / 0.5587 GB, free: 3.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1384, allocations: 7.938 kB / 0.5587 GB, free: 3.973 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.941e-05/0.1385, allocations: 27.92 kB / 0.5587 GB, free: 3.945 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002104/0.1387, allocations: 169.6 kB / 0.5589 GB, free: 3.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.1389, allocations: 50.55 kB / 0.5589 GB, free: 3.672 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.968e-05/0.139, allocations: 24.84 kB / 0.5589 GB, free: 3.645 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002618/0.1392, allocations: 109.4 kB / 0.559 GB, free: 3.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.1393, allocations: 34.5 kB / 0.5591 GB, free: 3.477 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.1393, allocations: 0 / 0.5591 GB, free: 3.477 MB / 414.1 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.0425/0.1818, allocations: 2.583 MB / 0.5616 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.1818, allocations: 55.41 kB / 0.5617 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.803e-05/0.1819, allocations: 101.9 kB / 0.5618 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.1819, allocations: 29.7 kB / 0.5618 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.093e-05/0.182, allocations: 91.89 kB / 0.5619 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.663e-05/0.1821, allocations: 63.42 kB / 0.5619 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.1822, allocations: 57.69 kB / 0.562 GB, free: 444 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1824, allocations: 322.8 kB / 0.5623 GB, free: 112 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004269/0.1828, allocations: 171.9 kB / 0.5625 GB, free: 15.94 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004063/0.1832, allocations: 183.8 kB / 0.5626 GB, free: 15.76 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.1843, allocations: 415.2 kB / 0.563 GB, free: 15.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1843, allocations: 4 kB / 0.563 GB, free: 15.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001105/0.1854, allocations: 465.3 kB / 0.5635 GB, free: 14.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1854, allocations: 4 kB / 0.5635 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.1854, allocations: 0 / 0.5635 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.1855, allocations: 0 / 0.5635 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/0.1858, allocations: 71.94 kB / 0.5635 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.1859, allocations: 0 / 0.5635 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.1861, allocations: 19.98 kB / 0.5636 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.1861, allocations: 15.98 kB / 0.5636 GB, free: 14.78 MB / 430.1 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.0001454/0.1863, allocations: 125.7 kB / 0.5637 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.1863, allocations: 7.953 kB / 0.5637 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.1876, allocations: 0.5379 MB / 0.5642 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.1876, allocations: 7.984 kB / 0.5642 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1877, allocations: 0 / 0.5642 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1877, allocations: 0 / 0.5642 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002236/0.1899, allocations: 0.8852 MB / 0.5651 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.1899, allocations: 0 / 0.5651 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.1902, allocations: 67.94 kB / 0.5652 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.1902, allocations: 0 / 0.5652 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/0.1902, allocations: 19.98 kB / 0.5652 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.1902, allocations: 12.12 kB / 0.5652 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1902, allocations: 0 / 0.5652 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009946/0.1912, allocations: 471.5 kB / 0.5657 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/0.1913, allocations: 85.06 kB / 0.5657 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.1913, allocations: 4.188 kB / 0.5657 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.1915, allocations: 32.44 kB / 0.5658 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.1916, allocations: 11.98 kB / 0.5658 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-05/0.1916, allocations: 19.98 kB / 0.5658 GB, free: 12.37 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.316e-05/0.1917, allocations: 79.28 kB / 0.5659 GB, free: 12.29 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1917, allocations: 0 / 0.5659 GB, free: 12.29 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009535/0.1926, allocations: 331.5 kB / 0.5662 GB, free: 11.97 MB / 430.1 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.001384/0.194, allocations: 242.7 kB / 0.5664 GB, free: 11.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008741/0.1949, allocations: 323.7 kB / 0.5667 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1949, allocations: 0 / 0.5667 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003663/0.1953, allocations: 144.2 kB / 0.5669 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.1955, allocations: 12 kB / 0.5669 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.1969, allocations: 443.9 kB / 0.5673 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.1973, allocations: 0.6965 MB / 0.568 GB, free: 10.04 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.1975, allocations: 51.39 kB / 0.568 GB, free: 9.992 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1975, allocations: 0 / 0.568 GB, free: 9.992 MB / 430.1 MB Notification: Performance of Templates: time 0.01155/0.209, allocations: 6.541 MB / 0.5744 GB, free: 3.5 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.59976680483669]