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.001701/0.001701, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.002006/0.002006, allocations: 159.4 kB / 25.61 MB, free: 8.582 MB / 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 0.9546/0.9546, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.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.1561/0.1561, allocations: 34.87 MB / 297.4 MB, free: 13.33 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.704e-06/1.704e-06, allocations: 0 / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.595e-05/2.765e-05, allocations: 7.234 kB / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001271/0.001298, allocations: 0.5061 MB / 380.5 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002346/0.001533, allocations: 95.66 kB / 380.6 MB, free: 22.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.00156, allocations: 0 / 380.6 MB, free: 22.18 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.743e-05/0.001578, allocations: 0 / 380.6 MB, free: 22.18 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 2.538e-05/0.001603, allocations: 7.938 kB / 380.6 MB, free: 22.17 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.001795, allocations: 15.97 kB / 380.6 MB, free: 22.16 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.891e-05/0.001854, allocations: 15.92 kB / 380.6 MB, free: 22.14 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.17e-05/0.001906, allocations: 4 kB / 380.6 MB, free: 22.14 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.408e-05/0.00196, allocations: 11.98 kB / 380.6 MB, free: 22.12 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.274e-05/0.002022, allocations: 0 / 380.6 MB, free: 22.12 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.002039, allocations: 0 / 380.6 MB, free: 22.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.669e-05/0.002116, allocations: 27.97 kB / 380.7 MB, free: 22.1 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.002133, allocations: 11.97 kB / 380.7 MB, free: 22.09 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.446e-05/0.002148, allocations: 4 kB / 380.7 MB, free: 22.08 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.002249, allocations: 27.84 kB / 380.7 MB, free: 22.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.002251, allocations: 0 / 380.7 MB, free: 22.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.002252, allocations: 0 / 380.7 MB, free: 22.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.002257, allocations: 0 / 380.7 MB, free: 22.05 MB / 314.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.0002892/0.002547, allocations: 364.3 kB / 381.1 MB, free: 21.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.002588, allocations: 8.031 kB / 381.1 MB, free: 21.65 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.002618, allocations: 5.281 kB / 381.1 MB, free: 21.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.823e-05/0.002687, allocations: 112.5 kB / 381.2 MB, free: 21.51 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.002699, allocations: 4.375 kB / 381.2 MB, free: 21.51 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-06/0.002706, allocations: 384 / 381.2 MB, free: 21.51 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.002806, allocations: 74.31 kB / 381.3 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.002815, allocations: 192 / 381.3 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.002824, allocations: 384 / 381.3 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.002831, allocations: 384 / 381.3 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.775e-05/0.002849, allocations: 19.88 kB / 381.3 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000203/0.003052, allocations: 355.3 kB / 381.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.912e-05/0.003091, allocations: 31.06 kB / 381.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.024e-05/0.003111, allocations: 15.81 kB / 381.7 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.003124, allocations: 3.938 kB / 381.7 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.003141, allocations: 37.39 kB / 381.7 MB, free: 20.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.003142, allocations: 0 / 381.7 MB, free: 20.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001218/0.003264, allocations: 49.62 kB / 381.8 MB, free: 20.85 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.224e-05/0.003286, allocations: 55.41 kB / 381.8 MB, free: 20.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.184e-05/0.003328, allocations: 153.9 kB / 382 MB, free: 20.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.4e-06/0.003334, allocations: 25.7 kB / 382 MB, free: 20.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.942e-05/0.003363, allocations: 134.8 kB / 382.1 MB, free: 20.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.356e-06/0.003371, allocations: 19.81 kB / 382.1 MB, free: 20.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.003396, allocations: 23.38 kB / 382.2 MB, free: 20.4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.793e-05/0.003444, allocations: 492.1 kB / 382.6 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.105e-05/0.003455, allocations: 7.938 kB / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.701e-05/0.003472, allocations: 27.36 kB / 382.7 MB, free: 19.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.032e-05/0.003503, allocations: 31.55 kB / 382.7 MB, free: 19.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.003504, allocations: 4.125 kB / 382.7 MB, free: 19.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.805e-05/0.003562, allocations: 57.61 kB / 382.8 MB, free: 19.76 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.003575, allocations: 6.656 kB / 382.8 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.00358, allocations: 0 / 382.8 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.003591, allocations: 7.938 kB / 382.8 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.747e-05/0.003648, allocations: 7.984 kB / 382.8 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.003652, allocations: 4 kB / 382.8 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.37e-05/0.003666, allocations: 3.938 kB / 382.8 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.003673, allocations: 3.984 kB / 382.8 MB, free: 19.73 MB / 314.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.449e-05/0.003718, allocations: 160.6 kB / 383 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.003734, allocations: 7.938 kB / 383 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.776e-05/0.003812, allocations: 57.5 kB / 383 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.003815, allocations: 3.938 kB / 383 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.003817, allocations: 0 / 383 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.003821, allocations: 0 / 383 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.447e-05/0.003905, allocations: 105.2 kB / 383.1 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.003906, allocations: 0 / 383.1 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.27e-05/0.003929, allocations: 8 kB / 383.1 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.003931, allocations: 0 / 383.1 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.003936, allocations: 0 / 383.1 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.003936, allocations: 4 kB / 383.1 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.003937, allocations: 0 / 383.1 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.945e-05/0.004017, allocations: 211.8 kB / 383.4 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-06/0.004023, allocations: 0 / 383.4 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.324e-06/0.00403, allocations: 0 / 383.4 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.407e-05/0.004054, allocations: 4 kB / 383.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.004079, allocations: 3.984 kB / 383.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.004083, allocations: 3.938 kB / 383.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.105e-05/0.004104, allocations: 123.2 kB / 383.5 MB, free: 18.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004104, allocations: 3.938 kB / 383.5 MB, free: 18.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001562/0.00426, allocations: 12.09 kB / 383.5 MB, free: 18.97 MB / 314.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.0001059/0.004366, allocations: 99.23 kB / 383.6 MB, free: 18.86 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.484e-05/0.004451, allocations: 23.62 kB / 383.6 MB, free: 18.83 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.004452, allocations: 0 / 383.6 MB, free: 18.83 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.819e-05/0.00447, allocations: 23.67 kB / 383.6 MB, free: 18.8 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.004629, allocations: 4 kB / 383.6 MB, free: 18.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002003/0.00483, allocations: 112.2 kB / 383.8 MB, free: 18.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.334e-05/0.004853, allocations: 63.16 kB / 383.8 MB, free: 18.58 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.181e-05/0.004875, allocations: 12.3 kB / 383.8 MB, free: 18.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.004908, allocations: 70.2 kB / 383.9 MB, free: 18.5 MB / 314.7 MB Notification: Performance of SimCode: time 7.62e-07/0.004909, allocations: 0 / 383.9 MB, free: 18.5 MB / 314.7 MB Notification: Performance of Templates: time 0.002147/0.007056, allocations: 0.534 MB / 384.4 MB, free: 17.98 MB / 314.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.350795407779515]