Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.001584/0.001584, allocations: 118 kB / 18.45 MB, free: 4.484 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.001313/0.001313, allocations: 207.4 kB / 21.41 MB, free: 1.535 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.443/1.443, allocations: 227.4 MB / 251.7 MB, free: 300 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.2159/0.2159, allocations: 46.18 MB / 351.1 MB, free: 14.34 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.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 85.77 kB / 490.2 MB, free: 27.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1272, allocations: 62.45 MB / 0.5397 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001585/0.1288, allocations: 0.5319 MB / 0.5402 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007505/0.1296, allocations: 371.1 kB / 0.5405 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.1297, allocations: 4 kB / 0.5406 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.335e-05/0.1297, allocations: 0 / 0.5406 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.162e-05/0.1297, allocations: 3.938 kB / 0.5406 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004266/0.1302, allocations: 106.6 kB / 0.5407 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.559e-05/0.1302, allocations: 27.92 kB / 0.5407 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.87e-05/0.1303, allocations: 7.938 kB / 0.5407 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.439e-05/0.1303, allocations: 15.88 kB / 0.5407 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.607e-05/0.1304, allocations: 23.84 kB / 0.5407 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.1304, allocations: 0 / 0.5407 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002165/0.1306, allocations: 119.9 kB / 0.5408 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/0.1307, allocations: 15.97 kB / 0.5409 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.1307, allocations: 11.88 kB / 0.5409 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.1309, allocations: 87.75 kB / 0.541 GB, free: 2.969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1309, allocations: 0 / 0.541 GB, free: 2.969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1309, allocations: 0 / 0.541 GB, free: 2.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1309, allocations: 0 / 0.541 GB, free: 2.969 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.0004731/0.1314, allocations: 371.1 kB / 0.5413 GB, free: 2.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1314, allocations: 8.031 kB / 0.5413 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.1315, allocations: 8.938 kB / 0.5413 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.1316, allocations: 172.3 kB / 0.5415 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-06/0.1316, allocations: 384 / 0.5415 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.1317, allocations: 8.375 kB / 0.5415 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.1318, allocations: 58.17 kB / 0.5416 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.1318, allocations: 192 / 0.5416 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1318, allocations: 3.938 kB / 0.5416 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.1318, allocations: 4 kB / 0.5416 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.434e-05/0.1319, allocations: 23.98 kB / 0.5416 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002026/0.1321, allocations: 177.6 kB / 0.5418 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.1323, allocations: 62.58 kB / 0.5418 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.067e-05/0.1324, allocations: 28.8 kB / 0.5418 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000271/0.1327, allocations: 105.1 kB / 0.5419 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.1327, allocations: 30.56 kB / 0.542 GB, free: 1.746 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.1327, allocations: 4 kB / 0.542 GB, free: 1.742 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.04017/0.1729, allocations: 2.582 MB / 0.5445 GB, free: 15.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.173, allocations: 55.41 kB / 0.5445 GB, free: 15.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.39e-05/0.1731, allocations: 97.84 kB / 0.5446 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.1731, allocations: 29.7 kB / 0.5447 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.057e-05/0.1732, allocations: 87.89 kB / 0.5448 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.987e-05/0.1733, allocations: 59.44 kB / 0.5448 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.1734, allocations: 65.67 kB / 0.5449 GB, free: 14.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1736, allocations: 322.8 kB / 0.5452 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004169/0.174, allocations: 171.9 kB / 0.5453 GB, free: 14.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/0.1744, allocations: 181.5 kB / 0.5455 GB, free: 14.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.1755, allocations: 418.2 kB / 0.5459 GB, free: 13.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1755, allocations: 0 / 0.5459 GB, free: 13.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001102/0.1766, allocations: 464.8 kB / 0.5464 GB, free: 13.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1767, allocations: 10.44 kB / 0.5464 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1767, allocations: 0 / 0.5464 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.1767, allocations: 0 / 0.5464 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.1771, allocations: 75.88 kB / 0.5464 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.1771, allocations: 4.469 kB / 0.5464 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.1773, allocations: 15.97 kB / 0.5465 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.1774, allocations: 23.98 kB / 0.5465 GB, free: 13.04 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.0001355/0.1775, allocations: 117.8 kB / 0.5466 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.956e-05/0.1775, allocations: 7.953 kB / 0.5466 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.1789, allocations: 0.5448 MB / 0.5471 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1789, allocations: 4 kB / 0.5471 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.1789, allocations: 7.984 kB / 0.5471 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1789, allocations: 0 / 0.5471 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.1812, allocations: 0.8699 MB / 0.548 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1813, allocations: 4.188 kB / 0.548 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/0.1815, allocations: 67.89 kB / 0.5481 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.1816, allocations: 7.969 kB / 0.5481 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.1816, allocations: 16 kB / 0.5481 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.1816, allocations: 4 kB / 0.5481 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1816, allocations: 3.984 kB / 0.5481 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.1827, allocations: 476.2 kB / 0.5485 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.1828, allocations: 89.05 kB / 0.5486 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.1828, allocations: 4 kB / 0.5486 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.183, allocations: 15.98 kB / 0.5487 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.1831, allocations: 15.98 kB / 0.5487 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.1831, allocations: 15.98 kB / 0.5487 GB, free: 10.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.235e-05/0.1832, allocations: 91.27 kB / 0.5488 GB, free: 10.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1832, allocations: 0 / 0.5488 GB, free: 10.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009516/0.1841, allocations: 315.6 kB / 0.5491 GB, free: 10.24 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.001315/0.1855, allocations: 242.5 kB / 0.5493 GB, free: 9.992 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009235/0.1864, allocations: 347.7 kB / 0.5496 GB, free: 9.652 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1864, allocations: 0 / 0.5496 GB, free: 9.652 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003755/0.1868, allocations: 147.8 kB / 0.5498 GB, free: 9.508 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.1871, allocations: 12 kB / 0.5498 GB, free: 9.496 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.1884, allocations: 417.7 kB / 0.5502 GB, free: 9.047 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.1889, allocations: 0.6965 MB / 0.5509 GB, free: 8.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003109/0.1892, allocations: 92.88 kB / 0.551 GB, free: 8.227 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.1894, allocations: 47.41 kB / 0.551 GB, free: 8.18 MB / 414.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1894, allocations: 0 / 0.551 GB, free: 8.18 MB / 414.1 MB Notification: Performance of Templates: time 0.027/0.2164, allocations: 17.79 MB / 0.5684 GB, free: 6.391 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.025782581418753]