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.001438/0.001438, allocations: 115.2 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001792/0.001792, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 247.6 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.2159/0.2159, allocations: 46.09 MB / 344.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 79.88 kB / 482 MB, free: 4.125 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3292, allocations: 62.43 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001742/0.3309, allocations: 0.5329 MB / 0.5322 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007829/0.3318, allocations: 403.3 kB / 0.5325 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.703e-05/0.3318, allocations: 4 kB / 0.5326 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.6e-05/0.3319, allocations: 5.219 kB / 0.5326 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.915e-05/0.3319, allocations: 0 / 0.5326 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005292/0.3325, allocations: 145.8 kB / 0.5327 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.695e-05/0.3325, allocations: 33.03 kB / 0.5327 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.186e-05/0.3326, allocations: 3.75 kB / 0.5327 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.845e-05/0.3326, allocations: 14.48 kB / 0.5327 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.216e-05/0.3327, allocations: 23.55 kB / 0.5328 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.3327, allocations: 5.219 kB / 0.5328 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003392/0.3331, allocations: 164.8 kB / 0.5329 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.3331, allocations: 5.891 kB / 0.5329 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.131e-05/0.3331, allocations: 21.86 kB / 0.533 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.3334, allocations: 131.6 kB / 0.5331 GB, free: 12.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3334, allocations: 0 / 0.5331 GB, free: 12.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3334, allocations: 1.281 kB / 0.5331 GB, free: 12.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3334, allocations: 0 / 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.0004482/0.3338, allocations: 358.7 kB / 0.5334 GB, free: 12.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3339, allocations: 8.344 kB / 0.5334 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.3339, allocations: 11.44 kB / 0.5334 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.334, allocations: 168.2 kB / 0.5336 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.3341, allocations: 6.484 kB / 0.5336 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.3341, allocations: 9 kB / 0.5336 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.3342, allocations: 63.97 kB / 0.5337 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.3343, allocations: 8.906 kB / 0.5337 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.3343, allocations: 4 kB / 0.5337 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.3343, allocations: 2.719 kB / 0.5337 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.9e-05/0.3344, allocations: 41.83 kB / 0.5337 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001764/0.3346, allocations: 184.3 kB / 0.5339 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.3347, allocations: 87.73 kB / 0.534 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.606e-05/0.3347, allocations: 26.61 kB / 0.534 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002879/0.335, allocations: 104.2 kB / 0.5341 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.3351, allocations: 35.94 kB / 0.5342 GB, free: 11.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.3351, allocations: 4 kB / 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.139/0.4741, allocations: 5.616 MB / 0.5396 GB, free: 8.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.4742, allocations: 57.52 kB / 0.5397 GB, free: 8.332 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.898e-05/0.4743, allocations: 94.98 kB / 0.5398 GB, free: 8.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.983e-05/0.4743, allocations: 30.77 kB / 0.5398 GB, free: 8.195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.003e-05/0.4743, allocations: 81.45 kB / 0.5399 GB, free: 8.109 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.726e-05/0.4744, allocations: 79.75 kB / 0.54 GB, free: 8.039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.4746, allocations: 62.2 kB / 0.54 GB, free: 7.996 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4747, allocations: 317 kB / 0.5403 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/0.4751, allocations: 117.8 kB / 0.5404 GB, free: 7.625 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/0.4755, allocations: 118.9 kB / 0.5406 GB, free: 7.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.477, allocations: 320.1 kB / 0.5409 GB, free: 7.438 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4771, allocations: 0 / 0.5409 GB, free: 7.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001281/0.4783, allocations: 354.8 kB / 0.5412 GB, free: 7.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.4784, allocations: 4.969 kB / 0.5412 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.4784, allocations: 0 / 0.5412 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.4784, allocations: 1.281 kB / 0.5412 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/0.4788, allocations: 90.34 kB / 0.5413 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.4788, allocations: 1.031 kB / 0.5413 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.479, allocations: 21.03 kB / 0.5413 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.4791, allocations: 26.36 kB / 0.5413 GB, free: 7.211 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.0001233/0.4792, allocations: 125.1 kB / 0.5415 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.4792, allocations: 8.406 kB / 0.5415 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.4808, allocations: 426.9 kB / 0.5419 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.4808, allocations: 3.094 kB / 0.5419 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.4808, allocations: 0 / 0.5419 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.4809, allocations: 5.328 kB / 0.5419 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/0.4832, allocations: 0.7773 MB / 0.5426 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.4832, allocations: 3.938 kB / 0.5426 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.4835, allocations: 79.86 kB / 0.5427 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.4836, allocations: 0 / 0.5427 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.4836, allocations: 11.98 kB / 0.5427 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.4836, allocations: 4 kB / 0.5427 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4836, allocations: 64 / 0.5427 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.4849, allocations: 433.5 kB / 0.5431 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/0.4849, allocations: 89 kB / 0.5432 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.485, allocations: 4 kB / 0.5432 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.4852, allocations: 31.91 kB / 0.5433 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.4852, allocations: 11.98 kB / 0.5433 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.4853, allocations: 19.98 kB / 0.5433 GB, free: 5.473 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.248e-05/0.4853, allocations: 79.28 kB / 0.5434 GB, free: 5.395 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4853, allocations: 0 / 0.5434 GB, free: 5.395 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001675/0.487, allocations: 0.6249 MB / 0.544 GB, free: 4.77 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.00356/0.4906, allocations: 287 kB / 0.5443 GB, free: 4.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009347/0.4915, allocations: 267.6 kB / 0.5445 GB, free: 4.219 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.761e-05/0.4916, allocations: 4 kB / 0.5445 GB, free: 4.215 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004087/0.492, allocations: 131.9 kB / 0.5446 GB, free: 4.086 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.4923, allocations: 8 kB / 0.5447 GB, free: 4.078 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.4933, allocations: 364.9 kB / 0.545 GB, free: 3.676 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.4936, allocations: 0.697 MB / 0.5457 GB, free: 2.949 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.4937, allocations: 51.39 kB / 0.5457 GB, free: 2.898 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4937, allocations: 0 / 0.5457 GB, free: 2.898 MB / 398.1 MB Notification: Performance of Templates: time 0.02227/0.516, allocations: 14.15 MB / 0.5595 GB, free: 4.77 MB / 414.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