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.001186/0.001186, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.001244/0.001244, allocations: 156.5 kB / 24.55 MB, free: 16 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 0.945/0.945, allocations: 177 MB / 204.8 MB, free: 5.594 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.2811/0.2811, allocations: 34.87 MB / 296.3 MB, free: 0.5547 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.493e-06/1.493e-06, allocations: 0 / 378.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.134e-05, allocations: 6.953 kB / 378.8 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001201/0.001223, allocations: 0.5386 MB / 379.3 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003626/0.004848, allocations: 386.8 kB / 379.7 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.004875, allocations: 0 / 379.7 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.981e-05/0.004895, allocations: 3.938 kB / 379.7 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.236e-05/0.004917, allocations: 0 / 379.7 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/0.005337, allocations: 147.4 kB / 379.8 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.619e-05/0.005393, allocations: 23.98 kB / 379.8 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.35e-05/0.005427, allocations: 8 kB / 379.8 MB, free: 1.012 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.522e-05/0.005462, allocations: 19.91 kB / 379.9 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.984e-05/0.005512, allocations: 15.98 kB / 379.9 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.005525, allocations: 4 kB / 379.9 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.005728, allocations: 139.8 kB / 380 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.005744, allocations: 11.92 kB / 380 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.947e-05/0.005763, allocations: 8 kB / 380 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.005952, allocations: 151.5 kB / 380.2 MB, free: 0.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.005954, allocations: 0 / 380.2 MB, free: 0.668 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.005955, allocations: 4 kB / 380.2 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.005958, allocations: 0 / 380.2 MB, free: 0.6641 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.0003188/0.006277, allocations: 396.3 kB / 380.6 MB, free: 248 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.006311, allocations: 12.03 kB / 380.6 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.00635, allocations: 4.938 kB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.922e-05/0.006429, allocations: 112.6 kB / 380.7 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.006443, allocations: 4.375 kB / 380.7 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.006466, allocations: 8.328 kB / 380.7 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.88e-05/0.006565, allocations: 62.17 kB / 380.8 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.006576, allocations: 192 / 380.8 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.006587, allocations: 8.375 kB / 380.8 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.006595, allocations: 4.125 kB / 380.8 MB, free: 0 / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.117e-05/0.006656, allocations: 40 kB / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.006792, allocations: 136.5 kB / 381 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.006902, allocations: 86.95 kB / 381.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.745e-05/0.006939, allocations: 23.69 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/0.007115, allocations: 43.89 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.007134, allocations: 33.39 kB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.007135, allocations: 0 / 381.2 MB, free: 15.58 MB / 362.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.1037/0.1109, allocations: 5.403 MB / 386.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.1109, allocations: 55.41 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.732e-05/0.111, allocations: 157.9 kB / 386.8 MB, free: 9.895 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.111, allocations: 29.69 kB / 386.8 MB, free: 9.859 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.325e-05/0.111, allocations: 127.2 kB / 386.9 MB, free: 9.727 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.64e-05/0.1111, allocations: 79.34 kB / 387 MB, free: 9.648 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.455e-05/0.1112, allocations: 63.33 kB / 387.1 MB, free: 9.578 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1113, allocations: 0.4963 MB / 387.6 MB, free: 9.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.329e-05/0.1114, allocations: 55.97 kB / 387.6 MB, free: 9.016 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.531e-05/0.1115, allocations: 69.31 kB / 387.7 MB, free: 8.949 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004827/0.112, allocations: 217.9 kB / 387.9 MB, free: 8.734 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.112, allocations: 3.938 kB / 387.9 MB, free: 8.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004235/0.1124, allocations: 256.6 kB / 388.1 MB, free: 8.477 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1124, allocations: 6.812 kB / 388.1 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1124, allocations: 0 / 388.1 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1124, allocations: 7.938 kB / 388.2 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.1126, allocations: 83.91 kB / 388.2 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1126, allocations: 0 / 388.2 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.51e-05/0.1127, allocations: 27.97 kB / 388.3 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.1127, allocations: 11.98 kB / 388.3 MB, free: 8.344 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 9.7e-05/0.1128, allocations: 172.5 kB / 388.4 MB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.1129, allocations: 15.95 kB / 388.5 MB, free: 8.148 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005744/0.1135, allocations: 326 kB / 388.8 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.1135, allocations: 4 kB / 388.8 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1135, allocations: 0 / 388.8 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1135, allocations: 0 / 388.8 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009903/0.1145, allocations: 0.6719 MB / 389.5 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1145, allocations: 0 / 389.5 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.1146, allocations: 79.88 kB / 389.5 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.1146, allocations: 7.984 kB / 389.5 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.1146, allocations: 8 kB / 389.5 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.1146, allocations: 64 / 389.5 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1146, allocations: 7.938 kB / 389.6 MB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004512/0.1151, allocations: 390.9 kB / 389.9 MB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.433e-05/0.1151, allocations: 11.89 kB / 389.9 MB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.1151, allocations: 4 kB / 390 MB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.999e-05/0.1152, allocations: 31.91 kB / 390 MB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.1152, allocations: 15.97 kB / 390 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.1153, allocations: 11.98 kB / 390 MB, free: 6.516 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.27e-05/0.1153, allocations: 131.1 kB / 390.1 MB, free: 6.387 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1153, allocations: 0 / 390.1 MB, free: 6.387 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00123/0.1165, allocations: 0.6284 MB / 390.8 MB, free: 5.758 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.00231/0.1188, allocations: 322.5 kB / 391.1 MB, free: 5.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000276/0.1191, allocations: 171 kB / 391.3 MB, free: 5.262 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1191, allocations: 0 / 391.3 MB, free: 5.262 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.537e-05/0.1192, allocations: 91.52 kB / 391.3 MB, free: 5.168 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.1194, allocations: 31.97 kB / 391.4 MB, free: 5.137 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004856/0.1199, allocations: 302.3 kB / 391.7 MB, free: 4.801 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.074e-05/0.12, allocations: 67.84 kB / 391.7 MB, free: 4.715 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.1201, allocations: 81.14 kB / 391.8 MB, free: 4.633 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.1202, allocations: 48.45 kB / 391.9 MB, free: 4.586 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/0.1202, allocations: 0 / 391.9 MB, free: 4.586 MB / 362.7 MB Notification: Performance of Templates: time 0.1836/0.3039, allocations: 59.62 MB / 451.5 MB, free: 104.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=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: 7.351337494328618]