Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001973/0.001973, allocations: 96.2 kB / 20.21 MB, free: 4.195 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.002432/0.002432, allocations: 157.3 kB / 23.52 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 158.6 MB / 185.3 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2159/0.2159, allocations: 32.38 MB / 270 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.589e-05, allocations: 6.25 kB / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001243/0.001269, allocations: 0.5026 MB / 347.4 MB, free: 9.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002674/0.001536, allocations: 101.5 kB / 347.5 MB, free: 9.223 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.136e-05/0.001558, allocations: 4 kB / 347.5 MB, free: 9.219 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.001572, allocations: 0 / 347.5 MB, free: 9.219 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.829e-05/0.0016, allocations: 3.938 kB / 347.5 MB, free: 9.215 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.001773, allocations: 19.91 kB / 347.5 MB, free: 9.195 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.905e-05/0.001822, allocations: 11.98 kB / 347.6 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.858e-05/0.001851, allocations: 0 / 347.6 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.873e-05/0.001889, allocations: 8 kB / 347.6 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.781e-05/0.001927, allocations: 7.984 kB / 347.6 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.00194, allocations: 0 / 347.6 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.695e-05/0.002007, allocations: 27.97 kB / 347.6 MB, free: 9.141 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.002018, allocations: 7.984 kB / 347.6 MB, free: 9.133 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.002041, allocations: 11.92 kB / 347.6 MB, free: 9.121 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.37e-05/0.002124, allocations: 27.91 kB / 347.7 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.522e-06/0.002126, allocations: 0 / 347.7 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.002127, allocations: 3.938 kB / 347.7 MB, free: 9.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.00213, allocations: 0 / 347.7 MB, free: 9.09 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002774/0.002407, allocations: 246.4 kB / 347.9 MB, free: 8.816 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.002437, allocations: 12.03 kB / 347.9 MB, free: 8.805 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.002474, allocations: 0.9375 kB / 347.9 MB, free: 8.805 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.691e-05/0.002531, allocations: 113.7 kB / 348 MB, free: 8.668 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.002543, allocations: 8.375 kB / 348 MB, free: 8.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.916e-06/0.002552, allocations: 4.375 kB / 348 MB, free: 8.656 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.515e-05/0.002647, allocations: 55.97 kB / 348.1 MB, free: 8.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.002656, allocations: 192 / 348.1 MB, free: 8.59 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.002664, allocations: 384 / 348.1 MB, free: 8.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.002668, allocations: 384 / 348.1 MB, free: 8.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.027e-05/0.002708, allocations: 23.86 kB / 348.1 MB, free: 8.566 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.002896, allocations: 268.8 kB / 348.4 MB, free: 8.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.673e-05/0.002942, allocations: 22.58 kB / 348.4 MB, free: 8.238 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.034e-05/0.002973, allocations: 12.8 kB / 348.4 MB, free: 8.223 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.002989, allocations: 8.094 kB / 348.4 MB, free: 8.215 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/0.003004, allocations: 38.48 kB / 348.5 MB, free: 8.168 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.003005, allocations: 0 / 348.5 MB, free: 8.168 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001689/0.003174, allocations: 57.62 kB / 348.5 MB, free: 8.105 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.77e-05/0.003192, allocations: 55.41 kB / 348.6 MB, free: 8.039 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.301e-05/0.003235, allocations: 93.86 kB / 348.7 MB, free: 7.938 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.291e-06/0.003241, allocations: 25.7 kB / 348.7 MB, free: 7.906 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.118e-05/0.003262, allocations: 88.09 kB / 348.8 MB, free: 7.816 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.325e-06/0.00327, allocations: 7.906 kB / 348.8 MB, free: 7.809 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.003309, allocations: 21.7 kB / 348.8 MB, free: 7.781 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.403e-05/0.003343, allocations: 318.9 kB / 349.1 MB, free: 7.461 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.003363, allocations: 8 kB / 349.1 MB, free: 7.453 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.01e-05/0.003383, allocations: 25.7 kB / 349.1 MB, free: 7.422 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.025e-05/0.003424, allocations: 25.72 kB / 349.2 MB, free: 7.391 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.003425, allocations: 0 / 349.2 MB, free: 7.391 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.442e-05/0.003499, allocations: 57.81 kB / 349.2 MB, free: 7.328 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.003509, allocations: 4 kB / 349.2 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.003513, allocations: 7.938 kB / 349.2 MB, free: 7.316 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.003531, allocations: 4.031 kB / 349.2 MB, free: 7.312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.671e-05/0.003588, allocations: 16.02 kB / 349.3 MB, free: 7.297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.003592, allocations: 0 / 349.3 MB, free: 7.297 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.24e-05/0.003614, allocations: 3.938 kB / 349.3 MB, free: 7.293 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.003621, allocations: 4 kB / 349.3 MB, free: 7.289 MB / 282.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 3.657e-05/0.003657, allocations: 113.8 kB / 349.4 MB, free: 7.168 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.003681, allocations: 4 kB / 349.4 MB, free: 7.164 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.754e-05/0.003778, allocations: 57.31 kB / 349.4 MB, free: 7.098 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.003781, allocations: 4 kB / 349.4 MB, free: 7.094 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.003784, allocations: 192 / 349.4 MB, free: 7.094 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.003786, allocations: 0 / 349.4 MB, free: 7.094 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.724e-05/0.003873, allocations: 117.3 kB / 349.5 MB, free: 6.949 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.003874, allocations: 0 / 349.5 MB, free: 6.949 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.748e-05/0.003912, allocations: 12 kB / 349.6 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.003913, allocations: 0 / 349.6 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.003919, allocations: 0 / 349.6 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.00392, allocations: 3.938 kB / 349.6 MB, free: 6.934 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.003921, allocations: 0 / 349.6 MB, free: 6.934 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.194e-05/0.004003, allocations: 155.4 kB / 349.7 MB, free: 6.766 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-06/0.004008, allocations: 4 kB / 349.7 MB, free: 6.762 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-06/0.004018, allocations: 0 / 349.7 MB, free: 6.762 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.171e-05/0.00407, allocations: 11.92 kB / 349.7 MB, free: 6.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-05/0.004099, allocations: 4 kB / 349.7 MB, free: 6.746 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.004102, allocations: 4 kB / 349.7 MB, free: 6.742 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.383e-05/0.004116, allocations: 75.28 kB / 349.8 MB, free: 6.668 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004116, allocations: 0 / 349.8 MB, free: 6.668 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002371/0.004353, allocations: 8 kB / 349.8 MB, free: 6.66 MB / 282.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 8.703e-05/0.00444, allocations: 99.23 kB / 349.9 MB, free: 6.555 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.605e-05/0.004526, allocations: 23.94 kB / 349.9 MB, free: 6.531 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.004528, allocations: 0 / 349.9 MB, free: 6.531 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.398e-05/0.004552, allocations: 15.98 kB / 350 MB, free: 6.516 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.004767, allocations: 8.156 kB / 350 MB, free: 6.508 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001942/0.004962, allocations: 116.6 kB / 350.1 MB, free: 6.367 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.121e-05/0.004993, allocations: 55.36 kB / 350.1 MB, free: 6.293 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.817e-05/0.005021, allocations: 11.89 kB / 350.1 MB, free: 6.281 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.179e-05/0.005043, allocations: 12.44 kB / 350.2 MB, free: 6.27 MB / 282.7 MB Notification: Performance of SimCode: time 3.91e-07/0.005043, allocations: 0 / 350.2 MB, free: 6.27 MB / 282.7 MB Notification: Performance of Templates: time 0.002864/0.007908, allocations: 0.4932 MB / 350.7 MB, free: 5.781 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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: 4.39461056701839]