Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.000971/0.000971, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001021/0.001021, allocations: 168.6 kB / 24.84 MB, free: 9.297 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9399/0.9399, allocations: 158.6 MB / 186.7 MB, free: 2.762 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1714/0.1714, allocations: 32.37 MB / 271.5 MB, free: 14.52 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 348.9 MB, free: 9.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.633e-05/3.894e-05, allocations: 6.25 kB / 348.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.002304/0.002343, allocations: 0.5509 MB / 349.5 MB, free: 8.629 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008502/0.003193, allocations: 374.9 kB / 349.8 MB, free: 8.258 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.986e-05/0.003233, allocations: 0 / 349.8 MB, free: 8.258 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.143e-05/0.003255, allocations: 3.938 kB / 349.8 MB, free: 8.254 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.768e-05/0.003302, allocations: 3.938 kB / 349.8 MB, free: 8.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006057/0.003908, allocations: 135.5 kB / 350 MB, free: 8.117 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.903e-05/0.003977, allocations: 23.92 kB / 350 MB, free: 8.094 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.155e-05/0.004029, allocations: 7.984 kB / 350 MB, free: 8.086 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.136e-05/0.00407, allocations: 19.91 kB / 350 MB, free: 8.066 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.342e-05/0.004133, allocations: 19.98 kB / 350 MB, free: 8.047 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.004148, allocations: 0 / 350 MB, free: 8.047 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002438/0.004392, allocations: 135.8 kB / 350.2 MB, free: 7.914 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.004412, allocations: 11.92 kB / 350.2 MB, free: 7.902 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.919e-05/0.004431, allocations: 11.98 kB / 350.2 MB, free: 7.891 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.004676, allocations: 147.5 kB / 350.3 MB, free: 7.746 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.004681, allocations: 0 / 350.3 MB, free: 7.746 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.004683, allocations: 0 / 350.3 MB, free: 7.746 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.004688, allocations: 0 / 350.3 MB, free: 7.746 MB / 282.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.0003845/0.005073, allocations: 396.2 kB / 350.7 MB, free: 7.324 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.005114, allocations: 12.03 kB / 350.7 MB, free: 7.312 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.005156, allocations: 8.891 kB / 350.7 MB, free: 7.305 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.983e-05/0.005246, allocations: 112.6 kB / 350.8 MB, free: 7.168 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.005261, allocations: 384 / 350.8 MB, free: 7.168 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.005285, allocations: 8.375 kB / 350.9 MB, free: 7.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.017e-05/0.005375, allocations: 54.17 kB / 350.9 MB, free: 7.102 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.005388, allocations: 4.141 kB / 350.9 MB, free: 7.098 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.005396, allocations: 384 / 350.9 MB, free: 7.098 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.005403, allocations: 4.125 kB / 350.9 MB, free: 7.094 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.003e-05/0.005443, allocations: 15.98 kB / 350.9 MB, free: 7.078 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000141/0.005584, allocations: 109.2 kB / 351 MB, free: 6.945 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.00578, allocations: 63.08 kB / 351.1 MB, free: 6.871 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.245e-05/0.005813, allocations: 19.67 kB / 351.1 MB, free: 6.848 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001872/0.006, allocations: 31.97 kB / 351.2 MB, free: 6.816 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.006023, allocations: 41.38 kB / 351.2 MB, free: 6.766 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.844e-06/0.006025, allocations: 0 / 351.2 MB, free: 6.766 MB / 282.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.06511/0.07113, allocations: 5.999 MB / 357.2 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.07116, allocations: 55.39 kB / 357.2 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.309e-05/0.07121, allocations: 165.9 kB / 357.4 MB, free: 488 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.07124, allocations: 25.7 kB / 357.4 MB, free: 456 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.882e-05/0.07125, allocations: 130.9 kB / 357.6 MB, free: 320 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.283e-05/0.07132, allocations: 67.42 kB / 357.6 MB, free: 252 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.07142, allocations: 103.2 kB / 357.7 MB, free: 140 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.07156, allocations: 0.4884 MB / 358.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.07175, allocations: 175.9 kB / 358.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.07193, allocations: 190.9 kB / 358.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008257/0.07275, allocations: 451.5 kB / 359 MB, free: 14.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.07276, allocations: 3.938 kB / 359 MB, free: 14.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007728/0.07353, allocations: 0.5162 MB / 359.5 MB, free: 14.31 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.07355, allocations: 8 kB / 359.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.07355, allocations: 256 / 359.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.07356, allocations: 4 kB / 359.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.07388, allocations: 103.8 kB / 359.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.07389, allocations: 3.938 kB / 359.7 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.07407, allocations: 23.97 kB / 359.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/0.0741, allocations: 31.94 kB / 359.7 MB, free: 14.14 MB / 298.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.0001411/0.07425, allocations: 164.6 kB / 359.9 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.373e-05/0.07432, allocations: 19.89 kB / 359.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009478/0.07527, allocations: 0.6187 MB / 360.5 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.07527, allocations: 0 / 360.5 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-06/0.07527, allocations: 7.938 kB / 360.5 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.07528, allocations: 0 / 360.5 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.07706, allocations: 0.9869 MB / 361.5 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.07707, allocations: 0 / 361.5 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.07732, allocations: 95.86 kB / 361.6 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.07733, allocations: 3.938 kB / 361.6 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.07736, allocations: 31.95 kB / 361.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.07737, allocations: 4 kB / 361.6 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.07737, allocations: 0 / 361.6 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008077/0.07818, allocations: 0.5525 MB / 362.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.07819, allocations: 7.953 kB / 362.2 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.07823, allocations: 8 kB / 362.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.07841, allocations: 19.97 kB / 362.2 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/0.07844, allocations: 23.91 kB / 362.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.07847, allocations: 31.95 kB / 362.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.809e-05/0.07851, allocations: 127.2 kB / 362.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.07851, allocations: 0 / 362.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001471/0.07998, allocations: 0.648 MB / 363 MB, free: 10.67 MB / 298.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.002279/0.08226, allocations: 322.5 kB / 363.4 MB, free: 10.35 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004891/0.08275, allocations: 382.2 kB / 363.7 MB, free: 9.973 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.08275, allocations: 0 / 363.7 MB, free: 9.973 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.08293, allocations: 171.4 kB / 363.9 MB, free: 9.801 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.08318, allocations: 52.14 kB / 364 MB, free: 9.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.08428, allocations: 0.4887 MB / 364.4 MB, free: 9.207 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.682e-05/0.08433, allocations: 67.58 kB / 364.5 MB, free: 9.117 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000282/0.08462, allocations: 133 kB / 364.6 MB, free: 8.984 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/0.08492, allocations: 150.1 kB / 364.8 MB, free: 8.836 MB / 298.7 MB Notification: Performance of SimCode: time 1.292e-06/0.08492, allocations: 3.938 kB / 364.8 MB, free: 8.832 MB / 298.7 MB Notification: Performance of Templates: time 0.06366/0.1486, allocations: 64.3 MB / 429.1 MB, free: 8.344 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.554175829980522]