Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9096/0.9096, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2266/0.2266, allocations: 32.8 MB / 294.3 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.346e-05/1.447e-05, allocations: 5.547 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0009222/0.0009367, allocations: 0.54 MB / 376.6 MB, free: 4.102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004985/0.001435, allocations: 378.8 kB / 376.9 MB, free: 3.727 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.439e-05/0.00146, allocations: 0 / 376.9 MB, free: 3.727 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.615e-05/0.001476, allocations: 4 kB / 376.9 MB, free: 3.723 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.89e-05/0.001505, allocations: 3.938 kB / 376.9 MB, free: 3.719 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.001875, allocations: 139.4 kB / 377.1 MB, free: 3.582 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.23e-05/0.001927, allocations: 27.91 kB / 377.1 MB, free: 3.555 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.012e-05/0.001957, allocations: 3.984 kB / 377.1 MB, free: 3.551 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.961e-05/0.001987, allocations: 23.92 kB / 377.1 MB, free: 3.527 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.089e-05/0.002028, allocations: 11.97 kB / 377.1 MB, free: 3.516 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.00204, allocations: 4 kB / 377.1 MB, free: 3.512 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.002207, allocations: 131.9 kB / 377.3 MB, free: 3.383 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.002221, allocations: 11.91 kB / 377.3 MB, free: 3.371 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.568e-05/0.002236, allocations: 4 kB / 377.3 MB, free: 3.367 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.0024, allocations: 155.5 kB / 377.4 MB, free: 3.215 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.002402, allocations: 0 / 377.4 MB, free: 3.215 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.002403, allocations: 0 / 377.4 MB, free: 3.215 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.002407, allocations: 0 / 377.4 MB, free: 3.215 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.0003149/0.002722, allocations: 392.3 kB / 377.8 MB, free: 2.797 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.002755, allocations: 16.03 kB / 377.8 MB, free: 2.781 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.002789, allocations: 8.891 kB / 377.8 MB, free: 2.773 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.669e-05/0.002856, allocations: 116.6 kB / 378 MB, free: 2.633 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.002864, allocations: 4.375 kB / 378 MB, free: 2.629 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.002885, allocations: 12.27 kB / 378 MB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.877e-05/0.002964, allocations: 50.23 kB / 378 MB, free: 2.562 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.002973, allocations: 4.188 kB / 378 MB, free: 2.559 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.002981, allocations: 384 / 378 MB, free: 2.559 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.002986, allocations: 4.125 kB / 378 MB, free: 2.555 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.627e-05/0.003022, allocations: 15.98 kB / 378 MB, free: 2.539 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001139/0.003136, allocations: 136.6 kB / 378.2 MB, free: 2.371 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.00328, allocations: 55.05 kB / 378.2 MB, free: 2.305 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.245e-05/0.003313, allocations: 27.67 kB / 378.3 MB, free: 2.273 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.003465, allocations: 31.95 kB / 378.3 MB, free: 2.242 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.003483, allocations: 37.38 kB / 378.3 MB, free: 2.195 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.003484, allocations: 0 / 378.3 MB, free: 2.195 MB / 346.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.0601/0.06358, allocations: 6.116 MB / 384.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.06361, allocations: 51.41 kB / 384.5 MB, free: 11.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.292e-05/0.06368, allocations: 165.9 kB / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.06371, allocations: 33.7 kB / 384.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.06374, allocations: 130.9 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.084e-05/0.06381, allocations: 67.42 kB / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.06393, allocations: 95.25 kB / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.228e-05/0.06402, allocations: 0.4884 MB / 385.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.06424, allocations: 215.9 kB / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.06446, allocations: 215.8 kB / 385.9 MB, free: 10.53 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000887/0.06535, allocations: 0.5098 MB / 386.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.06535, allocations: 0 / 386.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008187/0.06617, allocations: 0.5739 MB / 387 MB, free: 9.441 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.06618, allocations: 12 kB / 387 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.06619, allocations: 0 / 387 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.0662, allocations: 0 / 387 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002991/0.0665, allocations: 103.8 kB / 387.1 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.06651, allocations: 0 / 387.1 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.06668, allocations: 23.97 kB / 387.1 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/0.06672, allocations: 35.94 kB / 387.1 MB, free: 9.27 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.0001026/0.06682, allocations: 160.6 kB / 387.3 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.091e-05/0.06688, allocations: 19.89 kB / 387.3 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009508/0.06783, allocations: 0.6851 MB / 388 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.06783, allocations: 0 / 388 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.06784, allocations: 4 kB / 388 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.06784, allocations: 3.938 kB / 388 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.0696, allocations: 1.041 MB / 389.1 MB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.0696, allocations: 0 / 389.1 MB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.06983, allocations: 95.81 kB / 389.1 MB, free: 7.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.06983, allocations: 4 kB / 389.2 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.06986, allocations: 27.95 kB / 389.2 MB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.06987, allocations: 11.92 kB / 389.2 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.06987, allocations: 256 / 389.2 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007305/0.0706, allocations: 0.5877 MB / 389.8 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.04e-05/0.07061, allocations: 7.953 kB / 389.8 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.07065, allocations: 12 kB / 389.8 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.07081, allocations: 23.91 kB / 389.8 MB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.07083, allocations: 15.98 kB / 389.8 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/0.07086, allocations: 31.95 kB / 389.9 MB, free: 6.414 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.221e-05/0.0709, allocations: 131.2 kB / 390 MB, free: 6.285 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0709, allocations: 3.938 kB / 390 MB, free: 6.281 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001069/0.07197, allocations: 0.6441 MB / 390.6 MB, free: 5.637 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.002149/0.07411, allocations: 318.5 kB / 391 MB, free: 5.316 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004909/0.07461, allocations: 436.9 kB / 391.4 MB, free: 4.887 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.07461, allocations: 3.938 kB / 391.4 MB, free: 4.883 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.0748, allocations: 183.5 kB / 391.6 MB, free: 4.699 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.07502, allocations: 58.34 kB / 391.6 MB, free: 4.645 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.07604, allocations: 0.5122 MB / 392.1 MB, free: 4.078 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.149e-05/0.07608, allocations: 67.58 kB / 392.2 MB, free: 3.988 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002391/0.07632, allocations: 121 kB / 392.3 MB, free: 3.867 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/0.07654, allocations: 88.34 kB / 392.4 MB, free: 3.781 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.07654, allocations: 4 kB / 392.4 MB, free: 3.777 MB / 362.7 MB Notification: Performance of Templates: time 0.2471/0.3236, allocations: 64.18 MB / 456.6 MB, free: 82.77 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.540078692138195]