Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.0009998/0.0009998, allocations: 75.69 kB / 21.7 MB, free: 2.848 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.0009553/0.0009553, allocations: 163.9 kB / 24.99 MB, free: 9.324 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.9777/0.9777, allocations: 177 MB / 205.2 MB, free: 5.238 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.2985/0.2985, allocations: 34.86 MB / 296.6 MB, free: 424 kB / 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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 378.7 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.094e-05/3.269e-05, allocations: 2.875 kB / 378.7 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001287/0.00132, allocations: 0.5294 MB / 379.3 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006468/0.001967, allocations: 386.8 kB / 379.7 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.915e-05/0.002006, allocations: 0 / 379.7 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.077e-05/0.002027, allocations: 0 / 379.7 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.42e-05/0.002071, allocations: 7.875 kB / 379.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005339/0.002605, allocations: 135.5 kB / 379.8 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.634e-05/0.002671, allocations: 27.91 kB / 379.8 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.002713, allocations: 0 / 379.8 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.414e-05/0.002757, allocations: 19.92 kB / 379.8 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.565e-05/0.002813, allocations: 11.98 kB / 379.9 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.002828, allocations: 4 kB / 379.9 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.00305, allocations: 139.8 kB / 380 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.003066, allocations: 3.938 kB / 380 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.478e-05/0.003091, allocations: 11.97 kB / 380 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.003287, allocations: 147.5 kB / 380.2 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.003289, allocations: 0 / 380.2 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.003291, allocations: 0 / 380.2 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.003295, allocations: 0 / 380.2 MB, free: 0.9766 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003948/0.00369, allocations: 392.3 kB / 380.5 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.003733, allocations: 12.03 kB / 380.5 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.003779, allocations: 12.89 kB / 380.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.003879, allocations: 120.5 kB / 380.7 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.003895, allocations: 4.312 kB / 380.7 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.003921, allocations: 8.328 kB / 380.7 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.004022, allocations: 46.25 kB / 380.7 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.004033, allocations: 4.188 kB / 380.7 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.004043, allocations: 384 / 380.7 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.004055, allocations: 8.109 kB / 380.7 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.206e-05/0.004097, allocations: 15.98 kB / 380.8 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001472/0.004244, allocations: 132.6 kB / 380.9 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.004429, allocations: 63.03 kB / 381 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.777e-05/0.004467, allocations: 23.69 kB / 381 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.00465, allocations: 31.95 kB / 381 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.00469, allocations: 33.39 kB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.004692, allocations: 0 / 381 MB, free: 15.96 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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.0602/0.06489, allocations: 6.13 MB / 387.2 MB, free: 9.785 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.06493, allocations: 51.41 kB / 387.2 MB, free: 9.723 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.842e-05/0.06502, allocations: 165.9 kB / 387.4 MB, free: 9.543 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.06506, allocations: 29.7 kB / 387.4 MB, free: 9.508 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.0651, allocations: 130.9 kB / 387.5 MB, free: 9.375 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.353e-05/0.06517, allocations: 63.44 kB / 387.6 MB, free: 9.312 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.06529, allocations: 95.25 kB / 387.7 MB, free: 9.211 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.06541, allocations: 0.4884 MB / 388.2 MB, free: 8.711 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/0.06565, allocations: 219.8 kB / 388.4 MB, free: 8.496 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.06589, allocations: 215.9 kB / 388.6 MB, free: 8.285 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009524/0.06684, allocations: 0.5103 MB / 389.1 MB, free: 7.773 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.06684, allocations: 0 / 389.1 MB, free: 7.773 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008752/0.06772, allocations: 0.5715 MB / 389.7 MB, free: 7.195 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.06774, allocations: 8 kB / 389.7 MB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.06774, allocations: 4 kB / 389.7 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.06776, allocations: 0 / 389.7 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005716/0.06833, allocations: 104 kB / 389.8 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.06834, allocations: 0 / 389.8 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.06852, allocations: 27.97 kB / 389.8 MB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.06856, allocations: 35.94 kB / 389.9 MB, free: 7.02 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 (19): * Single equations (assignments): 19 * 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.0001172/0.06868, allocations: 156.6 kB / 390 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-05/0.06874, allocations: 27.83 kB / 390 MB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.0698, allocations: 0.6812 MB / 390.7 MB, free: 6.145 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.06981, allocations: 3.984 kB / 390.7 MB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.06981, allocations: 4 kB / 390.7 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.06981, allocations: 0 / 390.7 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.07179, allocations: 1.045 MB / 391.8 MB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.07179, allocations: 0 / 391.8 MB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.07204, allocations: 99.8 kB / 391.9 MB, free: 4.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.07205, allocations: 4 kB / 391.9 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.416e-05/0.07209, allocations: 27.95 kB / 391.9 MB, free: 4.891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.0721, allocations: 7.938 kB / 391.9 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.0721, allocations: 0 / 391.9 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008158/0.07292, allocations: 0.5911 MB / 392.5 MB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.101e-05/0.07294, allocations: 15.92 kB / 392.5 MB, free: 4.234 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.07298, allocations: 8 kB / 392.5 MB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.07315, allocations: 19.92 kB / 392.5 MB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.07318, allocations: 19.97 kB / 392.6 MB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.07321, allocations: 31.95 kB / 392.6 MB, free: 4.156 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.152e-05/0.07325, allocations: 131.1 kB / 392.7 MB, free: 4.027 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07325, allocations: 0 / 392.7 MB, free: 4.027 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001452/0.0747, allocations: 0.6441 MB / 393.4 MB, free: 3.383 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.002294/0.077, allocations: 318.5 kB / 393.7 MB, free: 3.062 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005753/0.07757, allocations: 439.3 kB / 394.1 MB, free: 2.629 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.07758, allocations: 0 / 394.1 MB, free: 2.629 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.07779, allocations: 187.5 kB / 394.3 MB, free: 2.441 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.07802, allocations: 55.94 kB / 394.3 MB, free: 2.387 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.07915, allocations: 0.5045 MB / 394.9 MB, free: 1.828 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.019e-05/0.07919, allocations: 67.52 kB / 394.9 MB, free: 1.738 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002677/0.07946, allocations: 133.2 kB / 395 MB, free: 1.605 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/0.07966, allocations: 88.34 kB / 395.1 MB, free: 1.52 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.07967, allocations: 0 / 395.1 MB, free: 1.52 MB / 362.7 MB Notification: Performance of Templates: time 0.2976/0.3772, allocations: 59.59 MB / 454.7 MB, free: 83.75 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.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: 3.7857765040826052]