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.001337/0.001337, allocations: 80.05 kB / 20.72 MB, free: 3.77 MB / 18.57 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.001643/0.001643, allocations: 173 kB / 24.14 MB, free: 364 kB / 18.57 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.9236/0.9236, allocations: 158.6 MB / 186 MB, free: 2.742 MB / 170.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.1329/0.1329, allocations: 32.38 MB / 270.7 MB, free: 14.59 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.603e-06/1.603e-06, allocations: 0 / 299.1 MB, free: 2.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.858e-05, allocations: 2.312 kB / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001652/0.001681, allocations: 0.5442 MB / 299.6 MB, free: 1.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006832/0.002364, allocations: 358.6 kB / 300 MB, free: 1.312 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.87e-05/0.002403, allocations: 0 / 300 MB, free: 1.312 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.215e-05/0.002425, allocations: 3.938 kB / 300 MB, free: 1.309 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.438e-05/0.002469, allocations: 0 / 300 MB, free: 1.309 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004818/0.002951, allocations: 111.6 kB / 300.1 MB, free: 1.199 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.611e-05/0.003027, allocations: 27.91 kB / 300.1 MB, free: 1.172 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/0.003072, allocations: 3.938 kB / 300.1 MB, free: 1.168 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.64e-05/0.003119, allocations: 15.98 kB / 300.1 MB, free: 1.152 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.2e-05/0.003181, allocations: 11.97 kB / 300.1 MB, free: 1.141 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.0032, allocations: 4 kB / 300.1 MB, free: 1.137 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.003422, allocations: 107.8 kB / 300.2 MB, free: 1.031 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.003441, allocations: 11.98 kB / 300.2 MB, free: 1.02 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.632e-05/0.003457, allocations: 7.984 kB / 300.3 MB, free: 1.012 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.003628, allocations: 119.6 kB / 300.4 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.003631, allocations: 4 kB / 300.4 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.003633, allocations: 0 / 300.4 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.003636, allocations: 0 / 300.4 MB, free: 0.8906 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.0003538/0.00399, allocations: 264.7 kB / 300.6 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001808/0.004171, allocations: 8.031 kB / 300.6 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.004204, allocations: 8.938 kB / 300.6 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.507e-05/0.004289, allocations: 113.7 kB / 300.8 MB, free: 464 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.004301, allocations: 4.312 kB / 300.8 MB, free: 460 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.417e-05/0.004325, allocations: 4.375 kB / 300.8 MB, free: 456 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.944e-05/0.004404, allocations: 46.23 kB / 300.8 MB, free: 404 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.004418, allocations: 8.188 kB / 300.8 MB, free: 396 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.004427, allocations: 4.375 kB / 300.8 MB, free: 392 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.004433, allocations: 384 / 300.8 MB, free: 392 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.622e-05/0.00447, allocations: 19.92 kB / 300.8 MB, free: 372 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001082/0.004578, allocations: 64.98 kB / 300.9 MB, free: 292 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.004744, allocations: 54.53 kB / 301 MB, free: 228 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.751e-05/0.004771, allocations: 16.86 kB / 301 MB, free: 208 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001674/0.004939, allocations: 27.97 kB / 301 MB, free: 180 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.004962, allocations: 38.56 kB / 301 MB, free: 132 kB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.004964, allocations: 3.938 kB / 301 MB, free: 128 kB / 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.1562/0.1612, allocations: 2.162 MB / 303.2 MB, free: 19.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.1612, allocations: 53.25 kB / 303.3 MB, free: 19.46 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.672e-05/0.1613, allocations: 106.9 kB / 303.4 MB, free: 19.36 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.1613, allocations: 26.83 kB / 303.4 MB, free: 19.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.203e-05/0.1613, allocations: 89.08 kB / 303.5 MB, free: 19.24 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.502e-05/0.1614, allocations: 63.88 kB / 303.5 MB, free: 19.2 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.431e-05/0.1614, allocations: 46.25 kB / 303.6 MB, free: 19.19 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.192e-05/0.1615, allocations: 322.6 kB / 303.9 MB, free: 18.88 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.1616, allocations: 88.62 kB / 304 MB, free: 18.88 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.1617, allocations: 92.62 kB / 304.1 MB, free: 18.88 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003762/0.162, allocations: 259.2 kB / 304.3 MB, free: 18.86 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1621, allocations: 1.094 kB / 304.3 MB, free: 18.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003597/0.1624, allocations: 264.5 kB / 304.6 MB, free: 18.83 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1624, allocations: 7.406 kB / 304.6 MB, free: 18.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1624, allocations: 0 / 304.6 MB, free: 18.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.1624, allocations: 5.703 kB / 304.6 MB, free: 18.83 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.1627, allocations: 51.34 kB / 304.7 MB, free: 18.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1627, allocations: 3.328 kB / 304.7 MB, free: 18.83 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.285e-05/0.1628, allocations: 20.69 kB / 304.7 MB, free: 18.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.1628, allocations: 10.25 kB / 304.7 MB, free: 18.82 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 7.296e-05/0.1628, allocations: 116.6 kB / 304.8 MB, free: 18.71 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.1629, allocations: 10.81 kB / 304.8 MB, free: 18.71 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005039/0.1634, allocations: 352.4 kB / 305.2 MB, free: 18.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1634, allocations: 2.406 kB / 305.2 MB, free: 18.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.1634, allocations: 5.125 kB / 305.2 MB, free: 18.65 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.1634, allocations: 1.078 kB / 305.2 MB, free: 18.65 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008845/0.1643, allocations: 0.5449 MB / 305.7 MB, free: 18.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.1643, allocations: 6.953 kB / 305.7 MB, free: 18.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.1644, allocations: 57.77 kB / 305.8 MB, free: 18.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.1644, allocations: 2.281 kB / 305.8 MB, free: 18.41 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.1645, allocations: 10.03 kB / 305.8 MB, free: 18.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.1645, allocations: 1.969 kB / 305.8 MB, free: 18.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.1645, allocations: 3.469 kB / 305.8 MB, free: 18.41 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.1648, allocations: 304.9 kB / 306.1 MB, free: 18.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.515e-05/0.1648, allocations: 16.14 kB / 306.1 MB, free: 18.22 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.1648, allocations: 4.812 kB / 306.1 MB, free: 18.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.453e-05/0.1649, allocations: 22.92 kB / 306.1 MB, free: 18.22 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.165, allocations: 12.17 kB / 306.1 MB, free: 18.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.165, allocations: 11.11 kB / 306.2 MB, free: 18.22 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.467e-05/0.165, allocations: 9.016 kB / 306.2 MB, free: 18.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.165, allocations: 0 / 306.2 MB, free: 18.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008337/0.1658, allocations: 322.9 kB / 306.5 MB, free: 18.2 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.0008454/0.1667, allocations: 248.9 kB / 306.7 MB, free: 18.11 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002652/0.1669, allocations: 196.2 kB / 306.9 MB, free: 18.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1669, allocations: 3.938 kB / 306.9 MB, free: 18.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.167, allocations: 83.95 kB / 307 MB, free: 18.08 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.1672, allocations: 25.14 kB / 307 MB, free: 18.08 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005574/0.1677, allocations: 332.6 kB / 307.3 MB, free: 17.89 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.571e-05/0.1678, allocations: 65.48 kB / 307.4 MB, free: 17.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001794/0.168, allocations: 92.78 kB / 307.5 MB, free: 17.79 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.1681, allocations: 71.27 kB / 307.6 MB, free: 17.74 MB / 282.7 MB Notification: Performance of SimCode: time 8.12e-07/0.1681, allocations: 0.9062 kB / 307.6 MB, free: 17.74 MB / 282.7 MB Notification: Performance of Templates: time 0.01799/0.1861, allocations: 19.57 MB / 327.1 MB, free: 1.82 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.145745711401105]