Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.001387/0.001387, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001624/0.001624, allocations: 164.4 kB / 24.91 MB, free: 8.719 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.9375/0.9375, allocations: 177 MB / 205.2 MB, free: 5.047 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.2609/0.2609, allocations: 34.86 MB / 296.6 MB, free: 408 kB / 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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 325.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.719e-05, allocations: 5.406 kB / 325.9 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.002121/0.002148, allocations: 0.5796 MB / 326.5 MB, free: 6.535 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005778/0.002726, allocations: 387.3 kB / 326.9 MB, free: 6.152 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.495e-05/0.002751, allocations: 0 / 326.9 MB, free: 6.152 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.379e-05/0.002765, allocations: 3.938 kB / 326.9 MB, free: 6.148 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.966e-05/0.002794, allocations: 4 kB / 326.9 MB, free: 6.145 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.003145, allocations: 119.4 kB / 327 MB, free: 6.027 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.049e-05/0.003195, allocations: 27.91 kB / 327.1 MB, free: 6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.55e-05/0.003231, allocations: 8.734 kB / 327.1 MB, free: 5.992 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.164e-05/0.003263, allocations: 8 kB / 327.1 MB, free: 5.984 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.919e-05/0.003312, allocations: 23.91 kB / 327.1 MB, free: 5.961 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.003322, allocations: 0 / 327.1 MB, free: 5.961 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002208/0.003543, allocations: 163.8 kB / 327.3 MB, free: 5.801 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.003554, allocations: 7.984 kB / 327.3 MB, free: 5.793 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.44e-05/0.003568, allocations: 11.94 kB / 327.3 MB, free: 5.781 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.003728, allocations: 151.5 kB / 327.4 MB, free: 5.633 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.00373, allocations: 0 / 327.4 MB, free: 5.633 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.00373, allocations: 0 / 327.4 MB, free: 5.633 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.576e-06/0.003734, allocations: 0 / 327.4 MB, free: 5.633 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002447/0.003979, allocations: 262 kB / 327.7 MB, free: 5.355 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.761e-05/0.004006, allocations: 8.031 kB / 327.7 MB, free: 5.348 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.156e-05/0.004028, allocations: 16.86 kB / 327.7 MB, free: 5.332 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.872e-05/0.004097, allocations: 117.7 kB / 327.8 MB, free: 5.191 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.004106, allocations: 8.375 kB / 327.8 MB, free: 5.184 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.004121, allocations: 4.375 kB / 327.8 MB, free: 5.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.306e-05/0.004184, allocations: 54.17 kB / 327.9 MB, free: 5.121 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.004192, allocations: 192 / 327.9 MB, free: 5.121 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-06/0.004198, allocations: 384 / 327.9 MB, free: 5.121 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.004202, allocations: 4.125 kB / 327.9 MB, free: 5.117 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.949e-05/0.004232, allocations: 15.98 kB / 327.9 MB, free: 5.102 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.341e-05/0.004325, allocations: 65.05 kB / 328 MB, free: 5.023 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.004444, allocations: 46.59 kB / 328 MB, free: 4.969 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.023e-05/0.004464, allocations: 12.86 kB / 328 MB, free: 4.953 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.004587, allocations: 39.95 kB / 328.1 MB, free: 4.914 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.004605, allocations: 34.55 kB / 328.1 MB, free: 4.871 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 6.21e-07/0.004606, allocations: 0 / 328.1 MB, free: 4.871 MB / 298.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.05199/0.0566, allocations: 5.724 MB / 333.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.05663, allocations: 51.41 kB / 333.9 MB, free: 15.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.165e-05/0.05668, allocations: 106.7 kB / 334 MB, free: 14.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.05671, allocations: 33.64 kB / 334 MB, free: 14.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.474e-05/0.05673, allocations: 84.12 kB / 334.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.706e-05/0.0568, allocations: 63.42 kB / 334.2 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.0569, allocations: 69.56 kB / 334.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.319e-05/0.05698, allocations: 318.8 kB / 334.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.05711, allocations: 143.9 kB / 334.7 MB, free: 14.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.05726, allocations: 142.3 kB / 334.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007382/0.058, allocations: 404.5 kB / 335.2 MB, free: 13.67 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.058, allocations: 0 / 335.2 MB, free: 13.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005634/0.05856, allocations: 398.6 kB / 335.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.05858, allocations: 7.938 kB / 335.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.05858, allocations: 0 / 335.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.05859, allocations: 0 / 335.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.0589, allocations: 95.78 kB / 335.7 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.786e-06/0.0589, allocations: 4 kB / 335.7 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.05905, allocations: 27.97 kB / 335.7 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.05909, allocations: 11.95 kB / 335.7 MB, free: 13.13 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (19): * Single equations (assignments): 19 * 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 9.427e-05/0.05918, allocations: 121.8 kB / 335.9 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.05922, allocations: 15.94 kB / 335.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007221/0.05994, allocations: 0.4928 MB / 336.4 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.05995, allocations: 0 / 336.4 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.05995, allocations: 4 kB / 336.4 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.05995, allocations: 0 / 336.4 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.06138, allocations: 0.6983 MB / 337.1 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.06138, allocations: 0 / 337.1 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.06162, allocations: 84.02 kB / 337.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.06162, allocations: 8 kB / 337.2 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.06165, allocations: 20.2 kB / 337.2 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.06165, allocations: 7.922 kB / 337.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.06166, allocations: 8 kB / 337.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005291/0.06219, allocations: 389.1 kB / 337.6 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.027e-05/0.0622, allocations: 11.95 kB / 337.6 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.06223, allocations: 11.98 kB / 337.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.06238, allocations: 19.92 kB / 337.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.162e-05/0.0624, allocations: 23.91 kB / 337.6 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.06243, allocations: 15.95 kB / 337.7 MB, free: 11.12 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.548e-06/0.06244, allocations: 12.8 kB / 337.7 MB, free: 11.11 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06244, allocations: 0 / 337.7 MB, free: 11.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00111/0.06355, allocations: 0.6518 MB / 338.3 MB, free: 10.45 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.001954/0.06551, allocations: 307.7 kB / 338.6 MB, free: 10.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003404/0.06585, allocations: 304.5 kB / 338.9 MB, free: 9.844 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.06585, allocations: 0 / 338.9 MB, free: 9.844 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.06599, allocations: 129 kB / 339 MB, free: 9.715 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.06615, allocations: 47.2 kB / 339.1 MB, free: 9.672 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008791/0.06703, allocations: 425.3 kB / 339.5 MB, free: 9.215 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.855e-05/0.06707, allocations: 67.58 kB / 339.6 MB, free: 9.125 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002516/0.06732, allocations: 117 kB / 339.7 MB, free: 9.008 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/0.06761, allocations: 103.2 kB / 339.8 MB, free: 8.906 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.06761, allocations: 0 / 339.8 MB, free: 8.906 MB / 314.7 MB Notification: Performance of Templates: time 0.06125/0.1289, allocations: 64.1 MB / 403.9 MB, free: 8.785 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.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: 7.3329141526483]