Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008999/0.0008999, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001217/0.001217, allocations: 169.9 kB / 24.91 MB, free: 9.188 MB / 18.57 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.9062/0.9062, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2287/0.2287, allocations: 32.81 MB / 294.6 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 323.2 MB, free: 9.738 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.743e-05, allocations: 4.422 kB / 323.2 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001314/0.001332, allocations: 0.5349 MB / 323.7 MB, free: 9.199 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006195/0.001951, allocations: 351.3 kB / 324.1 MB, free: 8.855 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.696e-05/0.001978, allocations: 0 / 324.1 MB, free: 8.855 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.609e-05/0.001994, allocations: 3.938 kB / 324.1 MB, free: 8.852 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.573e-05/0.00203, allocations: 7.875 kB / 324.1 MB, free: 8.844 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.002405, allocations: 103.6 kB / 324.2 MB, free: 8.742 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.798e-05/0.002463, allocations: 27.91 kB / 324.2 MB, free: 8.715 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.002505, allocations: 7.984 kB / 324.2 MB, free: 8.707 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.163e-05/0.002547, allocations: 15.92 kB / 324.2 MB, free: 8.691 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.458e-05/0.002601, allocations: 19.97 kB / 324.3 MB, free: 8.672 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.002616, allocations: 0 / 324.3 MB, free: 8.672 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001928/0.002809, allocations: 107.9 kB / 324.4 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.002826, allocations: 7.922 kB / 324.4 MB, free: 8.559 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.864e-05/0.002844, allocations: 11.98 kB / 324.4 MB, free: 8.547 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.003014, allocations: 119.6 kB / 324.5 MB, free: 8.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003017, allocations: 3.938 kB / 324.5 MB, free: 8.426 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003017, allocations: 0 / 324.5 MB, free: 8.426 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.003021, allocations: 0 / 324.5 MB, free: 8.426 MB / 298.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.0004077/0.003429, allocations: 270.5 kB / 324.8 MB, free: 8.137 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.003468, allocations: 12.03 kB / 324.8 MB, free: 8.125 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.003501, allocations: 4.938 kB / 324.8 MB, free: 8.121 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.003604, allocations: 117.7 kB / 324.9 MB, free: 7.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.003618, allocations: 4.375 kB / 324.9 MB, free: 7.977 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.003645, allocations: 8.375 kB / 324.9 MB, free: 7.969 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.15e-05/0.003736, allocations: 46.19 kB / 325 MB, free: 7.918 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.003748, allocations: 4.172 kB / 325 MB, free: 7.914 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.00376, allocations: 4.359 kB / 325 MB, free: 7.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.003767, allocations: 384 / 325 MB, free: 7.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.029e-05/0.003807, allocations: 19.94 kB / 325 MB, free: 7.891 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001191/0.003927, allocations: 65.05 kB / 325.1 MB, free: 7.812 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.004105, allocations: 54.81 kB / 325.1 MB, free: 7.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.743e-05/0.004132, allocations: 16.8 kB / 325.1 MB, free: 7.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001682/0.0043, allocations: 35.95 kB / 325.2 MB, free: 7.695 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.906e-05/0.004359, allocations: 30.56 kB / 325.2 MB, free: 7.656 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.004361, allocations: 0 / 325.2 MB, free: 7.656 MB / 298.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.01694/0.02131, allocations: 2.179 MB / 327.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.02134, allocations: 59.34 kB / 327.4 MB, free: 5.371 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.175e-05/0.02139, allocations: 106.7 kB / 327.5 MB, free: 5.254 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.02142, allocations: 29.7 kB / 327.6 MB, free: 5.219 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.18e-05/0.02144, allocations: 84.14 kB / 327.6 MB, free: 5.133 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/0.0215, allocations: 63.42 kB / 327.7 MB, free: 5.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.503e-05/0.02156, allocations: 37.67 kB / 327.7 MB, free: 5.027 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.02176, allocations: 326.8 kB / 328.1 MB, free: 4.699 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.548e-05/0.02185, allocations: 87.98 kB / 328.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.221e-05/0.02193, allocations: 87.98 kB / 328.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.02223, allocations: 267.4 kB / 328.5 MB, free: 4.266 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.02223, allocations: 0 / 328.5 MB, free: 4.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002852/0.02252, allocations: 257.6 kB / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.02253, allocations: 18.53 kB / 328.8 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.02254, allocations: 0 / 328.8 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.02255, allocations: 0 / 328.8 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.02271, allocations: 55.94 kB / 328.8 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.02271, allocations: 0 / 328.8 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.708e-05/0.02279, allocations: 23.97 kB / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.0228, allocations: 0 / 328.8 MB, free: 3.914 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 7.698e-05/0.02288, allocations: 125.8 kB / 329 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.02291, allocations: 8 kB / 329 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003955/0.02331, allocations: 354.1 kB / 329.3 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.02331, allocations: 4 kB / 329.3 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.02331, allocations: 0 / 329.3 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.02331, allocations: 0 / 329.3 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007485/0.02406, allocations: 0.5423 MB / 329.9 MB, free: 2.832 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.02407, allocations: 4 kB / 329.9 MB, free: 2.828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.02418, allocations: 60.06 kB / 329.9 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.02418, allocations: 3.938 kB / 329.9 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.0242, allocations: 11.98 kB / 329.9 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.0242, allocations: 4 kB / 329.9 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.0242, allocations: 3.938 kB / 329.9 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.02446, allocations: 307.2 kB / 330.2 MB, free: 2.414 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.797e-06/0.02447, allocations: 7.953 kB / 330.3 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.02449, allocations: 4 kB / 330.3 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.303e-05/0.02457, allocations: 27.97 kB / 330.3 MB, free: 2.375 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.02459, allocations: 19.86 kB / 330.3 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.02461, allocations: 11.98 kB / 330.3 MB, free: 2.344 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.022e-05/0.02462, allocations: 8.844 kB / 330.3 MB, free: 2.332 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02462, allocations: 4 kB / 330.3 MB, free: 2.328 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00052/0.02514, allocations: 315.6 kB / 330.6 MB, free: 2.02 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.0007998/0.02594, allocations: 247.8 kB / 330.9 MB, free: 1.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.02615, allocations: 196.7 kB / 331.1 MB, free: 1.574 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.02615, allocations: 8 kB / 331.1 MB, free: 1.566 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.037e-05/0.02623, allocations: 79.33 kB / 331.2 MB, free: 1.488 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.02638, allocations: 23.98 kB / 331.2 MB, free: 1.465 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007607/0.02714, allocations: 330.6 kB / 331.5 MB, free: 1.094 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.82e-05/0.02718, allocations: 67.58 kB / 331.6 MB, free: 1.004 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001655/0.02734, allocations: 97.09 kB / 331.7 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.0275, allocations: 71.34 kB / 331.7 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.0275, allocations: 0 / 331.7 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of Templates: time 0.01743/0.04493, allocations: 19.57 MB / 351.3 MB, free: 13.32 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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: 2.8845323217101395]