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.0009513/0.0009513, allocations: 83.67 kB / 21.7 MB, free: 2.844 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.000931/0.000931, allocations: 166.9 kB / 24.99 MB, free: 9.277 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.9058/0.9058, allocations: 177 MB / 205.2 MB, free: 5.586 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.2488/0.2488, allocations: 34.87 MB / 296.6 MB, free: 0.5664 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.804e-06/1.804e-06, allocations: 0 / 378.7 MB, free: 2.438 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.675e-05, allocations: 6.953 kB / 378.7 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001474/0.001501, allocations: 0.5037 MB / 379.2 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002996/0.0018, allocations: 95.67 kB / 379.3 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.686e-05/0.001827, allocations: 4 kB / 379.3 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.001846, allocations: 3.938 kB / 379.3 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.072e-05/0.001866, allocations: 0 / 379.3 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.002083, allocations: 19.95 kB / 379.4 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.595e-05/0.002149, allocations: 4 kB / 379.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.002191, allocations: 8 kB / 379.4 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.748e-05/0.002238, allocations: 11.98 kB / 379.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.005e-05/0.002288, allocations: 7.922 kB / 379.4 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.002304, allocations: 3.938 kB / 379.4 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.561e-05/0.00239, allocations: 27.97 kB / 379.4 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.002405, allocations: 3.984 kB / 379.4 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.002426, allocations: 8 kB / 379.4 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.002538, allocations: 23.91 kB / 379.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.002542, allocations: 3.984 kB / 379.5 MB, free: 1.703 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.002543, allocations: 0 / 379.5 MB, free: 1.703 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.002547, allocations: 0 / 379.5 MB, free: 1.703 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.0003649/0.002912, allocations: 364.2 kB / 379.8 MB, free: 1.309 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.002958, allocations: 8.031 kB / 379.8 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.003005, allocations: 9.234 kB / 379.8 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.36e-05/0.003099, allocations: 104.6 kB / 379.9 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.003112, allocations: 4.375 kB / 379.9 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.003123, allocations: 4.375 kB / 379.9 MB, free: 1.156 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.00326, allocations: 70.33 kB / 380 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.003268, allocations: 4.125 kB / 380 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.003277, allocations: 384 / 380 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.003287, allocations: 8.375 kB / 380 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.621e-05/0.003323, allocations: 11.92 kB / 380 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003112/0.003634, allocations: 366.8 kB / 380.4 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.484e-05/0.003689, allocations: 35 kB / 380.4 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.781e-05/0.003727, allocations: 15.69 kB / 380.4 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.003742, allocations: 3.984 kB / 380.4 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.003767, allocations: 33.39 kB / 380.5 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.003768, allocations: 0 / 380.5 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001787/0.003947, allocations: 57.72 kB / 380.5 MB, free: 484 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.003981, allocations: 59.41 kB / 380.6 MB, free: 412 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.204e-05/0.004063, allocations: 157.9 kB / 380.7 MB, free: 236 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.004074, allocations: 29.7 kB / 380.8 MB, free: 200 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.004124, allocations: 134.8 kB / 380.9 MB, free: 60 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.004139, allocations: 15.84 kB / 380.9 MB, free: 44 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.004172, allocations: 23.38 kB / 380.9 MB, free: 12 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.004317, allocations: 0.4884 MB / 381.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.545e-05/0.004343, allocations: 8 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.875e-05/0.004371, allocations: 23.31 kB / 381.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.11e-05/0.004422, allocations: 35.48 kB / 381.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.004425, allocations: 0 / 381.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.254e-05/0.004517, allocations: 57.62 kB / 381.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.004532, allocations: 4 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.004537, allocations: 3.938 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.004553, allocations: 4 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.882e-05/0.004622, allocations: 4 kB / 381.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.004628, allocations: 3.938 kB / 381.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.999e-05/0.004648, allocations: 4 kB / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.004655, allocations: 0 / 381.6 MB, free: 15.34 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 7.527e-05/0.00473, allocations: 172.5 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.004756, allocations: 3.953 kB / 381.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.004883, allocations: 61.31 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.004885, allocations: 0 / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.004889, allocations: 0 / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.004893, allocations: 0 / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.00502, allocations: 112.6 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.005023, allocations: 7.984 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.272e-05/0.005065, allocations: 4 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.005068, allocations: 0 / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.005076, allocations: 8 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.00508, allocations: 7.875 kB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.005081, allocations: 0 / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.005225, allocations: 200.1 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-06/0.005231, allocations: 4 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.005243, allocations: 0 / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.088e-05/0.005294, allocations: 3.938 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.005328, allocations: 11.98 kB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.005332, allocations: 0 / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.895e-05/0.005371, allocations: 119.2 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.005371, allocations: 4.094 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002556/0.005627, allocations: 8 kB / 382.3 MB, free: 14.56 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.0001193/0.005746, allocations: 99.19 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.005853, allocations: 31.61 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.005855, allocations: 0 / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.279e-05/0.005887, allocations: 27.67 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.006126, allocations: 0 / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002622/0.006388, allocations: 126.2 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.321e-05/0.006431, allocations: 51.36 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.881e-05/0.00646, allocations: 11.97 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/0.006488, allocations: 12.5 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.006489, allocations: 3.938 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of Templates: time 0.002651/0.009139, allocations: 484.2 kB / 383.1 MB, free: 13.66 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","",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.869053962873295]