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.001768/0.001768, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.0024/0.0024, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.495/1.495, allocations: 230.5 MB / 258.1 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.2353/0.2353, allocations: 46.96 MB / 361.6 MB, free: 3.938 MB / 286.1 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 0.0025/0.0025, allocations: 83.81 kB / 0.4974 GB, free: 7.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3243, allocations: 66.09 MB / 0.5619 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001677/0.326, allocations: 0.5187 MB / 0.5624 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008549/0.3268, allocations: 367 kB / 0.5628 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.074e-05/0.3269, allocations: 4 kB / 0.5628 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.685e-05/0.3269, allocations: 3.938 kB / 0.5628 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.091e-05/0.3269, allocations: 0 / 0.5628 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005262/0.3274, allocations: 154.7 kB / 0.5629 GB, free: 2.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.571e-05/0.3275, allocations: 27.98 kB / 0.5629 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.481e-05/0.3275, allocations: 0 / 0.5629 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.761e-05/0.3276, allocations: 15.92 kB / 0.563 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.658e-05/0.3276, allocations: 19.92 kB / 0.563 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.3276, allocations: 4 kB / 0.563 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002663/0.3279, allocations: 143.8 kB / 0.5631 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.3279, allocations: 7.938 kB / 0.5631 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.328, allocations: 19.92 kB / 0.5631 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.3282, allocations: 118.2 kB / 0.5633 GB, free: 2.613 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3282, allocations: 0 / 0.5633 GB, free: 2.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3282, allocations: 0 / 0.5633 GB, free: 2.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.3282, allocations: 0 / 0.5633 GB, free: 2.613 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.0004431/0.3286, allocations: 294 kB / 0.5635 GB, free: 2.297 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3287, allocations: 8.031 kB / 0.5635 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.3287, allocations: 12.83 kB / 0.5636 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.3288, allocations: 118.5 kB / 0.5637 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.3288, allocations: 8.375 kB / 0.5637 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.3289, allocations: 4.375 kB / 0.5637 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.329, allocations: 70.17 kB / 0.5637 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.329, allocations: 3.938 kB / 0.5638 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.329, allocations: 0 / 0.5638 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3291, allocations: 0 / 0.5638 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.039e-05/0.3291, allocations: 43.95 kB / 0.5638 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.3293, allocations: 117.3 kB / 0.5639 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.3295, allocations: 86.52 kB / 0.564 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.144e-05/0.3295, allocations: 32.8 kB / 0.564 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000251/0.3298, allocations: 23.95 kB / 0.564 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.3298, allocations: 38.56 kB / 0.5641 GB, free: 1.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.3298, allocations: 0 / 0.5641 GB, free: 1.66 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.1384/0.4682, allocations: 5.623 MB / 0.5696 GB, free: 12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.4683, allocations: 55.41 kB / 0.5696 GB, free: 11.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.07e-05/0.4683, allocations: 93.86 kB / 0.5697 GB, free: 11.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.4684, allocations: 29.7 kB / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.4684, allocations: 80.52 kB / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.748e-05/0.4685, allocations: 87.25 kB / 0.5699 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.4686, allocations: 57.67 kB / 0.57 GB, free: 11.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.4688, allocations: 326.8 kB / 0.5703 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/0.4692, allocations: 112 kB / 0.5704 GB, free: 11.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/0.4695, allocations: 111.9 kB / 0.5705 GB, free: 11.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.471, allocations: 329 kB / 0.5708 GB, free: 10.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.471, allocations: 0 / 0.5708 GB, free: 10.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001248/0.4723, allocations: 357.2 kB / 0.5711 GB, free: 10.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.4723, allocations: 4 kB / 0.5711 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4723, allocations: 4 kB / 0.5711 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.4723, allocations: 0 / 0.5711 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.4727, allocations: 87.84 kB / 0.5712 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.4727, allocations: 0 / 0.5712 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.4729, allocations: 23.97 kB / 0.5712 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/0.473, allocations: 15.98 kB / 0.5713 GB, free: 10.2 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.0001273/0.4731, allocations: 123.1 kB / 0.5714 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.4731, allocations: 7.953 kB / 0.5714 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/0.4746, allocations: 433.8 kB / 0.5718 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.4746, allocations: 8 kB / 0.5718 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4746, allocations: 0 / 0.5718 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.4747, allocations: 3.984 kB / 0.5718 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/0.477, allocations: 0.6938 MB / 0.5725 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.477, allocations: 8.031 kB / 0.5725 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.4773, allocations: 79.86 kB / 0.5726 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.4773, allocations: 0 / 0.5726 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/0.4773, allocations: 11.94 kB / 0.5726 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.4773, allocations: 11.92 kB / 0.5726 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4773, allocations: 0 / 0.5726 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.4785, allocations: 421.1 kB / 0.573 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/0.4786, allocations: 11.89 kB / 0.573 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.4786, allocations: 11.98 kB / 0.573 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.4788, allocations: 27.97 kB / 0.573 GB, free: 8.289 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.4788, allocations: 19.91 kB / 0.5731 GB, free: 8.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.4788, allocations: 12 kB / 0.5731 GB, free: 8.258 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.451e-05/0.4789, allocations: 79.28 kB / 0.5732 GB, free: 8.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4789, allocations: 0 / 0.5732 GB, free: 8.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001659/0.4805, allocations: 0.6284 MB / 0.5738 GB, free: 7.551 MB / 414.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.003403/0.484, allocations: 294.6 kB / 0.5741 GB, free: 7.254 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008918/0.4848, allocations: 255.6 kB / 0.5743 GB, free: 7.004 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4848, allocations: 0 / 0.5743 GB, free: 7.004 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003878/0.4852, allocations: 135.9 kB / 0.5744 GB, free: 6.871 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.4855, allocations: 8 kB / 0.5744 GB, free: 6.863 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.4865, allocations: 353.1 kB / 0.5748 GB, free: 6.477 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.619e-05/0.4866, allocations: 80.05 kB / 0.5748 GB, free: 6.375 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.4868, allocations: 51.39 kB / 0.5749 GB, free: 6.324 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4868, allocations: 0 / 0.5749 GB, free: 6.324 MB / 414.1 MB Notification: Performance of Templates: time 0.02423/0.511, allocations: 14.19 MB / 0.5888 GB, free: 8.152 MB / 430.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.629896512255073]