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.001001/0.001001, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001144/0.001144, allocations: 161.6 kB / 25.61 MB, free: 8.582 MB / 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 0.929/0.929, allocations: 177 MB / 205.9 MB, free: 4.406 MB / 186.7 MB " [Timeout remaining time 179] 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.1572/0.1572, allocations: 34.88 MB / 297.4 MB, free: 13.4 MB / 282.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.362e-06/1.362e-06, allocations: 0 / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.634e-05/1.77e-05, allocations: 6.938 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0009602/0.0009779, allocations: 0.5357 MB / 380.5 MB, free: 22.22 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004531/0.001431, allocations: 382.7 kB / 380.9 MB, free: 21.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.741e-05/0.001458, allocations: 0 / 380.9 MB, free: 21.84 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.567e-05/0.001474, allocations: 3.938 kB / 380.9 MB, free: 21.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 2.179e-05/0.001496, allocations: 3.938 kB / 380.9 MB, free: 21.84 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.001848, allocations: 147.5 kB / 381 MB, free: 21.69 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.314e-05/0.001892, allocations: 19.98 kB / 381.1 MB, free: 21.67 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.689e-05/0.001928, allocations: 7.984 kB / 381.1 MB, free: 21.66 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.839e-05/0.001957, allocations: 19.97 kB / 381.1 MB, free: 21.64 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.486e-05/0.002002, allocations: 19.91 kB / 381.1 MB, free: 21.62 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.348e-06/0.002011, allocations: 0 / 381.1 MB, free: 21.62 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.002159, allocations: 135.8 kB / 381.2 MB, free: 21.49 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.002172, allocations: 15.91 kB / 381.3 MB, free: 21.48 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.271e-05/0.002185, allocations: 12 kB / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.002321, allocations: 151.5 kB / 381.4 MB, free: 21.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.002323, allocations: 0 / 381.4 MB, free: 21.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.002323, allocations: 0 / 381.4 MB, free: 21.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.002328, allocations: 0 / 381.4 MB, free: 21.32 MB / 314.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.0002254/0.002553, allocations: 400.2 kB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.002583, allocations: 8.031 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.002611, allocations: 8.938 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.842e-05/0.002669, allocations: 104.6 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.00268, allocations: 8.375 kB / 381.9 MB, free: 20.74 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.002695, allocations: 12.33 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.137e-05/0.002757, allocations: 66.16 kB / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.002766, allocations: 4.188 kB / 382 MB, free: 20.65 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.002772, allocations: 384 / 382 MB, free: 20.65 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.002778, allocations: 4.125 kB / 382 MB, free: 20.65 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.738e-05/0.002815, allocations: 31.95 kB / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.048e-05/0.002906, allocations: 117.1 kB / 382.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.65e-05/0.002972, allocations: 78.95 kB / 382.2 MB, free: 20.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.167e-05/0.002994, allocations: 27.67 kB / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.003135, allocations: 31.97 kB / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.302e-05/0.003148, allocations: 37.39 kB / 382.3 MB, free: 20.28 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 9.92e-07/0.003149, allocations: 0 / 382.3 MB, free: 20.28 MB / 314.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.06991/0.07306, allocations: 5.377 MB / 387.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.07309, allocations: 59.34 kB / 387.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.798e-05/0.07313, allocations: 153.9 kB / 387.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.07314, allocations: 29.7 kB / 388 MB, free: 14.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.357e-05/0.07316, allocations: 131.2 kB / 388.1 MB, free: 14.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.457e-05/0.07321, allocations: 79.31 kB / 388.2 MB, free: 14.37 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-05/0.07329, allocations: 59.33 kB / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.098e-05/0.07333, allocations: 0.4962 MB / 388.7 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.406e-05/0.0734, allocations: 47.95 kB / 388.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.576e-05/0.07348, allocations: 56.83 kB / 388.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000577/0.07405, allocations: 183.4 kB / 389 MB, free: 13.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.07405, allocations: 0 / 389 MB, free: 13.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004764/0.07453, allocations: 241.4 kB / 389.2 MB, free: 13.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.07455, allocations: 10.19 kB / 389.2 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.07455, allocations: 0 / 389.2 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.07456, allocations: 3.984 kB / 389.2 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.0748, allocations: 79.92 kB / 389.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.0748, allocations: 4 kB / 389.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.07491, allocations: 19.97 kB / 389.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.07493, allocations: 27.97 kB / 389.4 MB, free: 13.13 MB / 314.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 6.88e-05/0.075, allocations: 164.5 kB / 389.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.07504, allocations: 23.83 kB / 389.6 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005889/0.07563, allocations: 295.7 kB / 389.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.07563, allocations: 4 kB / 389.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.07564, allocations: 0 / 389.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.07564, allocations: 3.984 kB / 389.9 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.07664, allocations: 0.6335 MB / 390.5 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.07664, allocations: 0 / 390.5 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.07677, allocations: 79.98 kB / 390.6 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.07678, allocations: 8 kB / 390.6 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.07679, allocations: 11.98 kB / 390.6 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.07679, allocations: 4 kB / 390.6 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.07679, allocations: 0 / 390.6 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003391/0.07713, allocations: 384.5 kB / 391 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-06/0.07714, allocations: 7.953 kB / 391 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.07716, allocations: 4 kB / 391 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.378e-05/0.07724, allocations: 31.97 kB / 391 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/0.07726, allocations: 19.91 kB / 391 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.07727, allocations: 11.98 kB / 391 MB, free: 11.38 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.365e-05/0.07729, allocations: 123.2 kB / 391.2 MB, free: 11.26 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.07729, allocations: 0 / 391.2 MB, free: 11.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001088/0.07838, allocations: 0.6284 MB / 391.8 MB, free: 10.63 MB / 314.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.002117/0.08049, allocations: 322.5 kB / 392.1 MB, free: 10.31 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001915/0.08068, allocations: 147.6 kB / 392.3 MB, free: 10.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.08069, allocations: 0 / 392.3 MB, free: 10.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.715e-05/0.08075, allocations: 87.5 kB / 392.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.08093, allocations: 31.86 kB / 392.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003924/0.08132, allocations: 292.1 kB / 392.7 MB, free: 9.715 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.613e-05/0.08135, allocations: 67.84 kB / 392.7 MB, free: 9.629 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001543/0.0815, allocations: 77.14 kB / 392.8 MB, free: 9.551 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.08162, allocations: 110.2 kB / 392.9 MB, free: 9.441 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.08162, allocations: 0 / 392.9 MB, free: 9.441 MB / 314.7 MB Notification: Performance of Templates: time 0.05503/0.1367, allocations: 59.73 MB / 452.6 MB, free: 13.68 MB / 378.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.11532275704667]