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.001586/0.001586, allocations: 117.2 kB / 18.45 MB, free: 4.703 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.001772/0.001772, allocations: 205.8 kB / 21.39 MB, free: 1.758 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.429/1.429, allocations: 227.4 MB / 251.6 MB, free: 64 kB / 190.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.2235/0.2235, allocations: 46.17 MB / 351.1 MB, free: 14.29 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.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 0.00224/0.00224, allocations: 85.78 kB / 490.2 MB, free: 27.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1134, allocations: 62.45 MB / 0.5397 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001521/0.115, allocations: 0.5387 MB / 0.5402 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007419/0.1157, allocations: 403.2 kB / 0.5406 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.915e-05/0.1157, allocations: 0 / 0.5406 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.734e-05/0.1158, allocations: 7.938 kB / 0.5406 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.487e-05/0.1158, allocations: 3.938 kB / 0.5406 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.1163, allocations: 135.5 kB / 0.5407 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.544e-05/0.1164, allocations: 31.91 kB / 0.5407 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.1164, allocations: 0 / 0.5407 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.449e-05/0.1165, allocations: 11.98 kB / 0.5407 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.7e-05/0.1165, allocations: 19.86 kB / 0.5408 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.1165, allocations: 0 / 0.5408 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002673/0.1168, allocations: 167.8 kB / 0.5409 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.1168, allocations: 8 kB / 0.5409 GB, free: 2.953 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.1169, allocations: 23.84 kB / 0.541 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.1171, allocations: 119.7 kB / 0.5411 GB, free: 2.812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1171, allocations: 0 / 0.5411 GB, free: 2.812 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1171, allocations: 0 / 0.5411 GB, free: 2.812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.1171, allocations: 0 / 0.5411 GB, free: 2.812 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004556/0.1176, allocations: 367.1 kB / 0.5414 GB, free: 2.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1176, allocations: 8.031 kB / 0.5414 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.746e-05/0.1177, allocations: 8.875 kB / 0.5414 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.1178, allocations: 180.2 kB / 0.5416 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.1178, allocations: 4.375 kB / 0.5416 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.1178, allocations: 4.375 kB / 0.5416 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.118, allocations: 50.25 kB / 0.5417 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.118, allocations: 11.92 kB / 0.5417 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.118, allocations: 0 / 0.5417 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.118, allocations: 3.984 kB / 0.5417 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.555e-05/0.1181, allocations: 27.92 kB / 0.5417 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002015/0.1183, allocations: 177.7 kB / 0.5419 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.1185, allocations: 62.48 kB / 0.5419 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.312e-05/0.1186, allocations: 21.14 kB / 0.542 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002638/0.1189, allocations: 109 kB / 0.5421 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.1189, allocations: 38.56 kB / 0.5421 GB, free: 1.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.1189, allocations: 4 kB / 0.5421 GB, free: 1.578 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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.1363/0.2552, allocations: 6.374 MB / 0.5483 GB, free: 11.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.2553, allocations: 55.41 kB / 0.5484 GB, free: 11.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.955e-05/0.2553, allocations: 93.86 kB / 0.5485 GB, free: 11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.344e-05/0.2554, allocations: 29.7 kB / 0.5485 GB, free: 10.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.2554, allocations: 88.12 kB / 0.5486 GB, free: 10.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.921e-05/0.2555, allocations: 67.42 kB / 0.5486 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.2557, allocations: 93.59 kB / 0.5487 GB, free: 10.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2559, allocations: 326.8 kB / 0.549 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005538/0.2564, allocations: 224.3 kB / 0.5493 GB, free: 10.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005513/0.257, allocations: 231.8 kB / 0.5495 GB, free: 9.934 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002079/0.2591, allocations: 0.558 MB / 0.55 GB, free: 9.375 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2591, allocations: 256 / 0.55 GB, free: 9.375 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001897/0.261, allocations: 0.6143 MB / 0.5506 GB, free: 8.754 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.261, allocations: 11.88 kB / 0.5506 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.2611, allocations: 8 kB / 0.5506 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2611, allocations: 0 / 0.5506 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006355/0.2617, allocations: 103.8 kB / 0.5507 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.2617, allocations: 0 / 0.5507 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004098/0.2621, allocations: 27.95 kB / 0.5508 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.677e-05/0.2622, allocations: 35.94 kB / 0.5508 GB, free: 8.57 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 (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.0001384/0.2624, allocations: 121.7 kB / 0.5509 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.229e-05/0.2624, allocations: 7.953 kB / 0.5509 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/0.2647, allocations: 0.7311 MB / 0.5516 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.2647, allocations: 4 kB / 0.5516 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.2647, allocations: 3.938 kB / 0.5516 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.2647, allocations: 3.984 kB / 0.5517 GB, free: 7.688 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003985/0.2687, allocations: 1.149 MB / 0.5528 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.2687, allocations: 4 kB / 0.5528 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005206/0.2693, allocations: 95.86 kB / 0.5529 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.2693, allocations: 4 kB / 0.5529 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.976e-05/0.2694, allocations: 23.95 kB / 0.5529 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.2694, allocations: 7.938 kB / 0.5529 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.2694, allocations: 192 / 0.5529 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.2711, allocations: 0.586 MB / 0.5535 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.2712, allocations: 89.06 kB / 0.5536 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.367e-05/0.2712, allocations: 4 kB / 0.5536 GB, free: 5.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003978/0.2716, allocations: 27.95 kB / 0.5536 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.2717, allocations: 19.98 kB / 0.5536 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.643e-05/0.2717, allocations: 31.95 kB / 0.5536 GB, free: 5.523 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.629e-05/0.2718, allocations: 83.28 kB / 0.5537 GB, free: 5.441 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2718, allocations: 0 / 0.5537 GB, free: 5.441 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001629/0.2734, allocations: 0.6557 MB / 0.5544 GB, free: 4.785 MB / 414.1 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.002933/0.2764, allocations: 298.5 kB / 0.5546 GB, free: 4.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.2776, allocations: 451.5 kB / 0.5551 GB, free: 4.039 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.2776, allocations: 0 / 0.5551 GB, free: 4.039 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005381/0.2781, allocations: 210.7 kB / 0.5553 GB, free: 3.836 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.2784, allocations: 10.81 kB / 0.5553 GB, free: 3.828 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.2807, allocations: 0.5213 MB / 0.5558 GB, free: 3.262 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.281, allocations: 0.6926 MB / 0.5565 GB, free: 2.539 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000425/0.2815, allocations: 128.9 kB / 0.5566 GB, free: 2.406 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/0.2818, allocations: 91.28 kB / 0.5567 GB, free: 2.316 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2818, allocations: 0 / 0.5567 GB, free: 2.316 MB / 414.1 MB Notification: Performance of Templates: time 0.2943/0.5761, allocations: 57.41 MB / 0.6127 GB, free: 63.94 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.765825722366571]