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.001401/0.001401, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.001588/0.001588, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.451/1.451, allocations: 230.5 MB / 257.4 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] 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.2375/0.2375, allocations: 46.95 MB / 360.8 MB, free: 3.906 MB / 286.1 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 0.002502/0.002502, allocations: 79.88 kB / 0.4966 GB, free: 7.031 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3131, allocations: 66.09 MB / 0.5612 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001729/0.3149, allocations: 0.5187 MB / 0.5617 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000804/0.3157, allocations: 378.9 kB / 0.562 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.411e-05/0.3157, allocations: 0 / 0.562 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.928e-05/0.3157, allocations: 4 kB / 0.562 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.303e-05/0.3158, allocations: 3.938 kB / 0.562 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005109/0.3163, allocations: 143.3 kB / 0.5622 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.077e-05/0.3163, allocations: 23.92 kB / 0.5622 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.913e-05/0.3164, allocations: 0 / 0.5622 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.432e-05/0.3164, allocations: 12 kB / 0.5622 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.204e-05/0.3165, allocations: 19.84 kB / 0.5622 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.3165, allocations: 0 / 0.5622 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002512/0.3167, allocations: 139.8 kB / 0.5624 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.3167, allocations: 11.97 kB / 0.5624 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.3168, allocations: 11.94 kB / 0.5624 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.317, allocations: 122.1 kB / 0.5625 GB, free: 2.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.317, allocations: 0 / 0.5625 GB, free: 2.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.317, allocations: 0 / 0.5625 GB, free: 2.594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.317, allocations: 0 / 0.5625 GB, free: 2.594 MB / 398.1 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.0004354/0.3174, allocations: 297.9 kB / 0.5628 GB, free: 2.273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.3174, allocations: 8.031 kB / 0.5628 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.3175, allocations: 4.938 kB / 0.5628 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.3176, allocations: 118.5 kB / 0.5629 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.3176, allocations: 384 / 0.5629 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.3176, allocations: 8.375 kB / 0.5629 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.3177, allocations: 58.12 kB / 0.563 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.3178, allocations: 3.938 kB / 0.563 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.3178, allocations: 0 / 0.563 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.3178, allocations: 4 kB / 0.563 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.017e-05/0.3178, allocations: 27.97 kB / 0.563 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.318, allocations: 113.3 kB / 0.5631 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.3182, allocations: 62.58 kB / 0.5632 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.874e-05/0.3183, allocations: 24.86 kB / 0.5632 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002321/0.3185, allocations: 31.95 kB / 0.5632 GB, free: 1.746 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.3185, allocations: 34.56 kB / 0.5633 GB, free: 1.703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.3185, allocations: 0 / 0.5633 GB, free: 1.703 MB / 398.1 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.145/0.4635, allocations: 6.383 MB / 0.5695 GB, free: 11.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.4636, allocations: 59.39 kB / 0.5696 GB, free: 11.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.792e-05/0.4637, allocations: 97.86 kB / 0.5697 GB, free: 11.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.787e-05/0.4637, allocations: 29.7 kB / 0.5697 GB, free: 11.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.4638, allocations: 88.14 kB / 0.5698 GB, free: 10.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.841e-05/0.4639, allocations: 67.42 kB / 0.5698 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.4641, allocations: 85.59 kB / 0.5699 GB, free: 10.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.4642, allocations: 326.8 kB / 0.5702 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000569/0.4648, allocations: 223.8 kB / 0.5704 GB, free: 10.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005791/0.4654, allocations: 239.7 kB / 0.5707 GB, free: 10.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002186/0.4675, allocations: 0.5551 MB / 0.5712 GB, free: 9.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4675, allocations: 0.7188 kB / 0.5712 GB, free: 9.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001935/0.4695, allocations: 0.6091 MB / 0.5718 GB, free: 8.867 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.4695, allocations: 8 kB / 0.5718 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.4695, allocations: 4 kB / 0.5718 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.4695, allocations: 0 / 0.5718 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000665/0.4702, allocations: 115.7 kB / 0.5719 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.4702, allocations: 0 / 0.5719 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/0.4706, allocations: 31.95 kB / 0.572 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.66e-05/0.4707, allocations: 35.94 kB / 0.572 GB, free: 8.676 MB / 414.1 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.0001699/0.4709, allocations: 117.8 kB / 0.5721 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.905e-05/0.4709, allocations: 7.953 kB / 0.5721 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/0.4732, allocations: 0.7357 MB / 0.5728 GB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.4732, allocations: 0 / 0.5728 GB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4732, allocations: 0 / 0.5728 GB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4732, allocations: 0 / 0.5728 GB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004104/0.4773, allocations: 1.048 MB / 0.5739 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.4773, allocations: 192 / 0.5739 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005618/0.4779, allocations: 107.8 kB / 0.574 GB, free: 6.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-05/0.4779, allocations: 3.938 kB / 0.574 GB, free: 6.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.466e-05/0.4779, allocations: 31.95 kB / 0.574 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.478, allocations: 4 kB / 0.574 GB, free: 6.555 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.478, allocations: 0 / 0.574 GB, free: 6.555 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.4798, allocations: 0.5807 MB / 0.5746 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.226e-05/0.4798, allocations: 19.88 kB / 0.5746 GB, free: 5.922 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.178e-05/0.4799, allocations: 0 / 0.5746 GB, free: 5.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/0.4803, allocations: 27.97 kB / 0.5746 GB, free: 5.895 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.4803, allocations: 15.97 kB / 0.5746 GB, free: 5.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.271e-05/0.4804, allocations: 27.95 kB / 0.5746 GB, free: 5.852 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.236e-05/0.4804, allocations: 83.28 kB / 0.5747 GB, free: 5.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4804, allocations: 8 kB / 0.5747 GB, free: 5.762 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001758/0.4822, allocations: 0.648 MB / 0.5754 GB, free: 5.113 MB / 414.1 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.003442/0.4856, allocations: 290.5 kB / 0.5756 GB, free: 4.816 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.4869, allocations: 442.8 kB / 0.5761 GB, free: 4.387 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4869, allocations: 8 kB / 0.5761 GB, free: 4.379 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005611/0.4875, allocations: 195.7 kB / 0.5763 GB, free: 4.188 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.4878, allocations: 14.59 kB / 0.5763 GB, free: 4.176 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.4902, allocations: 0.5256 MB / 0.5768 GB, free: 3.602 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.643e-05/0.4903, allocations: 79.56 kB / 0.5769 GB, free: 3.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004801/0.4908, allocations: 129 kB / 0.577 GB, free: 3.371 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/0.4911, allocations: 87.28 kB / 0.5771 GB, free: 3.285 MB / 414.1 MB Notification: Performance of SimCode: time 1.342e-06/0.4911, allocations: 0 / 0.5771 GB, free: 3.285 MB / 414.1 MB Notification: Performance of Templates: time 0.0808/0.5719, allocations: 58.42 MB / 0.6341 GB, free: 8.805 MB / 478.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",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.968047885224223]