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.001832/0.001832, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002397/0.002397, allocations: 160.9 kB / 24.27 MB, free: 172 kB / 18.57 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.501/1.501, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 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.3483/0.3483, allocations: 34.25 MB / 295.2 MB, free: 0.6484 MB / 266.7 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 1.733e-06/1.733e-06, allocations: 0 / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.913e-05/3.087e-05, allocations: 6.25 kB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001644/0.001675, allocations: 0.5386 MB / 377.7 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008286/0.002504, allocations: 366.9 kB / 378.1 MB, free: 2 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.00253, allocations: 0 / 378.1 MB, free: 2 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.002547, allocations: 3.938 kB / 378.1 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.852e-05/0.002576, allocations: 0 / 378.1 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005187/0.003094, allocations: 151.4 kB / 378.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.151e-05/0.003156, allocations: 23.97 kB / 378.3 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.633e-05/0.003192, allocations: 4 kB / 378.3 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.072e-05/0.003233, allocations: 19.92 kB / 378.3 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.875e-05/0.003292, allocations: 15.97 kB / 378.3 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.003305, allocations: 0 / 378.3 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002723/0.003577, allocations: 139.8 kB / 378.4 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.003593, allocations: 11.94 kB / 378.5 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.003621, allocations: 11.97 kB / 378.5 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.003895, allocations: 155.5 kB / 378.6 MB, free: 1.473 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.003897, allocations: 0 / 378.6 MB, free: 1.473 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003898, allocations: 0 / 378.6 MB, free: 1.473 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.003901, allocations: 0 / 378.6 MB, free: 1.473 MB / 346.7 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.0004447/0.004346, allocations: 298 kB / 378.9 MB, free: 1.152 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.004383, allocations: 8.031 kB / 378.9 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.388e-05/0.004437, allocations: 12.94 kB / 378.9 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.00455, allocations: 101.8 kB / 379 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.00457, allocations: 8.375 kB / 379 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.903e-05/0.004609, allocations: 12.33 kB / 379 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.004756, allocations: 66.17 kB / 379.1 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.00477, allocations: 4.188 kB / 379.1 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.0048, allocations: 8.359 kB / 379.1 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.004807, allocations: 4.125 kB / 379.1 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.469e-05/0.004902, allocations: 39.97 kB / 379.2 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002096/0.005112, allocations: 125.2 kB / 379.3 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.005273, allocations: 82.48 kB / 379.4 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.363e-05/0.005336, allocations: 32.78 kB / 379.4 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002683/0.005605, allocations: 23.97 kB / 379.4 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.005644, allocations: 38.56 kB / 379.5 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.005646, allocations: 0 / 379.5 MB, free: 0.5156 MB / 346.7 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.1354/0.141, allocations: 5.624 MB / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.1411, allocations: 63.34 kB / 385.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.566e-05/0.1412, allocations: 89.86 kB / 385.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/0.1412, allocations: 29.7 kB / 385.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.1412, allocations: 80.52 kB / 385.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.1413, allocations: 83.33 kB / 385.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.1415, allocations: 57.67 kB / 385.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.1417, allocations: 318.8 kB / 385.8 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.1421, allocations: 112 kB / 385.9 MB, free: 9.988 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003737/0.1424, allocations: 115.8 kB / 386 MB, free: 9.875 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.144, allocations: 324.4 kB / 386.3 MB, free: 9.555 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.144, allocations: 7.938 kB / 386.3 MB, free: 9.547 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00136/0.1454, allocations: 365.8 kB / 386.7 MB, free: 9.184 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1454, allocations: 4 kB / 386.7 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1454, allocations: 0 / 386.7 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.1454, allocations: 4 kB / 386.7 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.1458, allocations: 79.91 kB / 386.8 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.1459, allocations: 8 kB / 386.8 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.1461, allocations: 19.97 kB / 386.8 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-05/0.1461, allocations: 19.98 kB / 386.8 MB, free: 9.051 MB / 362.7 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.0001431/0.1463, allocations: 125.7 kB / 387 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-05/0.1463, allocations: 11.95 kB / 387 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/0.1481, allocations: 429.9 kB / 387.4 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.1481, allocations: 7.984 kB / 387.4 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1481, allocations: 0 / 387.4 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1481, allocations: 3.984 kB / 387.4 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/0.1506, allocations: 0.7099 MB / 388.1 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.1506, allocations: 0 / 388.1 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/0.1509, allocations: 75.98 kB / 388.2 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.106e-06/0.1509, allocations: 4 kB / 388.2 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.1509, allocations: 8 kB / 388.2 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-06/0.1509, allocations: 7.984 kB / 388.2 MB, free: 7.621 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1509, allocations: 3.938 kB / 388.2 MB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.1522, allocations: 428.8 kB / 388.6 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.417e-05/0.1522, allocations: 7.953 kB / 388.6 MB, free: 7.168 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/0.1523, allocations: 11.98 kB / 388.6 MB, free: 7.156 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.1525, allocations: 27.91 kB / 388.7 MB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.1525, allocations: 15.97 kB / 388.7 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.1526, allocations: 12 kB / 388.7 MB, free: 7.102 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.449e-05/0.1526, allocations: 83.22 kB / 388.8 MB, free: 7.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1526, allocations: 0 / 388.8 MB, free: 7.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00181/0.1544, allocations: 0.6324 MB / 389.4 MB, free: 6.387 MB / 362.7 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.003226/0.1577, allocations: 318.5 kB / 389.7 MB, free: 6.062 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000876/0.1585, allocations: 247.8 kB / 390 MB, free: 5.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1585, allocations: 0 / 390 MB, free: 5.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003998/0.1589, allocations: 140.8 kB / 390.1 MB, free: 5.684 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.1592, allocations: 26.64 kB / 390.1 MB, free: 5.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.1603, allocations: 338.8 kB / 390.5 MB, free: 5.293 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.805e-05/0.1604, allocations: 79.83 kB / 390.5 MB, free: 5.195 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000277/0.1606, allocations: 77.14 kB / 390.6 MB, free: 5.117 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.1608, allocations: 44.45 kB / 390.7 MB, free: 5.074 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.1608, allocations: 0 / 390.7 MB, free: 5.074 MB / 362.7 MB Notification: Performance of Templates: time 0.2145/0.3753, allocations: 54.18 MB / 444.8 MB, free: 106.3 MB / 410.7 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.565761432982981]