Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001256/0.001256, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001499/0.001499, allocations: 174.3 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2733/0.2733, allocations: 34.26 MB / 296.1 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 325.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.456e-05, allocations: 2.312 kB / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001999/0.002024, allocations: 0.5923 MB / 325.9 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008394/0.002863, allocations: 383.2 kB / 326.2 MB, free: 6.707 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.468e-05/0.002898, allocations: 0 / 326.2 MB, free: 6.707 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.645e-05/0.002914, allocations: 0 / 326.2 MB, free: 6.707 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.75e-05/0.002952, allocations: 3.938 kB / 326.2 MB, free: 6.703 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000471/0.003423, allocations: 127.4 kB / 326.4 MB, free: 6.578 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.359e-05/0.003487, allocations: 23.92 kB / 326.4 MB, free: 6.555 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.035e-05/0.003527, allocations: 4 kB / 326.4 MB, free: 6.551 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.491e-05/0.003572, allocations: 19.97 kB / 326.4 MB, free: 6.531 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.075e-05/0.003633, allocations: 11.92 kB / 326.4 MB, free: 6.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.003648, allocations: 4 kB / 326.4 MB, free: 6.516 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003218/0.00397, allocations: 163.8 kB / 326.6 MB, free: 6.355 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.003991, allocations: 4 kB / 326.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.786e-05/0.004009, allocations: 7.938 kB / 326.6 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.004236, allocations: 151.5 kB / 326.8 MB, free: 6.195 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.004238, allocations: 0 / 326.8 MB, free: 6.195 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.004239, allocations: 4 kB / 326.8 MB, free: 6.191 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.004243, allocations: 0 / 326.8 MB, free: 6.191 MB / 298.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.0003363/0.00458, allocations: 270 kB / 327 MB, free: 5.906 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.00462, allocations: 8.031 kB / 327 MB, free: 5.898 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.004653, allocations: 8.938 kB / 327 MB, free: 5.891 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.004754, allocations: 117.7 kB / 327.1 MB, free: 5.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.004768, allocations: 4.312 kB / 327.2 MB, free: 5.746 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.004789, allocations: 4.375 kB / 327.2 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.691e-05/0.004876, allocations: 46.23 kB / 327.2 MB, free: 5.691 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.004889, allocations: 4.188 kB / 327.2 MB, free: 5.688 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.004897, allocations: 4.375 kB / 327.2 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.004906, allocations: 4.125 kB / 327.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.343e-05/0.004949, allocations: 12 kB / 327.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001202/0.005069, allocations: 72.97 kB / 327.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.005239, allocations: 46.55 kB / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.866e-05/0.005268, allocations: 12.86 kB / 327.4 MB, free: 5.512 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/0.00545, allocations: 35.95 kB / 327.4 MB, free: 5.477 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.005475, allocations: 30.56 kB / 327.4 MB, free: 5.438 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.005476, allocations: 4 kB / 327.4 MB, free: 5.434 MB / 298.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.06605/0.07152, allocations: 5.72 MB / 333.1 MB, free: 15.67 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.07156, allocations: 59.41 kB / 333.2 MB, free: 15.6 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.801e-05/0.07162, allocations: 110.7 kB / 333.3 MB, free: 15.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.07165, allocations: 29.7 kB / 333.3 MB, free: 15.45 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.263e-05/0.07167, allocations: 80.14 kB / 333.4 MB, free: 15.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.822e-05/0.07174, allocations: 67.42 kB / 333.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.07185, allocations: 65.58 kB / 333.5 MB, free: 15.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.773e-05/0.07193, allocations: 318.8 kB / 333.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.07207, allocations: 139.9 kB / 334 MB, free: 14.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.07221, allocations: 147.9 kB / 334.1 MB, free: 14.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007507/0.07296, allocations: 407.2 kB / 334.5 MB, free: 14.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.07296, allocations: 0 / 334.5 MB, free: 14.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005764/0.07354, allocations: 385.5 kB / 334.9 MB, free: 13.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.07356, allocations: 11.94 kB / 334.9 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.07357, allocations: 0 / 334.9 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.07358, allocations: 0 / 334.9 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.07391, allocations: 103.7 kB / 335 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.07391, allocations: 0 / 335 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.07407, allocations: 15.98 kB / 335 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/0.0741, allocations: 23.94 kB / 335.1 MB, free: 13.69 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.992e-05/0.0742, allocations: 117.8 kB / 335.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.07425, allocations: 15.92 kB / 335.2 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007306/0.07498, allocations: 497.7 kB / 335.7 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.289e-06/0.07498, allocations: 7.984 kB / 335.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.07498, allocations: 256 / 335.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.07499, allocations: 4 kB / 335.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.07647, allocations: 0.7005 MB / 336.4 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.07647, allocations: 4 kB / 336.4 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.07672, allocations: 87.77 kB / 336.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.07673, allocations: 0 / 336.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/0.07676, allocations: 23.89 kB / 336.5 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.758e-06/0.07676, allocations: 4 kB / 336.5 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.07676, allocations: 12.16 kB / 336.5 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005474/0.07731, allocations: 403 kB / 336.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.411e-05/0.07733, allocations: 11.95 kB / 336.9 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.07735, allocations: 0 / 336.9 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.07751, allocations: 31.97 kB / 337 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.28e-05/0.07754, allocations: 19.91 kB / 337 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.07757, allocations: 19.95 kB / 337 MB, free: 11.67 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.368e-05/0.07758, allocations: 8.844 kB / 337 MB, free: 11.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.07758, allocations: 4 kB / 337 MB, free: 11.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001316/0.0789, allocations: 0.6441 MB / 337.7 MB, free: 11.01 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.001957/0.08085, allocations: 311.6 kB / 338 MB, free: 10.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003635/0.08122, allocations: 292.6 kB / 338.2 MB, free: 10.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.08122, allocations: 4 kB / 338.3 MB, free: 10.4 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.08136, allocations: 132.6 kB / 338.4 MB, free: 10.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.08154, allocations: 39.94 kB / 338.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009223/0.08246, allocations: 418.5 kB / 338.8 MB, free: 9.777 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.131e-05/0.0825, allocations: 63.59 kB / 338.9 MB, free: 9.691 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000263/0.08277, allocations: 125 kB / 339 MB, free: 9.566 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/0.08306, allocations: 107.2 kB / 339.1 MB, free: 9.461 MB / 314.7 MB Notification: Performance of SimCode: time 1.022e-06/0.08306, allocations: 0 / 339.1 MB, free: 9.461 MB / 314.7 MB Notification: Performance of Templates: time 0.06463/0.1477, allocations: 64.11 MB / 403.2 MB, free: 9.344 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 7.18540832772851]