Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.001017/0.001017, 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.001154/0.001154, allocations: 174.3 kB / 24.91 MB, free: 8.777 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 0.9914/0.9914, allocations: 177.1 MB / 205.3 MB, free: 5.109 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2265/0.2265, allocations: 32.82 MB / 294.6 MB, free: 1.129 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.431e-05/1.552e-05, allocations: 7.188 kB / 323.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001048/0.001064, allocations: 0.5489 MB / 323.8 MB, free: 9.141 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002165/0.00128, allocations: 99.58 kB / 323.9 MB, free: 9.043 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.804e-05/0.001299, allocations: 4 kB / 323.9 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.144e-05/0.00131, allocations: 0 / 323.9 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.014e-05/0.00133, allocations: 0 / 323.9 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.00148, allocations: 15.92 kB / 323.9 MB, free: 9.023 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.328e-05/0.001533, allocations: 12 kB / 323.9 MB, free: 9.012 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.355e-05/0.001567, allocations: 4.609 kB / 323.9 MB, free: 9.008 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.003e-05/0.001607, allocations: 4 kB / 323.9 MB, free: 9.004 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.392e-05/0.001651, allocations: 11.91 kB / 323.9 MB, free: 8.992 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.001663, allocations: 4 kB / 323.9 MB, free: 8.988 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.954e-05/0.001743, allocations: 35.91 kB / 324 MB, free: 8.953 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.819e-06/0.001752, allocations: 4 kB / 324 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.289e-05/0.001765, allocations: 4 kB / 324 MB, free: 8.945 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.012e-05/0.001846, allocations: 27.94 kB / 324 MB, free: 8.918 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.001847, allocations: 0 / 324 MB, free: 8.918 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.001848, allocations: 0 / 324 MB, free: 8.918 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.925e-06/0.001851, allocations: 0 / 324 MB, free: 8.918 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002154/0.002066, allocations: 233.3 kB / 324.2 MB, free: 8.664 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.002097, allocations: 8.031 kB / 324.2 MB, free: 8.656 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.141e-05/0.002119, allocations: 8.922 kB / 324.3 MB, free: 8.648 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.495e-05/0.002183, allocations: 102.3 kB / 324.4 MB, free: 8.523 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.002192, allocations: 8.375 kB / 324.4 MB, free: 8.516 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.543e-06/0.002198, allocations: 4.312 kB / 324.4 MB, free: 8.512 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.2e-05/0.00228, allocations: 72.64 kB / 324.4 MB, free: 8.426 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.002287, allocations: 192 / 324.4 MB, free: 8.426 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-06/0.002292, allocations: 384 / 324.4 MB, free: 8.426 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.002296, allocations: 384 / 324.4 MB, free: 8.426 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.668e-05/0.002313, allocations: 11.94 kB / 324.5 MB, free: 8.414 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.00249, allocations: 232.8 kB / 324.7 MB, free: 8.168 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.971e-05/0.00252, allocations: 18.58 kB / 324.7 MB, free: 8.141 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.689e-05/0.002537, allocations: 12.86 kB / 324.7 MB, free: 8.125 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.002547, allocations: 4 kB / 324.7 MB, free: 8.121 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.002566, allocations: 38.56 kB / 324.8 MB, free: 8.074 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.002567, allocations: 0 / 324.8 MB, free: 8.074 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 8.974e-05/0.002657, allocations: 45.72 kB / 324.8 MB, free: 8.023 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.002683, allocations: 59.34 kB / 324.9 MB, free: 7.953 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.972e-05/0.002733, allocations: 102.7 kB / 325 MB, free: 7.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.002742, allocations: 25.7 kB / 325 MB, free: 7.809 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.375e-05/0.002775, allocations: 84.14 kB / 325.1 MB, free: 7.723 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.107e-06/0.002784, allocations: 15.97 kB / 325.1 MB, free: 7.707 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.203e-05/0.002807, allocations: 17.72 kB / 325.1 MB, free: 7.684 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.083e-05/0.002877, allocations: 322.8 kB / 325.4 MB, free: 7.359 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.514e-06/0.002885, allocations: 0 / 325.4 MB, free: 7.359 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.647e-05/0.002901, allocations: 17.72 kB / 325.4 MB, free: 7.336 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.863e-05/0.00293, allocations: 25.64 kB / 325.5 MB, free: 7.305 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.002931, allocations: 0 / 325.5 MB, free: 7.305 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.555e-05/0.002977, allocations: 45.69 kB / 325.5 MB, free: 7.254 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/0.002986, allocations: 8 kB / 325.5 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.00299, allocations: 3.969 kB / 325.5 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.002999, allocations: 4 kB / 325.5 MB, free: 7.238 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.609e-05/0.003045, allocations: 11.94 kB / 325.5 MB, free: 7.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.003049, allocations: 7.969 kB / 325.5 MB, free: 7.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.259e-05/0.003062, allocations: 4 kB / 325.5 MB, free: 7.215 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.003067, allocations: 3.938 kB / 325.5 MB, free: 7.211 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 4.302e-05/0.00311, allocations: 105.8 kB / 325.6 MB, free: 7.098 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.003126, allocations: 8 kB / 325.7 MB, free: 7.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.241e-05/0.003189, allocations: 49.38 kB / 325.7 MB, free: 7.039 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.00319, allocations: 4.172 kB / 325.7 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.003192, allocations: 7.938 kB / 325.7 MB, free: 7.027 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.003195, allocations: 3.984 kB / 325.7 MB, free: 7.023 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.67e-05/0.003272, allocations: 77.83 kB / 325.8 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.003273, allocations: 0 / 325.8 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.704e-05/0.00329, allocations: 4 kB / 325.8 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.003293, allocations: 4 kB / 325.8 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-06/0.003296, allocations: 0 / 325.8 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.003297, allocations: 0 / 325.8 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.003298, allocations: 0 / 325.8 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.108e-05/0.003379, allocations: 155.7 kB / 326 MB, free: 6.754 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-06/0.003384, allocations: 0.625 kB / 326 MB, free: 6.754 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.833e-06/0.003391, allocations: 4 kB / 326 MB, free: 6.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.475e-05/0.003416, allocations: 4 kB / 326 MB, free: 6.746 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.251e-05/0.003438, allocations: 3.938 kB / 326 MB, free: 6.742 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.003441, allocations: 4 kB / 326 MB, free: 6.738 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.096e-05/0.003452, allocations: 16.78 kB / 326 MB, free: 6.719 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003452, allocations: 0 / 326 MB, free: 6.719 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001182/0.00357, allocations: 7.938 kB / 326 MB, free: 6.711 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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 7.147e-05/0.003642, allocations: 76.42 kB / 326.1 MB, free: 6.625 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.641e-05/0.003698, allocations: 36.92 kB / 326.1 MB, free: 6.586 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.0037, allocations: 0 / 326.1 MB, free: 6.586 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.558e-05/0.003716, allocations: 16.8 kB / 326.1 MB, free: 6.566 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001016/0.003817, allocations: 0 / 326.1 MB, free: 6.566 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001581/0.003975, allocations: 109.3 kB / 326.2 MB, free: 6.434 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.101e-05/0.004006, allocations: 51.36 kB / 326.3 MB, free: 6.363 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.717e-05/0.004024, allocations: 7.984 kB / 326.3 MB, free: 6.355 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.004053, allocations: 55.44 kB / 326.3 MB, free: 6.301 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.004053, allocations: 0 / 326.3 MB, free: 6.301 MB / 298.7 MB Notification: Performance of Templates: time 0.001816/0.005869, allocations: 0.5275 MB / 326.9 MB, free: 5.789 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.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: 2.791802718769759]