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.001011/0.001011, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001039/0.001039, allocations: 165 kB / 23.8 MB, free: 0.7773 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 0.8853/0.8853, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.1426/0.1426, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.883e-06/1.883e-06, allocations: 0 / 347.6 MB, free: 9.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.404e-05/3.593e-05, allocations: 4.281 kB / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.00159/0.001626, allocations: 0.5276 MB / 348.2 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003112/0.001937, allocations: 99.66 kB / 348.3 MB, free: 8.836 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.931e-05/0.001966, allocations: 0 / 348.3 MB, free: 8.836 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.643e-05/0.001993, allocations: 0 / 348.3 MB, free: 8.836 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.577e-05/0.002019, allocations: 0 / 348.3 MB, free: 8.836 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.002292, allocations: 23.91 kB / 348.3 MB, free: 8.812 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.158e-05/0.002364, allocations: 8 kB / 348.3 MB, free: 8.805 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.381e-05/0.002417, allocations: 0 / 348.3 MB, free: 8.805 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.443e-05/0.002462, allocations: 11.98 kB / 348.3 MB, free: 8.793 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.322e-05/0.002515, allocations: 7.984 kB / 348.3 MB, free: 8.785 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.002532, allocations: 0 / 348.3 MB, free: 8.785 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.128e-05/0.002604, allocations: 31.95 kB / 348.4 MB, free: 8.754 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.002617, allocations: 3.938 kB / 348.4 MB, free: 8.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.712e-05/0.002635, allocations: 4 kB / 348.4 MB, free: 8.746 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.82e-05/0.002733, allocations: 31.89 kB / 348.4 MB, free: 8.715 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.002736, allocations: 4 kB / 348.4 MB, free: 8.711 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.002737, allocations: 0 / 348.4 MB, free: 8.711 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.002743, allocations: 0 / 348.4 MB, free: 8.711 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.0002931/0.003036, allocations: 356.3 kB / 348.7 MB, free: 8.324 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.003082, allocations: 8.031 kB / 348.8 MB, free: 8.316 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.00312, allocations: 9.266 kB / 348.8 MB, free: 8.309 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.573e-05/0.003185, allocations: 112.5 kB / 348.9 MB, free: 8.172 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.003197, allocations: 384 / 348.9 MB, free: 8.172 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.003208, allocations: 8.375 kB / 348.9 MB, free: 8.164 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.00333, allocations: 74.33 kB / 349 MB, free: 8.074 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.003338, allocations: 192 / 349 MB, free: 8.074 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.003349, allocations: 384 / 349 MB, free: 8.074 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.003357, allocations: 4.312 kB / 349 MB, free: 8.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.766e-05/0.003384, allocations: 15.88 kB / 349 MB, free: 8.055 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002903/0.003675, allocations: 366.7 kB / 349.3 MB, free: 7.656 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.855e-05/0.003723, allocations: 35.09 kB / 349.4 MB, free: 7.609 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.11e-05/0.003754, allocations: 11.69 kB / 349.4 MB, free: 7.594 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.003778, allocations: 4 kB / 349.4 MB, free: 7.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.003797, allocations: 37.33 kB / 349.4 MB, free: 7.543 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.003798, allocations: 4 kB / 349.4 MB, free: 7.539 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001694/0.003967, allocations: 57.72 kB / 349.5 MB, free: 7.477 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.003994, allocations: 51.41 kB / 349.5 MB, free: 7.414 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.804e-05/0.004062, allocations: 157.9 kB / 349.7 MB, free: 7.242 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/0.004068, allocations: 25.7 kB / 349.7 MB, free: 7.211 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.35e-05/0.004102, allocations: 130.8 kB / 349.8 MB, free: 7.078 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.152e-05/0.004113, allocations: 19.84 kB / 349.9 MB, free: 7.059 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.004141, allocations: 23.38 kB / 349.9 MB, free: 7.027 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.306e-05/0.004194, allocations: 496.1 kB / 350.4 MB, free: 6.531 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.138e-05/0.004216, allocations: 4.125 kB / 350.4 MB, free: 6.527 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.453e-05/0.00424, allocations: 35.31 kB / 350.4 MB, free: 6.484 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.182e-05/0.004282, allocations: 31.36 kB / 350.4 MB, free: 6.445 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.004285, allocations: 0 / 350.4 MB, free: 6.445 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.438e-05/0.004359, allocations: 53.62 kB / 350.5 MB, free: 6.387 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.004376, allocations: 8 kB / 350.5 MB, free: 6.379 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.004383, allocations: 3.938 kB / 350.5 MB, free: 6.375 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.004402, allocations: 240 / 350.5 MB, free: 6.375 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.215e-05/0.004484, allocations: 8 kB / 350.5 MB, free: 6.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.004492, allocations: 32 / 350.5 MB, free: 6.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.646e-05/0.004508, allocations: 4 kB / 350.5 MB, free: 6.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.004517, allocations: 4 kB / 350.5 MB, free: 6.359 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 4.938e-05/0.004566, allocations: 156.6 kB / 350.7 MB, free: 6.195 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/0.004584, allocations: 11.97 kB / 350.7 MB, free: 6.184 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.004711, allocations: 65.38 kB / 350.7 MB, free: 6.109 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.004714, allocations: 4 kB / 350.7 MB, free: 6.105 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.004718, allocations: 0 / 350.7 MB, free: 6.105 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.004723, allocations: 0 / 350.7 MB, free: 6.105 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.431e-05/0.004807, allocations: 120.5 kB / 350.9 MB, free: 5.953 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.004809, allocations: 0 / 350.9 MB, free: 5.953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.815e-05/0.004837, allocations: 15.98 kB / 350.9 MB, free: 5.938 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.004839, allocations: 0 / 350.9 MB, free: 5.938 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.004847, allocations: 0 / 350.9 MB, free: 5.938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.004849, allocations: 3.938 kB / 350.9 MB, free: 5.934 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.00485, allocations: 0 / 350.9 MB, free: 5.934 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.511e-05/0.004935, allocations: 203.9 kB / 351.1 MB, free: 5.715 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.725e-06/0.004943, allocations: 0 / 351.1 MB, free: 5.715 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.004955, allocations: 4 kB / 351.1 MB, free: 5.711 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.609e-05/0.004981, allocations: 3.938 kB / 351.1 MB, free: 5.707 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.005016, allocations: 7.984 kB / 351.1 MB, free: 5.699 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.005021, allocations: 8 kB / 351.1 MB, free: 5.691 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.979e-05/0.005041, allocations: 119.2 kB / 351.2 MB, free: 5.574 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005041, allocations: 0 / 351.2 MB, free: 5.574 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001582/0.005199, allocations: 4 kB / 351.2 MB, free: 5.57 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 0.0001128/0.005312, allocations: 99.19 kB / 351.3 MB, free: 5.465 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.651e-05/0.005408, allocations: 35.61 kB / 351.4 MB, free: 5.426 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.00541, allocations: 0 / 351.4 MB, free: 5.426 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.02e-05/0.00543, allocations: 23.69 kB / 351.4 MB, free: 5.398 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.005594, allocations: 8.141 kB / 351.4 MB, free: 5.391 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002403/0.005834, allocations: 118.3 kB / 351.5 MB, free: 5.246 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.431e-05/0.005868, allocations: 51.36 kB / 351.6 MB, free: 5.176 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.319e-05/0.005891, allocations: 8.156 kB / 351.6 MB, free: 5.168 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.005917, allocations: 8.5 kB / 351.6 MB, free: 5.16 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.005918, allocations: 0 / 351.6 MB, free: 5.16 MB / 282.7 MB Notification: Performance of Templates: time 0.002322/0.008239, allocations: 0.4942 MB / 352.1 MB, free: 4.676 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.985135653987527]