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.0009859/0.0009859, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 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.001108/0.001108, allocations: 163.4 kB / 25.61 MB, free: 8.582 MB / 18.57 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.9523/0.9523, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.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.1432/0.1432, allocations: 34.88 MB / 297.4 MB, free: 13.34 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 9.02e-07/9.02e-07, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.227e-05/1.318e-05, allocations: 2.312 kB / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.000977/0.0009902, allocations: 0.5366 MB / 380.5 MB, free: 22.23 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005214/0.001512, allocations: 378.7 kB / 380.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.669e-05/0.001528, allocations: 0 / 380.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.715e-05/0.001545, allocations: 0 / 380.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 3.243e-05/0.001578, allocations: 3.938 kB / 380.9 MB, free: 21.85 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.001886, allocations: 139.4 kB / 381 MB, free: 21.71 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 3.235e-05/0.001918, allocations: 31.91 kB / 381.1 MB, free: 21.68 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 1.979e-05/0.001938, allocations: 4 kB / 381.1 MB, free: 21.68 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.984e-05/0.001958, allocations: 11.98 kB / 381.1 MB, free: 21.67 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.262e-05/0.001991, allocations: 15.92 kB / 381.1 MB, free: 21.65 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.684e-06/0.001998, allocations: 0 / 381.1 MB, free: 21.65 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.002159, allocations: 139.8 kB / 381.2 MB, free: 21.52 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.658e-06/0.002169, allocations: 7.938 kB / 381.2 MB, free: 21.51 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.03e-05/0.002179, allocations: 15.97 kB / 381.3 MB, free: 21.49 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.002296, allocations: 143.6 kB / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.172e-06/0.002297, allocations: 0 / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.71e-07/0.002298, allocations: 4 kB / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.134e-06/0.0023, allocations: 0 / 381.4 MB, free: 21.35 MB / 314.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.0002013/0.002501, allocations: 396.2 kB / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.002534, allocations: 8.031 kB / 381.8 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.002563, allocations: 8.891 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.277e-05/0.002636, allocations: 116.5 kB / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.002648, allocations: 384 / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.002667, allocations: 8.375 kB / 381.9 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.529e-05/0.002733, allocations: 46.25 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.002744, allocations: 4.141 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-06/0.00275, allocations: 384 / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.002757, allocations: 8.125 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.744e-05/0.002785, allocations: 19.97 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.855e-05/0.002883, allocations: 113.1 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.003016, allocations: 63.03 kB / 382.2 MB, free: 20.47 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.427e-05/0.003041, allocations: 15.69 kB / 382.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/0.003167, allocations: 31.95 kB / 382.2 MB, free: 20.42 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.003183, allocations: 37.39 kB / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 7.01e-07/0.003184, allocations: 288 / 382.3 MB, free: 20.37 MB / 314.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.05852/0.0617, allocations: 6.008 MB / 388.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.06173, allocations: 55.41 kB / 388.3 MB, free: 14.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.089e-05/0.06178, allocations: 165.9 kB / 388.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.06181, allocations: 29.7 kB / 388.5 MB, free: 14.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.096e-05/0.06183, allocations: 126.9 kB / 388.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.969e-05/0.06189, allocations: 71.41 kB / 388.7 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.062, allocations: 95.19 kB / 388.8 MB, free: 13.74 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.521e-05/0.06206, allocations: 0.4923 MB / 389.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.0622, allocations: 175.9 kB / 389.5 MB, free: 13.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.06235, allocations: 187.8 kB / 389.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007207/0.06307, allocations: 448.7 kB / 390.1 MB, free: 12.44 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.06307, allocations: 0 / 390.1 MB, free: 12.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006602/0.06373, allocations: 0.5152 MB / 390.6 MB, free: 11.92 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.06375, allocations: 7.984 kB / 390.6 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.06376, allocations: 0 / 390.6 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.06377, allocations: 4 kB / 390.6 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.06405, allocations: 103.8 kB / 390.7 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.06406, allocations: 0 / 390.7 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.06422, allocations: 23.98 kB / 390.7 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.06425, allocations: 31.94 kB / 390.8 MB, free: 11.75 MB / 314.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 9.215e-05/0.06435, allocations: 164.5 kB / 390.9 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.588e-05/0.06441, allocations: 19.89 kB / 390.9 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007793/0.06519, allocations: 0.6148 MB / 391.6 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.0652, allocations: 11.98 kB / 391.6 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.0652, allocations: 0 / 391.6 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.0652, allocations: 3.984 kB / 391.6 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.06675, allocations: 0.9883 MB / 392.6 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.06675, allocations: 256 / 392.6 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.06697, allocations: 99.81 kB / 392.7 MB, free: 9.777 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.06698, allocations: 4 kB / 392.7 MB, free: 9.773 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.067, allocations: 32.14 kB / 392.7 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.06701, allocations: 4 kB / 392.7 MB, free: 9.738 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.06701, allocations: 0 / 392.7 MB, free: 9.738 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005967/0.0676, allocations: 0.5622 MB / 393.3 MB, free: 9.133 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.06761, allocations: 11.94 kB / 393.3 MB, free: 9.121 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.06765, allocations: 4 kB / 393.3 MB, free: 9.117 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.06781, allocations: 27.97 kB / 393.3 MB, free: 9.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.057e-05/0.06783, allocations: 23.86 kB / 393.3 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.06785, allocations: 27.95 kB / 393.4 MB, free: 9.039 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.879e-05/0.06787, allocations: 127.2 kB / 393.5 MB, free: 8.914 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06787, allocations: 0 / 393.5 MB, free: 8.914 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001064/0.06894, allocations: 0.6441 MB / 394.1 MB, free: 8.27 MB / 314.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.002042/0.07098, allocations: 318.6 kB / 394.4 MB, free: 7.945 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003555/0.07133, allocations: 379.2 kB / 394.8 MB, free: 7.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.07134, allocations: 0 / 394.8 MB, free: 7.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.07148, allocations: 166.4 kB / 395 MB, free: 7.406 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.0717, allocations: 60.75 kB / 395 MB, free: 7.352 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009042/0.0726, allocations: 0.4922 MB / 395.5 MB, free: 6.805 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.754e-05/0.07263, allocations: 63.59 kB / 395.6 MB, free: 6.719 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002333/0.07286, allocations: 129 kB / 395.7 MB, free: 6.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/0.07313, allocations: 150 kB / 395.9 MB, free: 6.441 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.07313, allocations: 0 / 395.9 MB, free: 6.441 MB / 314.7 MB Notification: Performance of Templates: time 0.06174/0.1349, allocations: 64.31 MB / 460.2 MB, free: 6.117 MB / 378.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 -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: 8.527217780705541]