Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.001155/0.001155, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001593/0.002748, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001105/0.001105, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001369/0.002474, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9311/0.9311, allocations: 177.4 MB / 189.9 MB, free: 4.848 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1041/1.035, allocations: 53.86 MB / 243.7 MB, free: 14.92 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2468/0.2468, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02371/0.2705, allocations: 13.23 MB / 292.6 MB, free: 6.473 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 293.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.892e-05, allocations: 9.328 kB / 293.9 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001692/0.001721, allocations: 0.5803 MB / 294.4 MB, free: 4.625 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006252/0.002347, allocations: 386.5 kB / 294.8 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.29e-05/0.00237, allocations: 0 / 294.8 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.21e-06/0.002375, allocations: 4 kB / 294.8 MB, free: 4.242 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.449e-05/0.002389, allocations: 3.938 kB / 294.8 MB, free: 4.238 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.002731, allocations: 119.4 kB / 294.9 MB, free: 4.121 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.652e-05/0.002798, allocations: 27.91 kB / 295 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.516e-05/0.002843, allocations: 4 kB / 295 MB, free: 4.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.107e-05/0.002904, allocations: 15.98 kB / 295 MB, free: 4.074 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.447e-05/0.002968, allocations: 19.91 kB / 295 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.002984, allocations: 4 kB / 295 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002912/0.003275, allocations: 155.8 kB / 295.2 MB, free: 3.898 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.003291, allocations: 7.938 kB / 295.2 MB, free: 3.891 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.689e-05/0.003308, allocations: 4 kB / 295.2 MB, free: 3.887 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000372/0.00368, allocations: 123.6 kB / 295.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.852e-05/0.003699, allocations: 0 / 295.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.0037, allocations: 0 / 295.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.808e-05/0.003718, allocations: 0 / 295.3 MB, free: 3.766 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.0004353/0.004153, allocations: 277.5 kB / 295.6 MB, free: 3.473 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.004192, allocations: 12.03 kB / 295.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.004228, allocations: 8.922 kB / 295.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.403e-05/0.004322, allocations: 113.7 kB / 295.7 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.004338, allocations: 8.375 kB / 295.7 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.004362, allocations: 8.359 kB / 295.7 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.509e-05/0.004457, allocations: 51.11 kB / 295.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.004468, allocations: 192 / 295.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.004476, allocations: 384 / 295.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.004485, allocations: 8.125 kB / 295.8 MB, free: 3.238 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.402e-05/0.004529, allocations: 11.98 kB / 295.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001169/0.004646, allocations: 73.03 kB / 295.9 MB, free: 3.141 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.004843, allocations: 46.59 kB / 295.9 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.216e-05/0.004875, allocations: 20.86 kB / 295.9 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001901/0.005065, allocations: 31.95 kB / 295.9 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.00509, allocations: 34.56 kB / 296 MB, free: 2.988 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.005092, allocations: 0 / 296 MB, free: 2.988 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.05022/0.05531, allocations: 5.782 MB / 301.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.05536, allocations: 55.34 kB / 301.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.323e-05/0.05543, allocations: 106.7 kB / 301.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.715e-05/0.05549, allocations: 29.7 kB / 302 MB, free: 12.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.77e-05/0.05552, allocations: 84.12 kB / 302 MB, free: 12.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.255e-05/0.05561, allocations: 67.42 kB / 302.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.05578, allocations: 73.53 kB / 302.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.392e-05/0.05587, allocations: 326.8 kB / 302.5 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.05617, allocations: 235.9 kB / 302.7 MB, free: 12.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/0.05645, allocations: 235 kB / 303 MB, free: 11.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006059/0.05705, allocations: 492.6 kB / 303.4 MB, free: 11.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.05705, allocations: 0 / 303.4 MB, free: 11.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000678/0.05773, allocations: 0.5053 MB / 303.9 MB, free: 10.97 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.05775, allocations: 11.88 kB / 303.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.05776, allocations: 0 / 303.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.05777, allocations: 0 / 303.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006432/0.05841, allocations: 163.6 kB / 304.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.05842, allocations: 0 / 304.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/0.05866, allocations: 19.98 kB / 304.1 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.185e-05/0.05872, allocations: 23.91 kB / 304.2 MB, free: 10.76 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.000135/0.05886, allocations: 121.8 kB / 304.3 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.446e-05/0.05893, allocations: 15.92 kB / 304.3 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009911/0.05993, allocations: 0.6962 MB / 305 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.05993, allocations: 0 / 305 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.05993, allocations: 0 / 305 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.05994, allocations: 4 kB / 305 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.06193, allocations: 0.8192 MB / 305.8 MB, free: 9.047 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.06193, allocations: 0 / 305.8 MB, free: 9.047 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007204/0.06266, allocations: 144.1 kB / 305.9 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.217e-05/0.06267, allocations: 7.953 kB / 306 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.06267, allocations: 3.984 kB / 306 MB, free: 8.895 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.385e-05/0.06272, allocations: 23.94 kB / 306 MB, free: 8.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.06272, allocations: 4 kB / 306 MB, free: 8.867 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.06272, allocations: 7.875 kB / 306 MB, free: 8.859 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005195/0.06324, allocations: 457.7 kB / 306.4 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/0.06329, allocations: 0 / 306.4 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.06354, allocations: 27.97 kB / 306.5 MB, free: 8.352 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.06356, allocations: 15.86 kB / 306.5 MB, free: 8.336 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-05/0.06361, allocations: 27.94 kB / 306.5 MB, free: 8.309 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.249e-05/0.06362, allocations: 12.84 kB / 306.5 MB, free: 8.293 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06362, allocations: 0 / 306.5 MB, free: 8.293 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001163/0.06478, allocations: 0.5113 MB / 307 MB, free: 7.781 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.0016/0.06638, allocations: 303.8 kB / 307.3 MB, free: 7.477 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005962/0.06698, allocations: 460.4 kB / 307.8 MB, free: 7.023 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.06699, allocations: 0 / 307.8 MB, free: 7.023 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002587/0.06725, allocations: 204.2 kB / 308 MB, free: 6.824 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.06748, allocations: 71.14 kB / 308 MB, free: 6.758 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.0688, allocations: 0.4904 MB / 308.5 MB, free: 6.223 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.666e-05/0.06885, allocations: 67.58 kB / 308.6 MB, free: 6.133 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005711/0.06942, allocations: 220.9 kB / 308.8 MB, free: 5.914 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004841/0.0699, allocations: 123.2 kB / 308.9 MB, free: 5.793 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0699, allocations: 4 kB / 308.9 MB, free: 5.789 MB / 298.7 MB Notification: Performance of Templates: time 0.05704/0.1269, allocations: 51.43 MB / 360.4 MB, free: 2.332 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 5.61185556743294]