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.001954/0.001954, allocations: 95.59 kB / 20.96 MB, free: 3.438 MB / 18.57 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.002041/0.002041, allocations: 156.9 kB / 24.27 MB, free: 140 kB / 18.57 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 1.55/1.55, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3487/0.3487, allocations: 34.25 MB / 295.2 MB, free: 0.668 MB / 266.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 / 377.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.508e-05/3.662e-05, allocations: 8.922 kB / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001568/0.001605, allocations: 0.5011 MB / 377.7 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003031/0.001908, allocations: 103.6 kB / 377.8 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.102e-05/0.001929, allocations: 0 / 377.8 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.23e-05/0.001941, allocations: 4 kB / 377.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.825e-05/0.001979, allocations: 3.938 kB / 377.8 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.002154, allocations: 11.98 kB / 377.8 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.188e-05/0.002205, allocations: 7.984 kB / 377.8 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.00224, allocations: 4 kB / 377.8 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.785e-05/0.002288, allocations: 8 kB / 377.8 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.806e-05/0.002336, allocations: 11.91 kB / 377.8 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.002351, allocations: 4 kB / 377.8 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.805e-05/0.002439, allocations: 27.97 kB / 377.9 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.002452, allocations: 0 / 377.9 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.679e-05/0.002469, allocations: 4 kB / 377.9 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.002592, allocations: 35.88 kB / 377.9 MB, free: 2.203 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.002594, allocations: 0 / 377.9 MB, free: 2.203 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.002594, allocations: 0 / 377.9 MB, free: 2.203 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.002598, allocations: 0 / 377.9 MB, free: 2.203 MB / 346.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.0004393/0.003037, allocations: 352.4 kB / 378.3 MB, free: 1.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.003073, allocations: 11.97 kB / 378.3 MB, free: 1.809 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.003116, allocations: 16.83 kB / 378.3 MB, free: 1.793 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.00323, allocations: 112.6 kB / 378.4 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.003243, allocations: 4.375 kB / 378.4 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.003252, allocations: 384 / 378.4 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.003388, allocations: 61.62 kB / 378.5 MB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.003397, allocations: 192 / 378.5 MB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.003405, allocations: 384 / 378.5 MB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.003412, allocations: 4.375 kB / 378.5 MB, free: 1.574 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.034e-05/0.003462, allocations: 19.86 kB / 378.5 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/0.003855, allocations: 370.8 kB / 378.8 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.897e-05/0.003924, allocations: 27.06 kB / 378.9 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.502e-05/0.003969, allocations: 23.69 kB / 378.9 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.003987, allocations: 0 / 378.9 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.00402, allocations: 37.33 kB / 378.9 MB, free: 1.039 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.004021, allocations: 0 / 378.9 MB, free: 1.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002015/0.004222, allocations: 57.72 kB / 379 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.004267, allocations: 55.39 kB / 379 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.00439, allocations: 157.9 kB / 379.2 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.004411, allocations: 25.7 kB / 379.2 MB, free: 0.707 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.004512, allocations: 130.8 kB / 379.4 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.00453, allocations: 20.03 kB / 379.4 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.004571, allocations: 23.36 kB / 379.4 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002589/0.00483, allocations: 496.1 kB / 379.9 MB, free: 28 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.438e-05/0.004855, allocations: 4 kB / 379.9 MB, free: 24 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.102e-05/0.004916, allocations: 35.38 kB / 379.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.518e-05/0.004981, allocations: 31.38 kB / 379.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004982, allocations: 0 / 379.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001068/0.005089, allocations: 57.8 kB / 380 MB, free: 15.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.005102, allocations: 8 kB / 380 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.005108, allocations: 7.969 kB / 380 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.00512, allocations: 0 / 380 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.638e-05/0.005186, allocations: 12 kB / 380 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.005191, allocations: 0 / 380 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.299e-05/0.005214, allocations: 3.938 kB / 380 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.005225, allocations: 11.92 kB / 380 MB, free: 15.83 MB / 362.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 0.0001052/0.00533, allocations: 152.6 kB / 380.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.005362, allocations: 4 kB / 380.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.005515, allocations: 73.2 kB / 380.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.005517, allocations: 0 / 380.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.00552, allocations: 4.188 kB / 380.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.005523, allocations: 0 / 380.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/0.005912, allocations: 124.6 kB / 380.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.005913, allocations: 0 / 380.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.005954, allocations: 4 kB / 380.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.005958, allocations: 4 kB / 380.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.005965, allocations: 0 / 380.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.005969, allocations: 3.938 kB / 380.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.00597, allocations: 0 / 380.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.00617, allocations: 203.9 kB / 380.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-06/0.006178, allocations: 4 kB / 380.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.006188, allocations: 4 kB / 380.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.02e-05/0.006238, allocations: 7.938 kB / 380.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.006283, allocations: 3.984 kB / 380.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.006291, allocations: 4 kB / 380.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.794e-05/0.006359, allocations: 119.2 kB / 380.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006359, allocations: 0 / 380.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002131/0.006572, allocations: 8 kB / 380.8 MB, free: 15.05 MB / 362.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.0001355/0.006707, allocations: 95.25 kB / 380.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.006826, allocations: 35.61 kB / 380.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.006828, allocations: 8.156 kB / 380.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.138e-05/0.006869, allocations: 19.67 kB / 380.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.007073, allocations: 11.94 kB / 380.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000284/0.007357, allocations: 122.2 kB / 381 MB, free: 14.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.982e-05/0.007427, allocations: 63.34 kB / 381.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.79e-05/0.007455, allocations: 0 / 381.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.007482, allocations: 16.5 kB / 381.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.007483, allocations: 3.938 kB / 381.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of Templates: time 0.00321/0.01069, allocations: 0.4938 MB / 381.6 MB, free: 14.13 MB / 362.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.727547888993286]