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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=10000,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=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001446/0.001446, allocations: 114.9 kB / 18.45 MB, free: 4.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001743/0.001744, allocations: 214.8 kB / 19.41 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2045/0.2045, allocations: 46.09 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 83.84 kB / 482 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3177, allocations: 62.42 MB / 0.5316 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001617/0.3194, allocations: 0.5441 MB / 0.5322 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007836/0.3202, allocations: 402.4 kB / 0.5326 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.095e-05/0.3202, allocations: 0 / 0.5326 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.83e-05/0.3203, allocations: 5.5 kB / 0.5326 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.807e-05/0.3203, allocations: 0 / 0.5326 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004623/0.3208, allocations: 144.5 kB / 0.5327 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.279e-05/0.3208, allocations: 26.61 kB / 0.5327 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.967e-05/0.3209, allocations: 7.984 kB / 0.5327 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.232e-05/0.3209, allocations: 14.55 kB / 0.5327 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.88e-05/0.321, allocations: 23.89 kB / 0.5328 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.321, allocations: 1.375 kB / 0.5328 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002633/0.3213, allocations: 160.6 kB / 0.5329 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.3213, allocations: 10.64 kB / 0.5329 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.3213, allocations: 21.14 kB / 0.533 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.3215, allocations: 131.2 kB / 0.5331 GB, free: 12.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3216, allocations: 1.344 kB / 0.5331 GB, free: 12.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3216, allocations: 0 / 0.5331 GB, free: 12.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.3216, allocations: 4 kB / 0.5331 GB, free: 12.59 MB / 398.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.0004027/0.322, allocations: 358.9 kB / 0.5334 GB, free: 12.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.322, allocations: 8.344 kB / 0.5334 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.3221, allocations: 7.062 kB / 0.5334 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.3222, allocations: 168.8 kB / 0.5336 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.3222, allocations: 1.812 kB / 0.5336 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.3223, allocations: 8.812 kB / 0.5336 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.3224, allocations: 66.16 kB / 0.5337 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.3224, allocations: 9.344 kB / 0.5337 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.3224, allocations: 9.281 kB / 0.5337 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3225, allocations: 1.312 kB / 0.5337 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.069e-05/0.3225, allocations: 42.02 kB / 0.5337 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.3227, allocations: 173.9 kB / 0.5339 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.3229, allocations: 93.66 kB / 0.534 GB, free: 11.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.709e-05/0.323, allocations: 36.41 kB / 0.534 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002606/0.3232, allocations: 107.6 kB / 0.5341 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.3233, allocations: 31.81 kB / 0.5342 GB, free: 11.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.3233, allocations: 0 / 0.5342 GB, free: 11.48 MB / 398.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.1344/0.4577, allocations: 5.626 MB / 0.5397 GB, free: 8.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.4578, allocations: 58.55 kB / 0.5397 GB, free: 8.332 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.917e-05/0.4578, allocations: 94.84 kB / 0.5398 GB, free: 8.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.4579, allocations: 31.27 kB / 0.5398 GB, free: 8.195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.863e-05/0.4579, allocations: 80.52 kB / 0.5399 GB, free: 8.109 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.23e-05/0.458, allocations: 75.66 kB / 0.54 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.4581, allocations: 59.33 kB / 0.54 GB, free: 8.004 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.4583, allocations: 333 kB / 0.5404 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/0.4586, allocations: 109.2 kB / 0.5405 GB, free: 7.625 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/0.4589, allocations: 115.6 kB / 0.5406 GB, free: 7.574 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.4604, allocations: 325.3 kB / 0.5409 GB, free: 7.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.4604, allocations: 4 kB / 0.5409 GB, free: 7.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001203/0.4616, allocations: 350.4 kB / 0.5412 GB, free: 7.266 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.4617, allocations: 9.656 kB / 0.5412 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4617, allocations: 0 / 0.5412 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.4617, allocations: 1.094 kB / 0.5412 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004085/0.4621, allocations: 78.3 kB / 0.5413 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.4621, allocations: 1.094 kB / 0.5413 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.4623, allocations: 29.7 kB / 0.5413 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.4624, allocations: 18.77 kB / 0.5413 GB, free: 7.215 MB / 398.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 0.0001269/0.4625, allocations: 121.7 kB / 0.5415 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/0.4626, allocations: 7.688 kB / 0.5415 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.464, allocations: 435.2 kB / 0.5419 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.464, allocations: 0 / 0.5419 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.464, allocations: 0 / 0.5419 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/0.4641, allocations: 84.55 kB / 0.542 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.4641, allocations: 12.92 kB / 0.542 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.4643, allocations: 29.16 kB / 0.542 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.4644, allocations: 10.64 kB / 0.542 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001447/0.4658, allocations: 485.7 kB / 0.5425 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00125/0.4671, allocations: 0.5218 MB / 0.543 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000365/0.4675, allocations: 143.7 kB / 0.5431 GB, free: 5.719 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.844e-05/0.4675, allocations: 83.28 kB / 0.5432 GB, free: 5.637 MB / 398.1 MB Notification: Performance of Backend: time 3.81e-07/0.4675, allocations: 0 / 0.5432 GB, free: 5.637 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004311/0.4718, allocations: 433.8 kB / 0.5436 GB, free: 5.207 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005095/0.4724, allocations: 0.5996 MB / 0.5442 GB, free: 4.559 MB / 398.1 MB Notification: Performance of Templates: time 0.07103/0.5434, allocations: 54.37 MB / 0.5973 GB, free: 14.12 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches