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.0007251/0.0007251, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001026/0.001751, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007224/0.0007224, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009531/0.001676, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.8804/0.8804, allocations: 177.4 MB / 189.9 MB, free: 4.848 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07698/0.9574, allocations: 53.87 MB / 243.7 MB, free: 14.92 MB / 250.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.2282/0.2282, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02168/0.2499, allocations: 13.23 MB / 292.6 MB, free: 6.484 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.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.032e-06/1.032e-06, allocations: 0 / 293.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.753e-05/1.857e-05, allocations: 2.312 kB / 293.9 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001107/0.001126, allocations: 0.5771 MB / 294.4 MB, free: 4.645 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004119/0.001538, allocations: 383.3 kB / 294.8 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.55e-05/0.001553, allocations: 0 / 294.8 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.628e-06/0.001558, allocations: 7.938 kB / 294.8 MB, free: 4.262 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.983e-06/0.001565, allocations: 3.938 kB / 294.8 MB, free: 4.258 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.001809, allocations: 127.5 kB / 294.9 MB, free: 4.133 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.025e-05/0.001859, allocations: 27.91 kB / 295 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.506e-05/0.001894, allocations: 8 kB / 295 MB, free: 4.098 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.271e-05/0.001937, allocations: 15.98 kB / 295 MB, free: 4.082 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.633e-05/0.001983, allocations: 19.91 kB / 295 MB, free: 4.062 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.001995, allocations: 4 kB / 295 MB, free: 4.059 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.002202, allocations: 167.8 kB / 295.2 MB, free: 3.895 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.002215, allocations: 7.938 kB / 295.2 MB, free: 3.887 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.678e-05/0.002231, allocations: 8 kB / 295.2 MB, free: 3.879 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.002446, allocations: 123.6 kB / 295.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.366e-05/0.00246, allocations: 0 / 295.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.00246, allocations: 0 / 295.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.002475, allocations: 0 / 295.3 MB, free: 3.758 MB / 282.7 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.0003485/0.002824, allocations: 281.5 kB / 295.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.002853, allocations: 8.031 kB / 295.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.002886, allocations: 8.938 kB / 295.6 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.045e-05/0.002956, allocations: 109.8 kB / 295.7 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.002967, allocations: 4.375 kB / 295.7 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.002989, allocations: 12.36 kB / 295.7 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.455e-05/0.003063, allocations: 58.16 kB / 295.8 MB, free: 3.234 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.003072, allocations: 192 / 295.8 MB, free: 3.234 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-06/0.003078, allocations: 384 / 295.8 MB, free: 3.234 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.003083, allocations: 8.125 kB / 295.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.679e-05/0.00313, allocations: 27.97 kB / 295.8 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.003287, allocations: 76.92 kB / 295.9 MB, free: 3.109 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.599e-05/0.003383, allocations: 62.53 kB / 296 MB, free: 3.039 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.329e-05/0.003406, allocations: 26.09 kB / 296 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001789/0.003585, allocations: 35.97 kB / 296 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.003607, allocations: 34.88 kB / 296.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.903e-06/0.003609, allocations: 0 / 296.1 MB, free: 2.934 MB / 282.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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.03352/0.03713, allocations: 4.481 MB / 300.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.03717, allocations: 59.34 kB / 300.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.95e-05/0.03722, allocations: 98.7 kB / 300.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.03723, allocations: 29.7 kB / 300.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.353e-05/0.03726, allocations: 88.5 kB / 300.8 MB, free: 14.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.03731, allocations: 79.27 kB / 300.9 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/0.03737, allocations: 45.78 kB / 300.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.03744, allocations: 326.8 kB / 301.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.384e-05/0.0375, allocations: 35.97 kB / 301.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.934e-05/0.03755, allocations: 39.97 kB / 301.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.03766, allocations: 105.8 kB / 301.4 MB, free: 13.51 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.03767, allocations: 0 / 301.4 MB, free: 13.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001549/0.03782, allocations: 142.8 kB / 301.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.03784, allocations: 14.48 kB / 301.6 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.03784, allocations: 0 / 301.6 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.03785, allocations: 0 / 301.6 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.03808, allocations: 91.88 kB / 301.7 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.03809, allocations: 0 / 301.7 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.233e-05/0.03817, allocations: 31.95 kB / 301.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.03818, allocations: 7.984 kB / 301.7 MB, free: 13.22 MB / 298.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 (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 6.854e-05/0.03825, allocations: 117.8 kB / 301.8 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.03828, allocations: 19.92 kB / 301.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/0.03852, allocations: 187.3 kB / 302 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.03852, allocations: 4 kB / 302 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.03853, allocations: 0 / 302 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.03853, allocations: 3.984 kB / 302 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006221/0.03915, allocations: 474.8 kB / 302.5 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.03915, allocations: 0 / 302.5 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.0393, allocations: 83.84 kB / 302.6 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.318e-06/0.03931, allocations: 7.953 kB / 302.6 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.03931, allocations: 4 kB / 302.6 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.03932, allocations: 7.984 kB / 302.6 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.03932, allocations: 4.062 kB / 302.6 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.03932, allocations: 4 kB / 302.6 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.03948, allocations: 236.4 kB / 302.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.0395, allocations: 8 kB / 302.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-05/0.03958, allocations: 27.95 kB / 302.9 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.707e-05/0.0396, allocations: 11.98 kB / 302.9 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.03961, allocations: 11.98 kB / 302.9 MB, free: 11.97 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.929e-06/0.03962, allocations: 8.859 kB / 302.9 MB, free: 11.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03962, allocations: 0 / 302.9 MB, free: 11.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008364/0.04045, allocations: 479.6 kB / 303.4 MB, free: 11.49 MB / 298.7 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.001361/0.04181, allocations: 303.7 kB / 303.7 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.04199, allocations: 112.7 kB / 303.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.042, allocations: 0 / 303.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.996e-05/0.04206, allocations: 72.67 kB / 303.8 MB, free: 11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.04219, allocations: 27.97 kB / 303.9 MB, free: 10.97 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003755/0.04256, allocations: 276.8 kB / 304.1 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.477e-05/0.0426, allocations: 67.84 kB / 304.2 MB, free: 10.58 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.04271, allocations: 53.14 kB / 304.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.04282, allocations: 79.33 kB / 304.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.04282, allocations: 0 / 304.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of Templates: time 0.04173/0.08456, allocations: 43.56 MB / 347.9 MB, free: 14.91 MB / 346.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 240] 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","",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.3158255675807595]