Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001677/0.001677, allocations: 110.5 kB / 21.18 MB, free: 0.7617 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.001496/0.001496, allocations: 215.8 kB / 24.48 MB, free: 4.051 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.472/1.472, allocations: 230.2 MB / 257.8 MB, free: 8.48 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2219/0.2219, allocations: 46.89 MB / 361.1 MB, free: 4.641 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002444/0.002444, allocations: 79.88 kB / 0.4968 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3491, allocations: 65.99 MB / 0.5612 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001658/0.3507, allocations: 0.5331 MB / 0.5617 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007801/0.3515, allocations: 418.7 kB / 0.5621 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.957e-05/0.3515, allocations: 0 / 0.5621 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.578e-05/0.3516, allocations: 3.938 kB / 0.5621 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.477e-05/0.3516, allocations: 0 / 0.5621 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.3521, allocations: 151.4 kB / 0.5623 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.195e-05/0.3521, allocations: 27.91 kB / 0.5623 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.3522, allocations: 11.94 kB / 0.5623 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.11e-05/0.3522, allocations: 15.92 kB / 0.5623 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.309e-05/0.3523, allocations: 19.92 kB / 0.5623 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.3523, allocations: 0 / 0.5623 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002679/0.3525, allocations: 155.8 kB / 0.5625 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.3526, allocations: 11.98 kB / 0.5625 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.3526, allocations: 23.86 kB / 0.5625 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.3528, allocations: 126.5 kB / 0.5626 GB, free: 3.523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.3528, allocations: 0 / 0.5626 GB, free: 3.523 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.3528, allocations: 4 kB / 0.5626 GB, free: 3.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3528, allocations: 3.938 kB / 0.5627 GB, free: 3.516 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.0005234/0.3533, allocations: 363.1 kB / 0.563 GB, free: 3.113 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.3534, allocations: 8.031 kB / 0.563 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.3534, allocations: 8.891 kB / 0.563 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.3536, allocations: 168.3 kB / 0.5632 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-06/0.3536, allocations: 8.375 kB / 0.5632 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.3536, allocations: 12.36 kB / 0.5632 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.3537, allocations: 62.23 kB / 0.5633 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.3538, allocations: 7.938 kB / 0.5633 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.3538, allocations: 4 kB / 0.5633 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3538, allocations: 0 / 0.5633 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.809e-05/0.3539, allocations: 47.89 kB / 0.5633 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002224/0.3541, allocations: 173.6 kB / 0.5635 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.3543, allocations: 86.48 kB / 0.5636 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.3543, allocations: 20.86 kB / 0.5636 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003004/0.3546, allocations: 105.1 kB / 0.5637 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.3546, allocations: 34.56 kB / 0.5637 GB, free: 2.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.3546, allocations: 0 / 0.5637 GB, free: 2.25 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.1321/0.4868, allocations: 5.619 MB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.4868, allocations: 59.27 kB / 0.5693 GB, free: 12.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.595e-05/0.4869, allocations: 89.86 kB / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.4869, allocations: 33.83 kB / 0.5694 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.42e-05/0.487, allocations: 84.52 kB / 0.5695 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.307e-05/0.4871, allocations: 83.27 kB / 0.5695 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.4872, allocations: 57.67 kB / 0.5696 GB, free: 12.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.4873, allocations: 322.8 kB / 0.5699 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/0.4877, allocations: 111.9 kB / 0.57 GB, free: 11.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.488, allocations: 111.9 kB / 0.5701 GB, free: 11.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/0.4895, allocations: 329 kB / 0.5704 GB, free: 11.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4895, allocations: 0 / 0.5704 GB, free: 11.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001246/0.4907, allocations: 361.2 kB / 0.5708 GB, free: 10.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.4908, allocations: 4 kB / 0.5708 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.4908, allocations: 0 / 0.5708 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.4908, allocations: 4 kB / 0.5708 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003922/0.4912, allocations: 75.91 kB / 0.5708 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.4912, allocations: 4 kB / 0.5709 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.4914, allocations: 27.97 kB / 0.5709 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.4914, allocations: 15.98 kB / 0.5709 GB, free: 10.8 MB / 414.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.0001242/0.4915, allocations: 121.7 kB / 0.571 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.4916, allocations: 15.94 kB / 0.571 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.493, allocations: 425.9 kB / 0.5714 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.493, allocations: 3.984 kB / 0.5714 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.493, allocations: 3.938 kB / 0.5714 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/0.4931, allocations: 89.06 kB / 0.5715 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.4931, allocations: 3.938 kB / 0.5715 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.4933, allocations: 23.97 kB / 0.5716 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.4933, allocations: 15.98 kB / 0.5716 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001447/0.4948, allocations: 476.9 kB / 0.572 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001297/0.4961, allocations: 0.5296 MB / 0.5725 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003756/0.4965, allocations: 139.7 kB / 0.5727 GB, free: 8.914 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.402e-05/0.4965, allocations: 79.28 kB / 0.5727 GB, free: 8.836 MB / 414.1 MB Notification: Performance of Backend: time 4.3e-07/0.4965, allocations: 0 / 0.5727 GB, free: 8.836 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003931/0.5004, allocations: 429.6 kB / 0.5732 GB, free: 8.406 MB / 414.1 MB Notification: Performance of SimCode: time 0.0005444/0.501, allocations: 0.6112 MB / 0.5738 GB, free: 7.746 MB / 414.1 MB Notification: Performance of Templates: time 0.07939/0.5804, allocations: 54.4 MB / 0.6269 GB, free: 1.273 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.666275326162577]