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.001158/0.001158, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001625/0.002783, allocations: 457.8 kB / 10.45 MB, free: 244 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.001058/0.001058, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001394/0.002453, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9061/0.9061, allocations: 177.5 MB / 190 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0773/0.9834, allocations: 53.87 MB / 243.9 MB, free: 14.88 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.2535/0.2535, allocations: 34.88 MB / 279.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04551/0.299, allocations: 13.24 MB / 292.8 MB, free: 6.414 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.382e-06/1.382e-06, allocations: 0 / 294.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12e-05/1.258e-05, allocations: 2.969 kB / 294.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001403/0.001415, allocations: 0.5534 MB / 294.6 MB, free: 4.578 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00017/0.001585, allocations: 95.7 kB / 294.7 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.645e-05/0.001602, allocations: 0 / 294.7 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5e-06/0.001607, allocations: 0 / 294.7 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.943e-06/0.001614, allocations: 0 / 294.7 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.384e-05/0.001698, allocations: 23.91 kB / 294.7 MB, free: 4.461 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.88e-05/0.001746, allocations: 11.94 kB / 294.8 MB, free: 4.449 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.001784, allocations: 4 kB / 294.8 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.721e-05/0.001841, allocations: 11.98 kB / 294.8 MB, free: 4.434 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.681e-05/0.001888, allocations: 4 kB / 294.8 MB, free: 4.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.001901, allocations: 0 / 294.8 MB, free: 4.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.002002, allocations: 43.81 kB / 294.8 MB, free: 4.387 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.002018, allocations: 4 kB / 294.8 MB, free: 4.383 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.325e-05/0.002031, allocations: 0 / 294.8 MB, free: 4.383 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.895e-05/0.00213, allocations: 19.98 kB / 294.8 MB, free: 4.363 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/0.002141, allocations: 4 kB / 294.8 MB, free: 4.359 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.002142, allocations: 4 kB / 294.9 MB, free: 4.355 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.00215, allocations: 0 / 294.9 MB, free: 4.355 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.0003254/0.002475, allocations: 228.6 kB / 295.1 MB, free: 4.105 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.002509, allocations: 15.44 kB / 295.1 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.002538, allocations: 0.9375 kB / 295.1 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.57e-05/0.002623, allocations: 118.4 kB / 295.2 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.002634, allocations: 4.375 kB / 295.2 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.002644, allocations: 4.375 kB / 295.2 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.002752, allocations: 60.67 kB / 295.3 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.002758, allocations: 4.188 kB / 295.3 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.002765, allocations: 4.375 kB / 295.3 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.002771, allocations: 4.375 kB / 295.3 MB, free: 3.859 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.285e-05/0.002793, allocations: 11.88 kB / 295.3 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.002996, allocations: 229 kB / 295.5 MB, free: 3.605 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.115e-05/0.003037, allocations: 26.38 kB / 295.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.261e-05/0.00306, allocations: 8.859 kB / 295.6 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.003072, allocations: 0 / 295.6 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.003095, allocations: 38.5 kB / 295.6 MB, free: 3.516 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.003096, allocations: 4 kB / 295.6 MB, free: 3.512 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001166/0.003213, allocations: 41.83 kB / 295.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.003245, allocations: 55.34 kB / 295.7 MB, free: 3.398 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.263e-05/0.003308, allocations: 106.7 kB / 295.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.003321, allocations: 29.7 kB / 295.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.003358, allocations: 80.14 kB / 295.9 MB, free: 3.164 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.325e-05/0.003371, allocations: 15.84 kB / 295.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.003409, allocations: 17.7 kB / 295.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.773e-05/0.003496, allocations: 318.8 kB / 296.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.279e-05/0.003509, allocations: 4 kB / 296.3 MB, free: 2.801 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.996e-05/0.003529, allocations: 21.78 kB / 296.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.688e-05/0.003566, allocations: 25.89 kB / 296.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.003568, allocations: 0 / 296.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.643e-05/0.003634, allocations: 49.61 kB / 296.3 MB, free: 2.688 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.003648, allocations: 8 kB / 296.4 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.003652, allocations: 0 / 296.4 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.00366, allocations: 0 / 296.4 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.435e-05/0.003725, allocations: 15.92 kB / 296.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.003728, allocations: 3.938 kB / 296.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.724e-05/0.003745, allocations: 4.031 kB / 296.4 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.003752, allocations: 4 kB / 296.4 MB, free: 2.652 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 5.482e-05/0.003806, allocations: 113.8 kB / 296.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.003827, allocations: 4 kB / 296.5 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.961e-05/0.003917, allocations: 57.3 kB / 296.6 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.003918, allocations: 0 / 296.6 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.003921, allocations: 3.938 kB / 296.6 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.003924, allocations: 0 / 296.6 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.004042, allocations: 73.86 kB / 296.6 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.004044, allocations: 0 / 296.6 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.658e-05/0.004081, allocations: 12 kB / 296.6 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-06/0.004087, allocations: 3.984 kB / 296.6 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.00409, allocations: 192 / 296.6 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.004097, allocations: 4 kB / 296.7 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.004099, allocations: 0 / 296.7 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.004102, allocations: 7.938 kB / 296.7 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.783e-05/0.00419, allocations: 135.5 kB / 296.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.004201, allocations: 8 kB / 296.8 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.727e-05/0.004249, allocations: 0 / 296.8 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.004272, allocations: 3.984 kB / 296.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.004276, allocations: 0 / 296.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.347e-05/0.004289, allocations: 16.8 kB / 296.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.004289, allocations: 0 / 296.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001989/0.004488, allocations: 7.938 kB / 296.8 MB, free: 2.156 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 9.933e-05/0.004588, allocations: 84.41 kB / 296.9 MB, free: 2.062 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.093e-05/0.004659, allocations: 28.78 kB / 296.9 MB, free: 2.031 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.004666, allocations: 0 / 296.9 MB, free: 2.031 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.91e-05/0.004695, allocations: 16.8 kB / 297 MB, free: 2.012 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.004845, allocations: 17.95 kB / 297 MB, free: 1.996 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000197/0.005042, allocations: 121.5 kB / 297.1 MB, free: 1.852 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.566e-05/0.005077, allocations: 52.12 kB / 297.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.596e-05/0.005103, allocations: 8.984 kB / 297.1 MB, free: 1.773 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.005143, allocations: 51.38 kB / 297.2 MB, free: 1.723 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.005143, allocations: 0 / 297.2 MB, free: 1.723 MB / 282.7 MB Notification: Performance of Templates: time 0.002187/0.00733, allocations: 481.2 kB / 297.7 MB, free: 1.27 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5261553302407265]