Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.0009457/0.0009457, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.00141/0.00141, allocations: 169 kB / 24.25 MB, free: 312 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.8493/0.8493, allocations: 158.6 MB / 186 MB, free: 2.891 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.135/0.135, allocations: 32.36 MB / 270.7 MB, free: 14.78 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.TestRegRoot2Derivatives,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.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,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.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 347.6 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.755e-05, allocations: 4.281 kB / 347.7 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0009064/0.000924, allocations: 0.551 MB / 348.2 MB, free: 9.246 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004653/0.001389, allocations: 394.7 kB / 348.6 MB, free: 8.855 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.933e-05/0.001419, allocations: 0 / 348.6 MB, free: 8.855 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.706e-05/0.001436, allocations: 0 / 348.6 MB, free: 8.855 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.999e-05/0.001466, allocations: 3.938 kB / 348.6 MB, free: 8.852 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.001831, allocations: 135.4 kB / 348.7 MB, free: 8.719 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.212e-05/0.001883, allocations: 31.91 kB / 348.8 MB, free: 8.688 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.545e-05/0.001919, allocations: 4 kB / 348.8 MB, free: 8.684 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.98e-05/0.001948, allocations: 15.98 kB / 348.8 MB, free: 8.668 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.732e-05/0.001996, allocations: 11.98 kB / 348.8 MB, free: 8.656 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.002007, allocations: 0 / 348.8 MB, free: 8.656 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.002162, allocations: 143.8 kB / 348.9 MB, free: 8.516 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.002177, allocations: 0 / 348.9 MB, free: 8.516 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.875e-05/0.002196, allocations: 19.91 kB / 348.9 MB, free: 8.496 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.002345, allocations: 143.6 kB / 349.1 MB, free: 8.355 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.155e-06/0.002348, allocations: 0 / 349.1 MB, free: 8.355 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.002349, allocations: 0 / 349.1 MB, free: 8.355 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.002352, allocations: 0 / 349.1 MB, free: 8.355 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.0002806/0.002633, allocations: 392.3 kB / 349.5 MB, free: 7.938 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.002664, allocations: 12.03 kB / 349.5 MB, free: 7.926 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.0027, allocations: 12.89 kB / 349.5 MB, free: 7.914 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.966e-05/0.00276, allocations: 112.6 kB / 349.6 MB, free: 7.777 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.002771, allocations: 8.312 kB / 349.6 MB, free: 7.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.002789, allocations: 4.375 kB / 349.6 MB, free: 7.766 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.548e-05/0.002864, allocations: 54.17 kB / 349.7 MB, free: 7.707 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.002874, allocations: 4.141 kB / 349.7 MB, free: 7.703 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.002883, allocations: 4.375 kB / 349.7 MB, free: 7.699 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.002891, allocations: 4.125 kB / 349.7 MB, free: 7.695 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.784e-05/0.002928, allocations: 19.98 kB / 349.7 MB, free: 7.676 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.923e-05/0.003028, allocations: 128.5 kB / 349.8 MB, free: 7.516 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.003169, allocations: 59.05 kB / 349.9 MB, free: 7.445 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.932e-05/0.003198, allocations: 27.67 kB / 349.9 MB, free: 7.414 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/0.003347, allocations: 27.97 kB / 349.9 MB, free: 7.387 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.398e-05/0.003361, allocations: 41.38 kB / 350 MB, free: 7.336 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 9.71e-07/0.003362, allocations: 0 / 350 MB, free: 7.336 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.06917/0.07253, allocations: 6.105 MB / 356.1 MB, free: 1.188 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.07256, allocations: 59.39 kB / 356.1 MB, free: 1.117 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.989e-05/0.07261, allocations: 157.9 kB / 356.3 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.07264, allocations: 29.7 kB / 356.3 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.905e-05/0.07266, allocations: 130.9 kB / 356.5 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.669e-05/0.07271, allocations: 71.42 kB / 356.5 MB, free: 0.707 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.974e-05/0.07281, allocations: 95.25 kB / 356.6 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.605e-05/0.07286, allocations: 0.4883 MB / 357.1 MB, free: 108 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.0731, allocations: 219.8 kB / 357.3 MB, free: 15.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.07334, allocations: 223 kB / 357.5 MB, free: 15.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009339/0.07427, allocations: 0.4956 MB / 358 MB, free: 15.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.07427, allocations: 0 / 358 MB, free: 15.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009062/0.07518, allocations: 0.5828 MB / 358.6 MB, free: 14.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.0752, allocations: 8 kB / 358.6 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.0752, allocations: 0 / 358.6 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.07522, allocations: 4 kB / 358.6 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.07555, allocations: 103.8 kB / 358.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.07555, allocations: 0 / 358.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.07574, allocations: 23.97 kB / 358.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.07577, allocations: 31.94 kB / 358.8 MB, free: 14.42 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 0.0001091/0.07588, allocations: 164.6 kB / 358.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.808e-05/0.07595, allocations: 23.83 kB / 359 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.07696, allocations: 0.6812 MB / 359.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.07696, allocations: 0 / 359.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.07697, allocations: 0 / 359.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.07697, allocations: 0 / 359.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.07885, allocations: 1.053 MB / 360.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.07885, allocations: 256 / 360.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.07909, allocations: 95.81 kB / 360.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.0791, allocations: 7.984 kB / 360.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.07913, allocations: 31.95 kB / 360.8 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.07913, allocations: 3.938 kB / 360.8 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.07913, allocations: 7.984 kB / 360.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007764/0.07991, allocations: 0.5877 MB / 361.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.32e-05/0.07992, allocations: 15.95 kB / 361.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.07996, allocations: 0 / 361.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.08013, allocations: 31.91 kB / 361.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.935e-05/0.08015, allocations: 7.984 kB / 361.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.08019, allocations: 39.89 kB / 361.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.312e-05/0.08022, allocations: 131.1 kB / 361.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08022, allocations: 0 / 361.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001212/0.08143, allocations: 0.6519 MB / 362.3 MB, free: 10.76 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.002142/0.08357, allocations: 318.5 kB / 362.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005248/0.0841, allocations: 434.6 kB / 363 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.0841, allocations: 0 / 363 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.08431, allocations: 191.5 kB / 363.2 MB, free: 9.824 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.08454, allocations: 56.34 kB / 363.3 MB, free: 9.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.08564, allocations: 0.516 MB / 363.8 MB, free: 9.199 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.112e-05/0.08568, allocations: 59.59 kB / 363.9 MB, free: 9.117 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002635/0.08594, allocations: 129 kB / 364 MB, free: 8.988 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.08615, allocations: 88.34 kB / 364.1 MB, free: 8.902 MB / 298.7 MB Notification: Performance of SimCode: time 8.31e-07/0.08615, allocations: 0 / 364.1 MB, free: 8.902 MB / 298.7 MB Notification: Performance of Templates: time 0.05046/0.1366, allocations: 59.59 MB / 423.7 MB, free: 13.1 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.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.409356540068984]