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.001129/0.001129, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001668/0.002797, allocations: 457.8 kB / 10.45 MB, free: 244 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.0007737/0.0007737, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001014/0.001788, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9153/0.9153, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08024/0.9955, allocations: 53.86 MB / 243.9 MB, free: 14.86 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.2518/0.2518, allocations: 34.89 MB / 279.6 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0216/0.2734, allocations: 13.24 MB / 292.8 MB, free: 6.387 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.543e-06/1.543e-06, allocations: 0 / 294.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/2.016e-05, allocations: 4.562 kB / 294.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001122/0.001142, allocations: 0.5818 MB / 294.7 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004117/0.001554, allocations: 398.4 kB / 295.1 MB, free: 4.125 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.604e-05/0.00157, allocations: 4 kB / 295.1 MB, free: 4.121 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.827e-06/0.001574, allocations: 0 / 295.1 MB, free: 4.121 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.528e-06/0.001583, allocations: 3.938 kB / 295.1 MB, free: 4.117 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.001833, allocations: 115.4 kB / 295.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.987e-05/0.001883, allocations: 23.97 kB / 295.2 MB, free: 3.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.392e-05/0.001917, allocations: 3.938 kB / 295.2 MB, free: 3.977 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.853e-05/0.001965, allocations: 23.97 kB / 295.2 MB, free: 3.953 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.36e-05/0.002019, allocations: 19.91 kB / 295.3 MB, free: 3.934 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.002029, allocations: 4 kB / 295.3 MB, free: 3.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002203/0.00225, allocations: 151.8 kB / 295.4 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.002265, allocations: 4 kB / 295.4 MB, free: 3.777 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.002284, allocations: 7.938 kB / 295.4 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.002449, allocations: 123.6 kB / 295.5 MB, free: 3.648 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.00246, allocations: 0 / 295.5 MB, free: 3.648 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.002461, allocations: 0 / 295.5 MB, free: 3.648 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.002469, allocations: 0 / 295.5 MB, free: 3.648 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.0003329/0.002802, allocations: 281.5 kB / 295.8 MB, free: 3.352 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.002833, allocations: 8.031 kB / 295.8 MB, free: 3.344 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.00286, allocations: 8.938 kB / 295.8 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.829e-05/0.002939, allocations: 121.6 kB / 296 MB, free: 3.191 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.00295, allocations: 8.375 kB / 296 MB, free: 3.184 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.00297, allocations: 384 / 296 MB, free: 3.184 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.937e-05/0.003039, allocations: 52.02 kB / 296 MB, free: 3.129 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.003047, allocations: 192 / 296 MB, free: 3.129 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-06/0.003053, allocations: 384 / 296 MB, free: 3.129 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.003059, allocations: 8.125 kB / 296 MB, free: 3.121 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.878e-05/0.003088, allocations: 15.98 kB / 296 MB, free: 3.105 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.685e-05/0.003175, allocations: 72.98 kB / 296.1 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.003305, allocations: 46.55 kB / 296.2 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.224e-05/0.003327, allocations: 24.84 kB / 296.2 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001305/0.003458, allocations: 27.97 kB / 296.2 MB, free: 2.91 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.003475, allocations: 30.56 kB / 296.2 MB, free: 2.871 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 8.11e-07/0.003476, allocations: 0 / 296.2 MB, free: 2.871 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.04276/0.04623, allocations: 5.867 MB / 302.1 MB, free: 13 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.04627, allocations: 55.41 kB / 302.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.786e-05/0.04632, allocations: 110.7 kB / 302.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.551e-05/0.04637, allocations: 29.64 kB / 302.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.158e-05/0.04639, allocations: 88.14 kB / 302.4 MB, free: 12.69 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.608e-05/0.04647, allocations: 67.36 kB / 302.4 MB, free: 12.62 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.04659, allocations: 77.53 kB / 302.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.868e-05/0.04666, allocations: 322.8 kB / 302.8 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.04688, allocations: 235.9 kB / 303.1 MB, free: 11.99 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.04707, allocations: 227.9 kB / 303.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.0475, allocations: 495.9 kB / 303.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.0475, allocations: 0 / 303.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004989/0.048, allocations: 0.5053 MB / 304.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.04801, allocations: 7.938 kB / 304.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.04802, allocations: 7.984 kB / 304.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.04803, allocations: 0 / 304.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/0.04854, allocations: 163.5 kB / 304.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.04855, allocations: 4 kB / 304.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.04875, allocations: 15.98 kB / 304.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.805e-05/0.0488, allocations: 27.91 kB / 304.5 MB, free: 10.55 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.000134/0.04893, allocations: 117.8 kB / 304.6 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.182e-05/0.049, allocations: 19.92 kB / 304.6 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007787/0.04978, allocations: 0.6894 MB / 305.3 MB, free: 9.707 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.04979, allocations: 8 kB / 305.3 MB, free: 9.699 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.04979, allocations: 0 / 305.3 MB, free: 9.699 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.04979, allocations: 0 / 305.3 MB, free: 9.699 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.05133, allocations: 0.8272 MB / 306.2 MB, free: 8.828 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.05134, allocations: 0 / 306.2 MB, free: 8.828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003529/0.05169, allocations: 135.6 kB / 306.3 MB, free: 8.695 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.479e-05/0.0517, allocations: 7.953 kB / 306.3 MB, free: 8.688 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.05171, allocations: 7.984 kB / 306.3 MB, free: 8.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/0.05174, allocations: 19.94 kB / 306.3 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.05174, allocations: 4 kB / 306.3 MB, free: 8.656 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.05175, allocations: 7.938 kB / 306.3 MB, free: 8.648 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004163/0.05216, allocations: 455.8 kB / 306.8 MB, free: 8.172 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.0522, allocations: 4 kB / 306.8 MB, free: 8.168 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.05238, allocations: 23.97 kB / 306.8 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.0524, allocations: 19.86 kB / 306.8 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.66e-05/0.05243, allocations: 23.94 kB / 306.9 MB, free: 8.102 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.526e-05/0.05245, allocations: 16.83 kB / 306.9 MB, free: 8.082 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.05245, allocations: 4 kB / 306.9 MB, free: 8.078 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001026/0.05347, allocations: 0.5151 MB / 307.4 MB, free: 7.562 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.001505/0.05498, allocations: 303.7 kB / 307.7 MB, free: 7.258 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004696/0.05545, allocations: 448.5 kB / 308.1 MB, free: 6.816 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/0.05546, allocations: 8 kB / 308.1 MB, free: 6.809 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.05567, allocations: 214.3 kB / 308.3 MB, free: 6.598 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.05586, allocations: 71.14 kB / 308.4 MB, free: 6.531 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.05692, allocations: 0.4949 MB / 308.9 MB, free: 5.992 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.61e-05/0.05697, allocations: 63.58 kB / 309 MB, free: 5.906 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000433/0.0574, allocations: 217 kB / 309.2 MB, free: 5.691 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004046/0.05781, allocations: 119.2 kB / 309.3 MB, free: 5.574 MB / 298.7 MB Notification: Performance of SimCode: time 1.493e-06/0.05781, allocations: 0 / 309.3 MB, free: 5.574 MB / 298.7 MB Notification: Performance of Templates: time 0.0486/0.1064, allocations: 51.7 MB / 361 MB, free: 1.871 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.580485220998526]