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.001633/0.001633, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.00174/0.00174, allocations: 156.5 kB / 24.55 MB, free: 20 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.9666/0.9666, 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.2493/0.2493, allocations: 34.86 MB / 296.3 MB, free: 500 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.763e-06/1.763e-06, allocations: 0 / 378.7 MB, free: 2.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.823e-05/3e-05, allocations: 3.719 kB / 378.7 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001794/0.001824, allocations: 0.54 MB / 379.3 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006654/0.002489, allocations: 378.8 kB / 379.7 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.061e-05/0.00252, allocations: 0 / 379.7 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.187e-05/0.002542, allocations: 3.938 kB / 379.7 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.65e-05/0.002578, allocations: 3.938 kB / 379.7 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.00304, allocations: 143.5 kB / 379.8 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.967e-05/0.0031, allocations: 23.92 kB / 379.8 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.00314, allocations: 0 / 379.8 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003054/0.006194, allocations: 19.92 kB / 379.8 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.538e-05/0.006249, allocations: 15.97 kB / 379.9 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.006265, allocations: 4 kB / 379.9 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.006498, allocations: 135.8 kB / 380 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.006514, allocations: 7.922 kB / 380 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.006536, allocations: 11.98 kB / 380 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.006747, allocations: 155.5 kB / 380.2 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.006749, allocations: 0 / 380.2 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.006751, allocations: 4 kB / 380.2 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.006755, allocations: 4 kB / 380.2 MB, free: 0.6523 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.000376/0.007131, allocations: 384.3 kB / 380.6 MB, free: 248 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.00717, allocations: 12.03 kB / 380.6 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.007214, allocations: 12.89 kB / 380.6 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.392e-05/0.007307, allocations: 116.6 kB / 380.7 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.007319, allocations: 384 / 380.7 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.00735, allocations: 8.328 kB / 380.7 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.007461, allocations: 62.11 kB / 380.8 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.007471, allocations: 192 / 380.8 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.007482, allocations: 4.375 kB / 380.8 MB, free: 0 / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/0.007508, allocations: 400 / 380.8 MB, free: 16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.152e-05/0.00756, allocations: 23.92 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.007719, allocations: 120.6 kB / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.007924, allocations: 67.06 kB / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.144e-05/0.007966, allocations: 23.67 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002047/0.008171, allocations: 27.97 kB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.008195, allocations: 37.38 kB / 381.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.008197, allocations: 0 / 381.1 MB, free: 15.64 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.07968/0.08788, allocations: 6.12 MB / 387.2 MB, free: 9.477 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.08792, allocations: 59.39 kB / 387.2 MB, free: 9.406 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.113e-05/0.088, allocations: 165.9 kB / 387.4 MB, free: 9.227 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.08803, allocations: 29.7 kB / 387.4 MB, free: 9.191 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.08807, allocations: 126.9 kB / 387.6 MB, free: 9.062 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.648e-05/0.08813, allocations: 67.42 kB / 387.6 MB, free: 8.996 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.08826, allocations: 99.23 kB / 387.7 MB, free: 8.891 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.08837, allocations: 0.4884 MB / 388.2 MB, free: 8.391 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.08861, allocations: 211.9 kB / 388.4 MB, free: 8.184 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.08885, allocations: 223.9 kB / 388.6 MB, free: 7.965 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008996/0.08974, allocations: 0.5065 MB / 389.1 MB, free: 7.457 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.08975, allocations: 0 / 389.1 MB, free: 7.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008439/0.09059, allocations: 0.5754 MB / 389.7 MB, free: 6.875 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.09061, allocations: 8 kB / 389.7 MB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.09062, allocations: 0 / 389.7 MB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.09064, allocations: 0 / 389.7 MB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.09095, allocations: 103.8 kB / 389.8 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.09095, allocations: 4 kB / 389.8 MB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.09113, allocations: 27.97 kB / 389.9 MB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.09116, allocations: 31.94 kB / 389.9 MB, free: 6.703 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.0001076/0.09127, allocations: 156.6 kB / 390 MB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.368e-05/0.09134, allocations: 19.89 kB / 390.1 MB, free: 6.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.09234, allocations: 0.6851 MB / 390.7 MB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.09235, allocations: 11.94 kB / 390.8 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.09235, allocations: 0 / 390.8 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.09236, allocations: 0 / 390.8 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.09433, allocations: 1.041 MB / 391.8 MB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.09433, allocations: 0 / 391.8 MB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.09459, allocations: 95.81 kB / 391.9 MB, free: 4.617 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.09459, allocations: 4 kB / 391.9 MB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/0.09463, allocations: 32.14 kB / 391.9 MB, free: 4.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.09463, allocations: 4 kB / 391.9 MB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.09463, allocations: 3.938 kB / 391.9 MB, free: 4.574 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008115/0.09545, allocations: 0.591 MB / 392.5 MB, free: 3.941 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.106e-05/0.09546, allocations: 7.953 kB / 392.5 MB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/0.09549, allocations: 12 kB / 392.5 MB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.09568, allocations: 27.97 kB / 392.6 MB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.48e-05/0.0957, allocations: 15.92 kB / 392.6 MB, free: 3.879 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.37e-05/0.09573, allocations: 27.95 kB / 392.6 MB, free: 3.852 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.935e-05/0.09577, allocations: 131.2 kB / 392.7 MB, free: 3.723 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09577, allocations: 0 / 392.7 MB, free: 3.723 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001338/0.09711, allocations: 0.6402 MB / 393.4 MB, free: 3.082 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.002686/0.0998, allocations: 330.5 kB / 393.7 MB, free: 2.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005628/0.1004, allocations: 427.4 kB / 394.1 MB, free: 2.328 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1004, allocations: 0 / 394.1 MB, free: 2.328 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002227/0.1006, allocations: 195.4 kB / 394.3 MB, free: 2.133 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.1008, allocations: 52.31 kB / 394.4 MB, free: 2.082 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.102, allocations: 0.508 MB / 394.9 MB, free: 1.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.229e-05/0.102, allocations: 59.59 kB / 394.9 MB, free: 1.438 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002565/0.1023, allocations: 129 kB / 395.1 MB, free: 1.309 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/0.1025, allocations: 96.28 kB / 395.1 MB, free: 1.215 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1025, allocations: 0 / 395.1 MB, free: 1.215 MB / 362.7 MB Notification: Performance of Templates: time 0.3102/0.4127, allocations: 59.58 MB / 454.7 MB, free: 83.01 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.870856922119856]