Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.001752/0.001752, allocations: 88.44 kB / 20.68 MB, free: 1.02 MB / 14.72 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.002109/0.002109, allocations: 161.5 kB / 23.95 MB, free: 4.141 MB / 14.72 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.478/1.478, allocations: 177 MB / 204.1 MB, free: 9.145 MB / 190.1 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.2223/0.2223, allocations: 34.26 MB / 294.8 MB, free: 14.52 MB / 286.1 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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 442.6 MB, free: 5.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.624e-05, allocations: 2.281 kB / 442.6 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001571/0.001597, allocations: 0.5347 MB / 443.2 MB, free: 4.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007904/0.002388, allocations: 374.8 kB / 443.5 MB, free: 4.398 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.848e-05/0.002416, allocations: 0 / 443.5 MB, free: 4.398 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.239e-05/0.002428, allocations: 3.938 kB / 443.6 MB, free: 4.395 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.279e-05/0.002461, allocations: 7.938 kB / 443.6 MB, free: 4.387 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005708/0.003032, allocations: 135.5 kB / 443.7 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.104e-05/0.003103, allocations: 31.89 kB / 443.7 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.889e-05/0.003142, allocations: 4 kB / 443.7 MB, free: 4.219 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.654e-05/0.003189, allocations: 15.98 kB / 443.7 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.456e-05/0.003253, allocations: 23.91 kB / 443.8 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.003267, allocations: 3.938 kB / 443.8 MB, free: 4.176 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.003532, allocations: 143.8 kB / 443.9 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.003545, allocations: 4 kB / 443.9 MB, free: 4.031 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.003576, allocations: 19.92 kB / 443.9 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.003849, allocations: 147.6 kB / 444.1 MB, free: 3.867 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.003852, allocations: 0 / 444.1 MB, free: 3.867 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.003853, allocations: 0 / 444.1 MB, free: 3.867 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.003857, allocations: 0 / 444.1 MB, free: 3.867 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000477/0.004334, allocations: 290 kB / 444.4 MB, free: 3.555 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.004378, allocations: 12.03 kB / 444.4 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.004419, allocations: 4.875 kB / 444.4 MB, free: 3.539 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.00454, allocations: 113.7 kB / 444.5 MB, free: 3.402 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.004557, allocations: 8.312 kB / 444.5 MB, free: 3.395 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.00466, allocations: 12.36 kB / 444.5 MB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.004816, allocations: 66.23 kB / 444.6 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.00483, allocations: 192 / 444.6 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.004842, allocations: 4.375 kB / 444.6 MB, free: 3.309 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.004851, allocations: 8.125 kB / 444.6 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.965e-05/0.004951, allocations: 39.95 kB / 444.6 MB, free: 3.262 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/0.005142, allocations: 113.3 kB / 444.7 MB, free: 3.121 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.005307, allocations: 86.42 kB / 444.8 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.366e-05/0.00536, allocations: 32.34 kB / 444.9 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00026/0.00562, allocations: 31.91 kB / 444.9 MB, free: 2.965 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.005658, allocations: 34.55 kB / 444.9 MB, free: 2.922 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.00566, allocations: 0 / 444.9 MB, free: 2.922 MB / 366.1 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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.3188/0.3244, allocations: 5.609 MB / 450.5 MB, free: 17.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.3245, allocations: 54.19 kB / 450.6 MB, free: 17.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.061e-05/0.3245, allocations: 96.53 kB / 450.7 MB, free: 17.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.3246, allocations: 29.58 kB / 450.7 MB, free: 17.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.346e-05/0.3246, allocations: 81.83 kB / 450.8 MB, free: 17.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.522e-05/0.3246, allocations: 76.53 kB / 450.9 MB, free: 17.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.3248, allocations: 62.94 kB / 450.9 MB, free: 17.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.601e-05/0.3248, allocations: 320.6 kB / 451.2 MB, free: 17.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003802/0.3252, allocations: 110.1 kB / 451.3 MB, free: 17.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003758/0.3256, allocations: 113.8 kB / 451.5 MB, free: 17.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.3271, allocations: 325.8 kB / 451.8 MB, free: 17.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3271, allocations: 3.375 kB / 451.8 MB, free: 17.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001281/0.3284, allocations: 363.6 kB / 452.1 MB, free: 17.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3284, allocations: 5.5 kB / 452.1 MB, free: 17.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.3284, allocations: 0 / 452.1 MB, free: 17.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.3284, allocations: 1.375 kB / 452.1 MB, free: 17.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/0.3288, allocations: 75.8 kB / 452.2 MB, free: 17.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.3289, allocations: 2.172 kB / 452.2 MB, free: 17.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.3291, allocations: 31.27 kB / 452.2 MB, free: 17.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/0.3291, allocations: 15.41 kB / 452.3 MB, free: 17.07 MB / 366.1 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 (23): * Single equations (assignments): 23 * 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.801e-05/0.3292, allocations: 123.2 kB / 452.4 MB, free: 16.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.3292, allocations: 9.438 kB / 452.4 MB, free: 16.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/0.3308, allocations: 437.4 kB / 452.8 MB, free: 16.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.3308, allocations: 5.344 kB / 452.8 MB, free: 16.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3308, allocations: 3.234 kB / 452.8 MB, free: 16.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3308, allocations: 0.75 kB / 452.8 MB, free: 16.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/0.333, allocations: 0.6924 MB / 453.5 MB, free: 16.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.333, allocations: 1.406 kB / 453.5 MB, free: 16.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.3333, allocations: 82.83 kB / 453.6 MB, free: 16.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3333, allocations: 1.25 kB / 453.6 MB, free: 16.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.3333, allocations: 15.92 kB / 453.6 MB, free: 16.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3333, allocations: 2.125 kB / 453.6 MB, free: 16.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3333, allocations: 3.188 kB / 453.6 MB, free: 16.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.3345, allocations: 430.9 kB / 454 MB, free: 16.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.129e-05/0.3345, allocations: 8.984 kB / 454 MB, free: 16.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.3345, allocations: 9.672 kB / 454.1 MB, free: 16.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.3348, allocations: 26.14 kB / 454.1 MB, free: 16.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.3348, allocations: 18.59 kB / 454.1 MB, free: 16.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.3348, allocations: 13.77 kB / 454.1 MB, free: 16.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.994e-05/0.3348, allocations: 77.56 kB / 454.2 MB, free: 16.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3348, allocations: 0 / 454.2 MB, free: 16.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001662/0.3365, allocations: 0.6324 MB / 454.8 MB, free: 16.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.003287/0.3398, allocations: 321.5 kB / 455.1 MB, free: 16.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008414/0.3406, allocations: 255.7 kB / 455.4 MB, free: 16.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3406, allocations: 0 / 455.4 MB, free: 16.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003773/0.341, allocations: 128.6 kB / 455.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.3413, allocations: 9.469 kB / 455.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009912/0.3422, allocations: 343.4 kB / 455.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.687e-05/0.3423, allocations: 82.8 kB / 455.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002257/0.3425, allocations: 77.3 kB / 456 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.3427, allocations: 45.45 kB / 456.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of SimCode: time 6.22e-07/0.3427, allocations: 0 / 456.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of Templates: time 0.07075/0.4134, allocations: 54.05 MB / 0.4982 GB, free: 3.473 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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: 5.502535805106163]