Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001098/0.001098, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001544/0.002642, 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.001091/0.001091, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001337/0.002429, 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.063/1.063, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1379/1.201, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.377/0.377, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03168/0.4087, allocations: 12.53 MB / 289.3 MB, free: 8.688 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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 290.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.649e-05, allocations: 2.312 kB / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003932/0.003959, allocations: 1.754 MB / 292.4 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.005153, allocations: 0.5935 MB / 293 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.67e-05/0.005249, allocations: 0 / 293 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006762/0.005925, allocations: 491.8 kB / 293.5 MB, free: 5.457 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005182/0.006444, allocations: 315.2 kB / 293.8 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006192/0.007063, allocations: 176.4 kB / 293.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004155/0.007478, allocations: 183.6 kB / 294.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.007624, allocations: 20.16 kB / 294.1 MB, free: 4.773 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003073/0.007931, allocations: 168.2 kB / 294.3 MB, free: 4.609 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.008192, allocations: 191.6 kB / 294.5 MB, free: 4.422 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.008213, allocations: 4 kB / 294.5 MB, free: 4.418 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.008374, allocations: 59.91 kB / 294.6 MB, free: 4.359 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.008491, allocations: 83.72 kB / 294.6 MB, free: 4.277 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.884e-05/0.00855, allocations: 35.75 kB / 294.7 MB, free: 4.242 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.008897, allocations: 199.2 kB / 294.9 MB, free: 4.047 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.397e-05/0.008921, allocations: 3.938 kB / 294.9 MB, free: 4.043 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.008923, allocations: 0 / 294.9 MB, free: 4.043 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.244e-05/0.008946, allocations: 0 / 294.9 MB, free: 4.043 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.0007304/0.009676, allocations: 0.6038 MB / 295.5 MB, free: 3.414 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.009716, allocations: 12.03 kB / 295.5 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.874e-05/0.009785, allocations: 28.91 kB / 295.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.01004, allocations: 242 kB / 295.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.01005, allocations: 4.375 kB / 295.8 MB, free: 3.105 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.01007, allocations: 8.375 kB / 295.8 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.0102, allocations: 66.88 kB / 295.8 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.01021, allocations: 192 / 295.8 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.01021, allocations: 4.125 kB / 295.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.01022, allocations: 0 / 295.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.345e-05/0.01025, allocations: 11.98 kB / 295.8 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.01061, allocations: 222.9 kB / 296.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.638e-05/0.01068, allocations: 29.41 kB / 296.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.133e-05/0.0107, allocations: 16.94 kB / 296.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.01072, allocations: 3.938 kB / 296.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.01075, allocations: 34.56 kB / 296.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.713e-06/0.01075, allocations: 0 / 296.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005793/0.01133, allocations: 157.5 kB / 296.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.01137, allocations: 51.41 kB / 296.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004837/0.01185, allocations: 0.5322 MB / 296.9 MB, free: 1.898 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.01186, allocations: 25.7 kB / 296.9 MB, free: 1.867 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.944e-05/0.01195, allocations: 149.2 kB / 297 MB, free: 1.715 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.01199, allocations: 27.78 kB / 297.1 MB, free: 1.688 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.01203, allocations: 25.7 kB / 297.1 MB, free: 1.656 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.01216, allocations: 358.6 kB / 297.5 MB, free: 1.297 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.127e-05/0.01218, allocations: 8 kB / 297.5 MB, free: 1.289 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.219e-05/0.0122, allocations: 7.984 kB / 297.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.535e-05/0.01226, allocations: 35.88 kB / 297.5 MB, free: 1.242 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.01226, allocations: 0 / 297.5 MB, free: 1.242 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000113/0.01237, allocations: 77.59 kB / 297.6 MB, free: 1.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.01239, allocations: 4 kB / 297.6 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.01239, allocations: 0 / 297.6 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.0124, allocations: 8 kB / 297.6 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.161e-05/0.01249, allocations: 15.98 kB / 297.6 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.0125, allocations: 0 / 297.6 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.666e-05/0.01253, allocations: 4 kB / 297.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.01254, allocations: 4 kB / 297.6 MB, free: 1.125 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 9.517e-05/0.01264, allocations: 116.6 kB / 297.7 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.01268, allocations: 23.97 kB / 297.7 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/0.01286, allocations: 105.4 kB / 297.9 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01286, allocations: 0 / 297.9 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.01286, allocations: 4 kB / 297.9 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.01286, allocations: 0 / 297.9 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.01325, allocations: 303.4 kB / 298.2 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.01325, allocations: 0 / 298.2 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.121e-05/0.01333, allocations: 23.98 kB / 298.2 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.517e-05/0.01336, allocations: 39.66 kB / 298.2 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01336, allocations: 0 / 298.2 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.01337, allocations: 0 / 298.2 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.01337, allocations: 0 / 298.2 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.01338, allocations: 7.984 kB / 298.2 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.01352, allocations: 180.3 kB / 298.4 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.01355, allocations: 8 kB / 298.4 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.011e-05/0.01362, allocations: 0 / 298.4 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.01365, allocations: 7.984 kB / 298.4 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/0.01365, allocations: 0 / 298.4 MB, free: 264 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002983/0.01395, allocations: 287.2 kB / 298.7 MB, free: 15.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01395, allocations: 0 / 298.7 MB, free: 15.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002685/0.01422, allocations: 35.86 kB / 298.7 MB, free: 15.94 MB / 298.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.001686/0.0159, allocations: 0.6404 MB / 299.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.01601, allocations: 28.84 kB / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.01602, allocations: 8 kB / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.449e-05/0.01604, allocations: 20.8 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.01627, allocations: 49.22 kB / 299.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007969/0.01706, allocations: 0.611 MB / 300.1 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.84e-05/0.01714, allocations: 123.2 kB / 300.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.27e-05/0.01719, allocations: 17.02 kB / 300.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.976e-05/0.01725, allocations: 59.38 kB / 300.3 MB, free: 14.69 MB / 298.7 MB Notification: Performance of SimCode: time 9.51e-07/0.01725, allocations: 0 / 300.3 MB, free: 14.69 MB / 298.7 MB Notification: Performance of Templates: time 0.004399/0.02165, allocations: 1.773 MB / 302.1 MB, free: 12.93 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.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.2732011703774333]