Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001039/0.001039, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001044/0.001044, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 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.9947/0.9947, allocations: 177.2 MB / 205 MB, free: 5.281 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.2647/0.2647, allocations: 34.26 MB / 295.7 MB, free: 0.707 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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/3.019e-05, allocations: 4.703 kB / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001668/0.001699, allocations: 0.5166 MB / 378.5 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003014/0.002, allocations: 91.72 kB / 378.6 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.647e-05/0.002026, allocations: 0 / 378.6 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.035e-05/0.002047, allocations: 0 / 378.6 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.308e-05/0.00207, allocations: 7.938 kB / 378.6 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.002299, allocations: 19.97 kB / 378.6 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.127e-05/0.00236, allocations: 7.984 kB / 378.7 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.002403, allocations: 4 kB / 378.7 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.644e-05/0.00245, allocations: 15.92 kB / 378.7 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.686e-05/0.002496, allocations: 0 / 378.7 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.002512, allocations: 0 / 378.7 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.27e-05/0.002605, allocations: 31.95 kB / 378.7 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.002625, allocations: 7.984 kB / 378.7 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.116e-05/0.002646, allocations: 4 kB / 378.7 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.002767, allocations: 23.91 kB / 378.7 MB, free: 1.945 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.002769, allocations: 0 / 378.7 MB, free: 1.945 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.00277, allocations: 4 kB / 378.7 MB, free: 1.941 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.002776, allocations: 0 / 378.7 MB, free: 1.941 MB / 346.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.0003848/0.00316, allocations: 364.2 kB / 379.1 MB, free: 1.547 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.003205, allocations: 8.031 kB / 379.1 MB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.003248, allocations: 9.234 kB / 379.1 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.234e-05/0.00334, allocations: 108.6 kB / 379.2 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.003355, allocations: 8.375 kB / 379.2 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.003368, allocations: 384 / 379.2 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.003517, allocations: 70.33 kB / 379.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.003527, allocations: 4.188 kB / 379.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.003539, allocations: 384 / 379.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.003556, allocations: 384 / 379.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.728e-05/0.003593, allocations: 15.88 kB / 379.3 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/0.003926, allocations: 374.7 kB / 379.7 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.4e-05/0.00398, allocations: 31.09 kB / 379.7 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.552e-05/0.004016, allocations: 15.69 kB / 379.7 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.004038, allocations: 7.922 kB / 379.7 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.004065, allocations: 37.39 kB / 379.8 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.004066, allocations: 4 kB / 379.8 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001784/0.004244, allocations: 53.72 kB / 379.8 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.004277, allocations: 55.41 kB / 379.9 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.29e-05/0.00436, allocations: 153.9 kB / 380 MB, free: 476 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.004371, allocations: 25.7 kB / 380.1 MB, free: 444 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.422e-05/0.004426, allocations: 134.8 kB / 380.2 MB, free: 304 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.004442, allocations: 15.84 kB / 380.2 MB, free: 288 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.004484, allocations: 23.38 kB / 380.2 MB, free: 256 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.004634, allocations: 496.1 kB / 380.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.004654, allocations: 7.922 kB / 380.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.96e-05/0.004683, allocations: 31.5 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.825e-05/0.004731, allocations: 27.38 kB / 380.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.004734, allocations: 0 / 380.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.533e-05/0.004829, allocations: 57.62 kB / 380.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.004848, allocations: 7.984 kB / 380.8 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.004855, allocations: 3.938 kB / 380.8 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.004871, allocations: 0 / 380.8 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.273e-05/0.004944, allocations: 11.94 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.004949, allocations: 0 / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.103e-05/0.00497, allocations: 12.16 kB / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.004977, allocations: 0 / 380.9 MB, free: 15.57 MB / 362.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 7.507e-05/0.005052, allocations: 160.6 kB / 381 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.005078, allocations: 3.953 kB / 381 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.005224, allocations: 69.23 kB / 381.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.005227, allocations: 0 / 381.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.005231, allocations: 0 / 381.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.005235, allocations: 0 / 381.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.005371, allocations: 112.6 kB / 381.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.005373, allocations: 0 / 381.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.271e-05/0.005416, allocations: 12 kB / 381.2 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.005419, allocations: 3.984 kB / 381.2 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.005426, allocations: 0 / 381.2 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.005429, allocations: 7.938 kB / 381.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.00543, allocations: 0 / 381.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.005571, allocations: 199.9 kB / 381.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-06/0.005579, allocations: 4 kB / 381.4 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.00559, allocations: 0 / 381.4 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.23e-05/0.005642, allocations: 7.938 kB / 381.4 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.005678, allocations: 4 kB / 381.4 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.005682, allocations: 0 / 381.4 MB, free: 14.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.058e-05/0.005723, allocations: 127.2 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.005723, allocations: 0 / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002505/0.005973, allocations: 8 kB / 381.6 MB, free: 14.8 MB / 362.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 0.0001442/0.006118, allocations: 103.2 kB / 381.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.006226, allocations: 27.61 kB / 381.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.006228, allocations: 4 kB / 381.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.101e-05/0.006259, allocations: 23.81 kB / 381.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.006507, allocations: 0 / 381.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002726/0.00678, allocations: 130.3 kB / 381.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.45e-05/0.006825, allocations: 59.34 kB / 381.9 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.467e-05/0.006849, allocations: 0 / 381.9 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.006879, allocations: 20.44 kB / 381.9 MB, free: 14.37 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.006879, allocations: 0 / 381.9 MB, free: 14.37 MB / 362.7 MB Notification: Performance of Templates: time 0.002263/0.009142, allocations: 496.5 kB / 382.4 MB, free: 13.89 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.0677917981520295]