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.00135/0.00135, allocations: 80.2 kB / 20.65 MB, free: 3.836 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.001432/0.001432, allocations: 177 kB / 24.06 MB, free: 448 kB / 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 0.9341/0.9341, allocations: 158.6 MB / 185.9 MB, free: 2.754 MB / 170.7 MB " [Timeout remaining time 179] 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.1385/0.1385, allocations: 32.37 MB / 270.7 MB, free: 14.53 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.673e-06/1.673e-06, allocations: 0 / 348.1 MB, free: 9.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.498e-05, allocations: 2.312 kB / 348.1 MB, free: 9.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001555/0.00158, allocations: 0.5238 MB / 348.6 MB, free: 8.672 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002023/0.001782, allocations: 91.72 kB / 348.7 MB, free: 8.582 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.464e-05/0.001807, allocations: 0 / 348.7 MB, free: 8.582 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.45e-05/0.001821, allocations: 3.938 kB / 348.7 MB, free: 8.578 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.793e-05/0.001849, allocations: 4 kB / 348.7 MB, free: 8.574 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.002018, allocations: 19.95 kB / 348.7 MB, free: 8.555 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.485e-05/0.002063, allocations: 15.88 kB / 348.8 MB, free: 8.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.458e-05/0.002097, allocations: 4 kB / 348.8 MB, free: 8.535 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.119e-05/0.002139, allocations: 7.984 kB / 348.8 MB, free: 8.527 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.033e-05/0.002179, allocations: 4 kB / 348.8 MB, free: 8.523 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.002192, allocations: 0 / 348.8 MB, free: 8.523 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.698e-05/0.002259, allocations: 35.95 kB / 348.8 MB, free: 8.488 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.002272, allocations: 3.984 kB / 348.8 MB, free: 8.484 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.176e-05/0.002284, allocations: 4 kB / 348.8 MB, free: 8.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.157e-05/0.002366, allocations: 27.84 kB / 348.8 MB, free: 8.453 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.002369, allocations: 0 / 348.8 MB, free: 8.453 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.00237, allocations: 0 / 348.8 MB, free: 8.453 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.002375, allocations: 0 / 348.8 MB, free: 8.453 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.0002364/0.002611, allocations: 364.3 kB / 349.2 MB, free: 8.059 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.002648, allocations: 8.031 kB / 349.2 MB, free: 8.051 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.384e-05/0.002672, allocations: 5.281 kB / 349.2 MB, free: 8.047 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.538e-05/0.002717, allocations: 112.6 kB / 349.3 MB, free: 7.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-06/0.002725, allocations: 4.375 kB / 349.3 MB, free: 7.906 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.601e-06/0.002731, allocations: 4.375 kB / 349.3 MB, free: 7.902 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.311e-05/0.002814, allocations: 70.27 kB / 349.4 MB, free: 7.816 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.501e-06/0.00282, allocations: 192 / 349.4 MB, free: 7.816 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-06/0.002825, allocations: 384 / 349.4 MB, free: 7.816 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.002829, allocations: 384 / 349.4 MB, free: 7.816 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.611e-05/0.002846, allocations: 23.92 kB / 349.4 MB, free: 7.793 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/0.003003, allocations: 355.3 kB / 349.8 MB, free: 7.414 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.722e-05/0.00303, allocations: 35.03 kB / 349.8 MB, free: 7.367 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.003048, allocations: 11.69 kB / 349.8 MB, free: 7.352 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.003062, allocations: 0 / 349.8 MB, free: 7.352 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.479e-05/0.003077, allocations: 37.39 kB / 349.9 MB, free: 7.305 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.003078, allocations: 0 / 349.9 MB, free: 7.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001029/0.003181, allocations: 49.72 kB / 349.9 MB, free: 7.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.602e-05/0.003197, allocations: 59.34 kB / 350 MB, free: 7.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.683e-05/0.003234, allocations: 157.9 kB / 350.1 MB, free: 7.008 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.44e-06/0.003239, allocations: 29.7 kB / 350.1 MB, free: 6.973 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.602e-05/0.003265, allocations: 130.8 kB / 350.3 MB, free: 6.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.045e-06/0.003273, allocations: 19.83 kB / 350.3 MB, free: 6.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/0.003294, allocations: 19.38 kB / 350.3 MB, free: 6.793 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.551e-05/0.003329, allocations: 496.1 kB / 350.8 MB, free: 6.297 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-06/0.003338, allocations: 7.922 kB / 350.8 MB, free: 6.289 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.32e-05/0.003351, allocations: 23.5 kB / 350.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.404e-05/0.003376, allocations: 35.36 kB / 350.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.003378, allocations: 8.109 kB / 350.9 MB, free: 6.207 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.14e-05/0.003419, allocations: 49.64 kB / 350.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.003429, allocations: 7.984 kB / 350.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.003433, allocations: 0 / 350.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.003442, allocations: 7.938 kB / 350.9 MB, free: 6.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.186e-05/0.003484, allocations: 4 kB / 350.9 MB, free: 6.133 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-06/0.003487, allocations: 7.938 kB / 350.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.144e-05/0.003499, allocations: 0 / 350.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.003503, allocations: 0 / 350.9 MB, free: 6.125 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.632e-05/0.00354, allocations: 160.6 kB / 351.1 MB, free: 5.957 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.003551, allocations: 4.031 kB / 351.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.879e-05/0.003609, allocations: 61.36 kB / 351.2 MB, free: 5.883 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.003611, allocations: 3.938 kB / 351.2 MB, free: 5.879 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.003612, allocations: 0 / 351.2 MB, free: 5.879 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.003614, allocations: 0 / 351.2 MB, free: 5.879 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.939e-05/0.003684, allocations: 97.22 kB / 351.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.003685, allocations: 0 / 351.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.723e-05/0.003702, allocations: 11.94 kB / 351.3 MB, free: 5.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-06/0.003703, allocations: 0 / 351.3 MB, free: 5.746 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.359e-06/0.003707, allocations: 4 kB / 351.3 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.003709, allocations: 7.984 kB / 351.3 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.00371, allocations: 0 / 351.3 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.327e-05/0.003763, allocations: 199.9 kB / 351.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-06/0.003767, allocations: 3.984 kB / 351.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.883e-06/0.003774, allocations: 4.125 kB / 351.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.38e-05/0.003798, allocations: 4 kB / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.003817, allocations: 0 / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.00382, allocations: 3.938 kB / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.29e-05/0.003833, allocations: 127.2 kB / 351.6 MB, free: 5.379 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003833, allocations: 0 / 351.6 MB, free: 5.379 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000141/0.003974, allocations: 8.078 kB / 351.6 MB, free: 5.371 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 7.592e-05/0.00405, allocations: 111.3 kB / 351.7 MB, free: 5.254 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 4.969e-05/0.004099, allocations: 27.67 kB / 351.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.004101, allocations: 4 kB / 351.8 MB, free: 5.219 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.355e-05/0.004114, allocations: 15.69 kB / 351.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.004248, allocations: 3.938 kB / 351.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001418/0.004389, allocations: 114.3 kB / 351.9 MB, free: 5.055 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.157e-05/0.004411, allocations: 59.28 kB / 352 MB, free: 4.977 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.705e-05/0.004428, allocations: 11.97 kB / 352 MB, free: 4.965 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.004452, allocations: 70.2 kB / 352 MB, free: 4.895 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.004453, allocations: 0 / 352 MB, free: 4.895 MB / 282.7 MB Notification: Performance of Templates: time 0.001617/0.00607, allocations: 0.5393 MB / 352.6 MB, free: 4.359 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 240] 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","",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.8126882929354906]