Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001063/0.001063, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001735/0.002798, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001092/0.001092, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001303/0.002394, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9356/0.9356, allocations: 177.4 MB / 189.9 MB, free: 4.848 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09232/1.028, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2536/0.2536, allocations: 34.85 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02517/0.2788, allocations: 13.23 MB / 292.6 MB, free: 6.488 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 293.8 MB, free: 5.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.227e-05, allocations: 2.312 kB / 293.8 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001349/0.001371, allocations: 0.5604 MB / 294.4 MB, free: 4.676 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001487/0.00152, allocations: 104.2 kB / 294.5 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.427e-05/0.001534, allocations: 0 / 294.5 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.088e-06/0.001539, allocations: 0 / 294.5 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.791e-06/0.001544, allocations: 0 / 294.5 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.666e-05/0.001621, allocations: 19.91 kB / 294.5 MB, free: 4.555 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.385e-05/0.001665, allocations: 4 kB / 294.5 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.8e-05/0.001703, allocations: 11.98 kB / 294.5 MB, free: 4.539 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.339e-05/0.001756, allocations: 11.94 kB / 294.5 MB, free: 4.527 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.274e-05/0.001799, allocations: 7.984 kB / 294.6 MB, free: 4.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.001812, allocations: 0 / 294.6 MB, free: 4.52 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.838e-05/0.0019, allocations: 31.91 kB / 294.6 MB, free: 4.488 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.526e-06/0.001909, allocations: 0 / 294.6 MB, free: 4.488 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.264e-05/0.001922, allocations: 4 kB / 294.6 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.731e-05/0.002009, allocations: 27.91 kB / 294.6 MB, free: 4.457 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.274e-05/0.002022, allocations: 0 / 294.6 MB, free: 4.457 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.002022, allocations: 0 / 294.6 MB, free: 4.457 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.002035, allocations: 0 / 294.6 MB, free: 4.457 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.000286/0.002321, allocations: 236.6 kB / 294.8 MB, free: 4.199 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.002353, allocations: 8.922 kB / 294.9 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.298e-05/0.002376, allocations: 8.938 kB / 294.9 MB, free: 4.184 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.999e-05/0.002446, allocations: 106.5 kB / 295 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.002455, allocations: 4.375 kB / 295 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.121e-06/0.002461, allocations: 384 / 295 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9e-05/0.002551, allocations: 68.61 kB / 295 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-06/0.002557, allocations: 192 / 295 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.65e-06/0.002562, allocations: 384 / 295 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.002567, allocations: 384 / 295 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.084e-05/0.002587, allocations: 19.92 kB / 295.1 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.002757, allocations: 228.9 kB / 295.3 MB, free: 3.707 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.165e-05/0.002788, allocations: 18.58 kB / 295.3 MB, free: 3.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.325e-05/0.002812, allocations: 16.98 kB / 295.3 MB, free: 3.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.002822, allocations: 0 / 295.3 MB, free: 3.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.002841, allocations: 30.56 kB / 295.3 MB, free: 3.621 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 6.31e-07/0.002842, allocations: 0 / 295.3 MB, free: 3.621 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 9.418e-05/0.002936, allocations: 45.62 kB / 295.4 MB, free: 3.57 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.002964, allocations: 59.34 kB / 295.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.087e-05/0.003015, allocations: 106.7 kB / 295.6 MB, free: 3.383 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.003024, allocations: 33.64 kB / 295.6 MB, free: 3.344 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.279e-05/0.003057, allocations: 80.14 kB / 295.7 MB, free: 3.262 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003028/0.006085, allocations: 15.83 kB / 295.7 MB, free: 3.246 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.006117, allocations: 21.7 kB / 295.7 MB, free: 3.219 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.712e-05/0.006194, allocations: 314.8 kB / 296 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.136e-05/0.006206, allocations: 4 kB / 296 MB, free: 2.898 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.856e-05/0.006224, allocations: 17.83 kB / 296 MB, free: 2.875 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.226e-05/0.006257, allocations: 29.45 kB / 296.1 MB, free: 2.844 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.006259, allocations: 4.125 kB / 296.1 MB, free: 2.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.449e-05/0.006313, allocations: 49.67 kB / 296.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.006325, allocations: 4 kB / 296.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.006329, allocations: 0 / 296.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.743e-06/0.006335, allocations: 0 / 296.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.91e-05/0.006384, allocations: 15.88 kB / 296.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.006393, allocations: 4 kB / 296.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.582e-05/0.006409, allocations: 4 kB / 296.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.006414, allocations: 0 / 296.1 MB, free: 2.758 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.755e-05/0.006461, allocations: 113.8 kB / 296.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.00648, allocations: 8.016 kB / 296.3 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.922e-05/0.006549, allocations: 49.61 kB / 296.3 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.00655, allocations: 0 / 296.3 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.006553, allocations: 3.938 kB / 296.3 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.006556, allocations: 7.922 kB / 296.3 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.967e-05/0.006656, allocations: 73.86 kB / 296.4 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.006658, allocations: 3.984 kB / 296.4 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.463e-05/0.006683, allocations: 8 kB / 296.4 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.887e-06/0.006687, allocations: 0 / 296.4 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.006689, allocations: 4 kB / 296.4 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-06/0.006692, allocations: 4 kB / 296.4 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.006693, allocations: 0 / 296.4 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.006696, allocations: 3.938 kB / 296.4 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.895e-05/0.006765, allocations: 139.5 kB / 296.6 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.682e-06/0.006771, allocations: 128 / 296.6 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.817e-05/0.00681, allocations: 4 kB / 296.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.00683, allocations: 7.984 kB / 296.6 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.006832, allocations: 0 / 296.6 MB, free: 2.289 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.146e-06/0.00684, allocations: 16.67 kB / 296.6 MB, free: 2.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00684, allocations: 0 / 296.6 MB, free: 2.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001694/0.00701, allocations: 12.03 kB / 296.6 MB, free: 2.258 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.574e-05/0.007085, allocations: 92.39 kB / 296.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 4.194e-05/0.007127, allocations: 16.86 kB / 296.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.007131, allocations: 0 / 296.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.004e-05/0.007152, allocations: 20.78 kB / 296.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.007281, allocations: 9.094 kB / 296.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001737/0.007454, allocations: 113.4 kB / 296.8 MB, free: 1.969 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.171e-05/0.007486, allocations: 55.36 kB / 296.9 MB, free: 1.895 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.329e-05/0.007509, allocations: 9.047 kB / 296.9 MB, free: 1.887 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.007543, allocations: 55.39 kB / 297 MB, free: 1.832 MB / 282.7 MB Notification: Performance of SimCode: time 3.8e-07/0.007543, allocations: 4 kB / 297 MB, free: 1.828 MB / 282.7 MB Notification: Performance of Templates: time 0.005005/0.01255, allocations: 0.5051 MB / 297.5 MB, free: 1.34 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 2.596035244874656]