Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.00132/0.00132, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001703/0.003023, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001085/0.001085, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001372/0.002457, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.006/1.006, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1172/1.123, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.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.335/0.335, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03514/0.3701, allocations: 12.53 MB / 289.3 MB, free: 8.668 MB / 282.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.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 290.6 MB, free: 7.629 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.357e-05/3.586e-05, allocations: 4.203 kB / 290.6 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003055/0.003091, allocations: 1.689 MB / 292.3 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000922/0.004013, allocations: 0.5655 MB / 292.9 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.166e-05/0.004085, allocations: 0 / 292.9 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003073/0.004392, allocations: 144.7 kB / 293 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003345/0.004726, allocations: 143.3 kB / 293.2 MB, free: 5.684 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003235/0.00505, allocations: 115.1 kB / 293.3 MB, free: 5.609 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.005248, allocations: 89.97 kB / 293.4 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.005352, allocations: 19.97 kB / 293.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.005494, allocations: 79.8 kB / 293.5 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.005618, allocations: 67.86 kB / 293.5 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.005635, allocations: 4 kB / 293.5 MB, free: 5.363 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.005735, allocations: 43.92 kB / 293.6 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.988e-05/0.005785, allocations: 27.94 kB / 293.6 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.005815, allocations: 15.88 kB / 293.6 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.00598, allocations: 99.59 kB / 293.7 MB, free: 5.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.761e-05/0.005997, allocations: 0 / 293.7 MB, free: 5.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.005998, allocations: 0 / 293.7 MB, free: 5.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.791e-05/0.006016, allocations: 0 / 293.7 MB, free: 5.18 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004938/0.00651, allocations: 360.3 kB / 294.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.00655, allocations: 8.031 kB / 294.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.00659, allocations: 12.92 kB / 294.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.006757, allocations: 149.5 kB / 294.2 MB, free: 4.613 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.006768, allocations: 4.375 kB / 294.2 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.006787, allocations: 4.375 kB / 294.2 MB, free: 4.605 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.006898, allocations: 58.94 kB / 294.3 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.00691, allocations: 4.188 kB / 294.3 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.006919, allocations: 4.125 kB / 294.3 MB, free: 4.531 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.006926, allocations: 0 / 294.3 MB, free: 4.531 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.337e-05/0.006959, allocations: 15.92 kB / 294.3 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002532/0.007212, allocations: 175.1 kB / 294.5 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.527e-05/0.007287, allocations: 41.44 kB / 294.5 MB, free: 4.277 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.129e-05/0.007309, allocations: 8.859 kB / 294.5 MB, free: 4.266 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.00734, allocations: 4 kB / 294.6 MB, free: 4.262 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.007372, allocations: 46.38 kB / 294.6 MB, free: 4.207 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.007373, allocations: 0 / 294.6 MB, free: 4.207 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005204/0.007894, allocations: 141.5 kB / 294.7 MB, free: 4.062 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.007931, allocations: 51.41 kB / 294.8 MB, free: 4 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.008084, allocations: 210.9 kB / 295 MB, free: 3.777 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.008097, allocations: 25.7 kB / 295 MB, free: 3.746 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.23e-05/0.008139, allocations: 100.1 kB / 295.1 MB, free: 3.645 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.00817, allocations: 31.73 kB / 295.1 MB, free: 3.613 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.008201, allocations: 25.7 kB / 295.2 MB, free: 3.582 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.008308, allocations: 322.8 kB / 295.5 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.67e-05/0.008325, allocations: 11.97 kB / 295.5 MB, free: 3.246 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.637e-05/0.008341, allocations: 8.078 kB / 295.5 MB, free: 3.238 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.651e-05/0.008388, allocations: 35.75 kB / 295.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.008389, allocations: 0 / 295.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.89e-05/0.008458, allocations: 57.61 kB / 295.6 MB, free: 3.137 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.008472, allocations: 8 kB / 295.6 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.008478, allocations: 0 / 295.6 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.008488, allocations: 0 / 295.6 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.106e-05/0.008569, allocations: 27.98 kB / 295.6 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.008573, allocations: 0 / 295.6 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.892e-05/0.008592, allocations: 4 kB / 295.6 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.008599, allocations: 4 kB / 295.6 MB, free: 3.094 MB / 282.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 (8): * Single equations (assignments): 8 * 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.284e-05/0.008672, allocations: 112.6 kB / 295.7 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.008694, allocations: 19.92 kB / 295.8 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.008819, allocations: 75.11 kB / 295.8 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.008822, allocations: 4 kB / 295.8 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.008825, allocations: 0 / 295.8 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.008829, allocations: 0 / 295.8 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.009086, allocations: 263.5 kB / 296.1 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.009088, allocations: 0 / 296.1 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.775e-05/0.009126, allocations: 12 kB / 296.1 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.009139, allocations: 19.83 kB / 296.1 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.009142, allocations: 7.938 kB / 296.1 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.009148, allocations: 4 kB / 296.1 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.009149, allocations: 0 / 296.1 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.009151, allocations: 0 / 296.1 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.074e-05/0.009242, allocations: 164.3 kB / 296.3 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.009254, allocations: 0 / 296.3 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.791e-05/0.009292, allocations: 12.03 kB / 296.3 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.009318, allocations: 3.984 kB / 296.3 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.009323, allocations: 4 kB / 296.3 MB, free: 2.344 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.438e-05/0.009378, allocations: 72.88 kB / 296.4 MB, free: 2.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009378, allocations: 0 / 296.4 MB, free: 2.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000137/0.009515, allocations: 27.88 kB / 296.4 MB, free: 2.242 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001414/0.01093, allocations: 0.6347 MB / 297.1 MB, free: 1.961 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001007/0.01103, allocations: 36.77 kB / 297.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.01104, allocations: 4 kB / 297.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.876e-05/0.01107, allocations: 24.78 kB / 297.1 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.01129, allocations: 31.67 kB / 297.2 MB, free: 1.867 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00053/0.01182, allocations: 265 kB / 297.4 MB, free: 1.578 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.687e-05/0.01187, allocations: 71.33 kB / 297.5 MB, free: 1.488 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.778e-05/0.0119, allocations: 17.02 kB / 297.5 MB, free: 1.469 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.547e-05/0.01196, allocations: 59.38 kB / 297.6 MB, free: 1.41 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01196, allocations: 0 / 297.6 MB, free: 1.41 MB / 282.7 MB Notification: Performance of Templates: time 0.003386/0.01535, allocations: 1.555 MB / 299.1 MB, free: 15.86 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.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.109093686565757]