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.001277/0.001277, 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.001022/0.001022, allocations: 167.4 kB / 25.61 MB, free: 8.578 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.9304/0.9304, allocations: 177 MB / 205.9 MB, free: 4.453 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.1449/0.1449, allocations: 34.87 MB / 297.4 MB, free: 13.34 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.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 1.833e-06/1.833e-06, allocations: 0 / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.503e-05, allocations: 3.156 kB / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001061/0.001086, allocations: 0.5413 MB / 380.5 MB, free: 22.24 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005191/0.001605, allocations: 342.6 kB / 380.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.446e-05/0.001639, allocations: 0 / 380.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.02e-05/0.001659, allocations: 3.938 kB / 380.9 MB, free: 21.9 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 3.537e-05/0.001695, allocations: 0 / 380.9 MB, free: 21.9 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.002061, allocations: 103.5 kB / 381 MB, free: 21.8 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.442e-05/0.002115, allocations: 31.91 kB / 381 MB, free: 21.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.002164, allocations: 4 kB / 381 MB, free: 21.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.332e-05/0.002197, allocations: 19.98 kB / 381 MB, free: 21.75 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.522e-05/0.002252, allocations: 15.91 kB / 381 MB, free: 21.73 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.002269, allocations: 4 kB / 381 MB, free: 21.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.002433, allocations: 103.9 kB / 381.1 MB, free: 21.62 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.00245, allocations: 11.98 kB / 381.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.763e-05/0.002467, allocations: 7.938 kB / 381.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.002615, allocations: 111.7 kB / 381.3 MB, free: 21.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.002617, allocations: 0 / 381.3 MB, free: 21.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.3e-07/0.002618, allocations: 4 kB / 381.3 MB, free: 21.49 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.002622, allocations: 0 / 381.3 MB, free: 21.49 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003346/0.002956, allocations: 396.3 kB / 381.7 MB, free: 21.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.003, allocations: 8.031 kB / 381.7 MB, free: 21.06 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/0.003035, allocations: 12.89 kB / 381.7 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.171e-05/0.003116, allocations: 116.5 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.00313, allocations: 384 / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.00315, allocations: 8.359 kB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.752e-05/0.003228, allocations: 42.25 kB / 381.8 MB, free: 20.85 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.00324, allocations: 8.125 kB / 381.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.003247, allocations: 4.375 kB / 381.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.003253, allocations: 384 / 381.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.191e-05/0.003285, allocations: 31.84 kB / 381.9 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001172/0.003402, allocations: 109.2 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.003553, allocations: 51.05 kB / 382 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.48e-05/0.003578, allocations: 27.67 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/0.003729, allocations: 32.23 kB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.003749, allocations: 37.33 kB / 382.1 MB, free: 20.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.00375, allocations: 0 / 382.1 MB, free: 20.5 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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.01788/0.02163, allocations: 2.326 MB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.02166, allocations: 51.41 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.375e-05/0.02171, allocations: 173.8 kB / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.02173, allocations: 25.7 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.972e-05/0.02175, allocations: 126.9 kB / 384.8 MB, free: 17.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.301e-05/0.02181, allocations: 67.42 kB / 384.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.686e-05/0.02188, allocations: 71.31 kB / 385 MB, free: 17.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.887e-05/0.02193, allocations: 0.4922 MB / 385.5 MB, free: 17.08 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.835e-05/0.02203, allocations: 119.9 kB / 385.6 MB, free: 16.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.608e-05/0.02213, allocations: 125.4 kB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.02246, allocations: 302 kB / 386 MB, free: 16.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.02246, allocations: 256 / 386 MB, free: 16.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003625/0.02282, allocations: 361.5 kB / 386.4 MB, free: 16.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.02284, allocations: 11.94 kB / 386.4 MB, free: 16.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.02284, allocations: 7.938 kB / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.02285, allocations: 0 / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.02304, allocations: 71.94 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.02304, allocations: 0 / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.828e-05/0.02313, allocations: 19.98 kB / 386.5 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.02315, allocations: 15.98 kB / 386.5 MB, free: 16.06 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 (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 7.58e-05/0.02323, allocations: 164.5 kB / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.02326, allocations: 19.89 kB / 386.7 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004865/0.02375, allocations: 441.8 kB / 387.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.02375, allocations: 4 kB / 387.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.02376, allocations: 0 / 387.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.02376, allocations: 4 kB / 387.1 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008755/0.02464, allocations: 0.7509 MB / 387.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.02464, allocations: 4.031 kB / 387.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.02477, allocations: 67.89 kB / 387.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.02477, allocations: 4 kB / 387.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.02479, allocations: 19.98 kB / 387.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.02479, allocations: 0 / 387.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.02479, allocations: 4 kB / 387.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.02511, allocations: 451.9 kB / 388.4 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.013e-05/0.02512, allocations: 11.94 kB / 388.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.02514, allocations: 12 kB / 388.4 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.104e-05/0.02524, allocations: 15.98 kB / 388.4 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.052e-05/0.02526, allocations: 27.84 kB / 388.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.02527, allocations: 15.98 kB / 388.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.829e-05/0.02529, allocations: 131.1 kB / 388.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02529, allocations: 0 / 388.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005774/0.02587, allocations: 319.6 kB / 388.9 MB, free: 13.51 MB / 314.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.0009136/0.02678, allocations: 250.8 kB / 389.2 MB, free: 13.26 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002529/0.02703, allocations: 259.4 kB / 389.4 MB, free: 13 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.02704, allocations: 0 / 389.4 MB, free: 13 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.318e-05/0.02713, allocations: 113.9 kB / 389.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.02733, allocations: 27.98 kB / 389.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005446/0.02787, allocations: 404.6 kB / 389.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.012e-05/0.0279, allocations: 67.58 kB / 390 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001665/0.02807, allocations: 92.97 kB / 390.1 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.02823, allocations: 118.1 kB / 390.2 MB, free: 12.11 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02823, allocations: 0 / 390.2 MB, free: 12.11 MB / 314.7 MB Notification: Performance of Templates: time 0.01694/0.04517, allocations: 19.72 MB / 409.9 MB, free: 8.457 MB / 330.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.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.282621924765408]