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.001057/0.001057, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00118/0.001181, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2118/0.2118, allocations: 46.09 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 67.89 kB / 481.3 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3856, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001711/0.3874, allocations: 0.5322 MB / 0.5315 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008915/0.3883, allocations: 402.4 kB / 0.5319 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/0.3883, allocations: 0 / 0.5319 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.846e-05/0.3884, allocations: 3.938 kB / 0.5319 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.917e-05/0.3884, allocations: 0 / 0.5319 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005126/0.3889, allocations: 146 kB / 0.532 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.856e-05/0.389, allocations: 33.53 kB / 0.5321 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.389, allocations: 6.875 kB / 0.5321 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.295e-05/0.3891, allocations: 15.7 kB / 0.5321 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.27e-05/0.3891, allocations: 26.19 kB / 0.5321 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.3892, allocations: 2.469 kB / 0.5321 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002921/0.3895, allocations: 161.5 kB / 0.5323 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.3895, allocations: 7.922 kB / 0.5323 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.3895, allocations: 18.77 kB / 0.5323 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.3898, allocations: 127.2 kB / 0.5324 GB, free: 12.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3898, allocations: 1.375 kB / 0.5324 GB, free: 12.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.3898, allocations: 0 / 0.5324 GB, free: 12.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3898, allocations: 0 / 0.5324 GB, free: 12.57 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.0004735/0.3903, allocations: 371.5 kB / 0.5328 GB, free: 12.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3903, allocations: 9.625 kB / 0.5328 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.3904, allocations: 6.266 kB / 0.5328 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.3905, allocations: 169.6 kB / 0.5329 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.3905, allocations: 3.125 kB / 0.5329 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.3906, allocations: 12.48 kB / 0.533 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.3907, allocations: 68.09 kB / 0.533 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.3907, allocations: 5.312 kB / 0.533 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3907, allocations: 8 kB / 0.533 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3908, allocations: 2.75 kB / 0.533 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.772e-05/0.3908, allocations: 40.7 kB / 0.5331 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001832/0.391, allocations: 170 kB / 0.5332 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.3912, allocations: 94.27 kB / 0.5333 GB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.519e-05/0.3912, allocations: 32.56 kB / 0.5334 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002481/0.3915, allocations: 106.8 kB / 0.5335 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.3915, allocations: 35.72 kB / 0.5335 GB, free: 11.45 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.3915, allocations: 0 / 0.5335 GB, free: 11.45 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.1272/0.5187, allocations: 5.621 MB / 0.539 GB, free: 8.371 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.5188, allocations: 58.52 kB / 0.539 GB, free: 8.305 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.848e-05/0.5189, allocations: 94.88 kB / 0.5391 GB, free: 8.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.5189, allocations: 30.83 kB / 0.5392 GB, free: 8.168 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.154e-05/0.519, allocations: 80.52 kB / 0.5392 GB, free: 8.082 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.703e-05/0.5191, allocations: 84.73 kB / 0.5393 GB, free: 8.008 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.5192, allocations: 58.33 kB / 0.5394 GB, free: 7.969 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.5193, allocations: 329 kB / 0.5397 GB, free: 7.641 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/0.5197, allocations: 113.5 kB / 0.5398 GB, free: 7.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/0.52, allocations: 121.4 kB / 0.5399 GB, free: 7.535 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.5214, allocations: 317.2 kB / 0.5402 GB, free: 7.402 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5214, allocations: 4.875 kB / 0.5402 GB, free: 7.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001209/0.5227, allocations: 349.4 kB / 0.5406 GB, free: 7.234 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.5227, allocations: 12.56 kB / 0.5406 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.5227, allocations: 0 / 0.5406 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.5227, allocations: 1.188 kB / 0.5406 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.5231, allocations: 83.27 kB / 0.5406 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.5231, allocations: 1.188 kB / 0.5406 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.5233, allocations: 28.3 kB / 0.5407 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.508e-05/0.5234, allocations: 23.2 kB / 0.5407 GB, free: 7.176 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.0001097/0.5235, allocations: 120.7 kB / 0.5408 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.5235, allocations: 12.14 kB / 0.5408 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.5249, allocations: 423.7 kB / 0.5412 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.5249, allocations: 4.219 kB / 0.5412 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.5249, allocations: 0 / 0.5412 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.5249, allocations: 0 / 0.5412 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002109/0.5271, allocations: 0.7788 MB / 0.542 GB, free: 6.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.5271, allocations: 7.938 kB / 0.542 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.5274, allocations: 75.88 kB / 0.5421 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.5274, allocations: 4.062 kB / 0.5421 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.5274, allocations: 11.98 kB / 0.5421 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.5274, allocations: 4 kB / 0.5421 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5274, allocations: 0 / 0.5421 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.5285, allocations: 432.8 kB / 0.5425 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.588e-05/0.5286, allocations: 85.06 kB / 0.5426 GB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.5286, allocations: 4 kB / 0.5426 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.5288, allocations: 35.95 kB / 0.5426 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.5288, allocations: 11.92 kB / 0.5426 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.5288, allocations: 19.98 kB / 0.5426 GB, free: 5.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.354e-05/0.5289, allocations: 75.28 kB / 0.5427 GB, free: 5.355 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5289, allocations: 0 / 0.5427 GB, free: 5.355 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001514/0.5304, allocations: 0.6284 MB / 0.5433 GB, free: 4.727 MB / 398.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.002925/0.5333, allocations: 298.5 kB / 0.5436 GB, free: 4.426 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008057/0.5342, allocations: 263.6 kB / 0.5439 GB, free: 4.168 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5342, allocations: 0 / 0.5439 GB, free: 4.168 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003421/0.5345, allocations: 131.8 kB / 0.544 GB, free: 4.039 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.5348, allocations: 8 kB / 0.544 GB, free: 4.031 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009005/0.5357, allocations: 339.2 kB / 0.5443 GB, free: 3.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.536, allocations: 0.6931 MB / 0.545 GB, free: 2.938 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002233/0.5362, allocations: 77.08 kB / 0.5451 GB, free: 2.863 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.5363, allocations: 51.39 kB / 0.5451 GB, free: 2.812 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.5364, allocations: 0 / 0.5451 GB, free: 2.812 MB / 398.1 MB Notification: Performance of Templates: time 0.06397/0.6003, allocations: 53.88 MB / 0.5977 GB, free: 12.87 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches