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.001297/0.001297, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001496/0.001496, allocations: 169 kB / 24.24 MB, free: 312 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.7861/0.7861, allocations: 158.6 MB / 186 MB, free: 2.906 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.1207/0.1207, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.543e-06/1.543e-06, allocations: 0 / 347.6 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.63e-05, allocations: 6.25 kB / 347.6 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001507/0.001534, allocations: 0.5266 MB / 348.2 MB, free: 9.273 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002821/0.001816, allocations: 99.66 kB / 348.3 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.758e-05/0.001843, allocations: 4 kB / 348.3 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.778e-05/0.001861, allocations: 0 / 348.3 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.094e-05/0.001882, allocations: 0 / 348.3 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.0021, allocations: 19.91 kB / 348.3 MB, free: 9.152 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.612e-05/0.002166, allocations: 11.98 kB / 348.3 MB, free: 9.141 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.002207, allocations: 0 / 348.3 MB, free: 9.141 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.474e-05/0.002261, allocations: 8 kB / 348.3 MB, free: 9.133 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.133e-05/0.002313, allocations: 7.984 kB / 348.3 MB, free: 9.125 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.00233, allocations: 0 / 348.3 MB, free: 9.125 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.233e-05/0.002412, allocations: 31.95 kB / 348.4 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.002428, allocations: 3.938 kB / 348.4 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.983e-05/0.002448, allocations: 8 kB / 348.4 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.00255, allocations: 31.89 kB / 348.4 MB, free: 9.051 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.002552, allocations: 0 / 348.4 MB, free: 9.051 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.002553, allocations: 0 / 348.4 MB, free: 9.051 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.002557, allocations: 0 / 348.4 MB, free: 9.051 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.000318/0.002875, allocations: 356.3 kB / 348.7 MB, free: 8.664 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.002917, allocations: 8.031 kB / 348.8 MB, free: 8.656 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.002962, allocations: 5.281 kB / 348.8 MB, free: 8.652 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.236e-05/0.003055, allocations: 112.5 kB / 348.9 MB, free: 8.516 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.00307, allocations: 384 / 348.9 MB, free: 8.516 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.003084, allocations: 12.38 kB / 348.9 MB, free: 8.504 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.003247, allocations: 70.33 kB / 348.9 MB, free: 8.418 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.003256, allocations: 192 / 348.9 MB, free: 8.418 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.003268, allocations: 384 / 348.9 MB, free: 8.418 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.003279, allocations: 4.312 kB / 349 MB, free: 8.414 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.833e-05/0.003317, allocations: 19.86 kB / 349 MB, free: 8.395 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002876/0.003604, allocations: 374.8 kB / 349.3 MB, free: 7.988 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.614e-05/0.003651, allocations: 27.06 kB / 349.4 MB, free: 7.949 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.558e-05/0.003686, allocations: 11.69 kB / 349.4 MB, free: 7.934 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.003701, allocations: 8 kB / 349.4 MB, free: 7.926 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.003722, allocations: 37.47 kB / 349.4 MB, free: 7.879 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.003724, allocations: 0 / 349.4 MB, free: 7.879 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001813/0.003905, allocations: 65.55 kB / 349.5 MB, free: 7.809 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.003931, allocations: 51.41 kB / 349.5 MB, free: 7.746 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.189e-05/0.003993, allocations: 153.9 kB / 349.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.352e-06/0.003999, allocations: 25.7 kB / 349.7 MB, free: 7.547 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.717e-05/0.004026, allocations: 130.8 kB / 349.8 MB, free: 7.414 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.201e-05/0.004038, allocations: 19.84 kB / 349.9 MB, free: 7.395 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.004071, allocations: 27.48 kB / 349.9 MB, free: 7.359 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.913e-05/0.00412, allocations: 496.1 kB / 350.4 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.004137, allocations: 4 kB / 350.4 MB, free: 6.859 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.443e-05/0.004162, allocations: 31.36 kB / 350.4 MB, free: 6.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.225e-05/0.004204, allocations: 31.31 kB / 350.4 MB, free: 6.781 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.004206, allocations: 0 / 350.4 MB, free: 6.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.784e-05/0.004284, allocations: 53.62 kB / 350.5 MB, free: 6.723 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.004297, allocations: 8 kB / 350.5 MB, free: 6.715 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.004303, allocations: 3.938 kB / 350.5 MB, free: 6.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.004317, allocations: 4.031 kB / 350.5 MB, free: 6.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.725e-05/0.004385, allocations: 8 kB / 350.5 MB, free: 6.699 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.004391, allocations: 3.984 kB / 350.5 MB, free: 6.695 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.825e-05/0.004409, allocations: 0 / 350.5 MB, free: 6.695 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.004416, allocations: 4 kB / 350.5 MB, free: 6.691 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.081e-05/0.004457, allocations: 156.6 kB / 350.7 MB, free: 6.527 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.00448, allocations: 4 kB / 350.7 MB, free: 6.523 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.004582, allocations: 69.38 kB / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.004584, allocations: 0 / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.004587, allocations: 0 / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.004591, allocations: 4 kB / 350.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.004691, allocations: 124.5 kB / 350.9 MB, free: 6.285 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.004693, allocations: 0 / 350.9 MB, free: 6.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/0.004726, allocations: 8 kB / 350.9 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.004728, allocations: 0 / 350.9 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.004735, allocations: 0 / 350.9 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.004736, allocations: 3.938 kB / 350.9 MB, free: 6.273 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.004737, allocations: 0 / 350.9 MB, free: 6.273 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.48e-05/0.004822, allocations: 203.9 kB / 351.1 MB, free: 6.055 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-06/0.004829, allocations: 4 kB / 351.1 MB, free: 6.051 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.00484, allocations: 0 / 351.1 MB, free: 6.051 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.617e-05/0.004886, allocations: 7.938 kB / 351.1 MB, free: 6.043 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.004919, allocations: 7.984 kB / 351.1 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.004923, allocations: 4 kB / 351.1 MB, free: 6.031 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.846e-05/0.004941, allocations: 119.2 kB / 351.2 MB, free: 5.914 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.004941, allocations: 0 / 351.2 MB, free: 5.914 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002616/0.005203, allocations: 4 kB / 351.2 MB, free: 5.91 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.0001044/0.005307, allocations: 103.2 kB / 351.3 MB, free: 5.801 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.762e-05/0.005405, allocations: 27.69 kB / 351.3 MB, free: 5.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.005407, allocations: 4.094 kB / 351.4 MB, free: 5.766 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.518e-05/0.005432, allocations: 31.67 kB / 351.4 MB, free: 5.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.005673, allocations: 0 / 351.4 MB, free: 5.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002136/0.005887, allocations: 118.3 kB / 351.5 MB, free: 5.586 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.068e-05/0.005917, allocations: 51.36 kB / 351.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.771e-05/0.005945, allocations: 12.14 kB / 351.6 MB, free: 5.504 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.213e-05/0.005967, allocations: 8.5 kB / 351.6 MB, free: 5.496 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.005968, allocations: 4 kB / 351.6 MB, free: 5.492 MB / 282.7 MB Notification: Performance of Templates: time 0.002521/0.00849, allocations: 498.5 kB / 352.1 MB, free: 5.012 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.674435525201261]