Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001571/0.001571, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002278/0.003848, 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.001472/0.001472, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001838/0.003311, 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.085/1.085, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1169/1.202, allocations: 53.65 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.3049/0.3049, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02545/0.3303, allocations: 12.54 MB / 289.3 MB, free: 8.684 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 290.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.428e-05, allocations: 3.078 kB / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002618/0.002643, allocations: 1.735 MB / 292.4 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005961/0.008604, allocations: 0.5849 MB / 292.9 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.294e-05/0.008677, allocations: 3.031 kB / 293 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004964/0.009173, allocations: 496.6 kB / 293.4 MB, free: 5.473 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.009564, allocations: 315.2 kB / 293.7 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.00993, allocations: 180.3 kB / 293.9 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.01014, allocations: 187.6 kB / 294.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.687e-05/0.01023, allocations: 15.92 kB / 294.1 MB, free: 4.789 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.01041, allocations: 163.7 kB / 294.3 MB, free: 4.629 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.0106, allocations: 195.6 kB / 294.5 MB, free: 4.438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.01061, allocations: 4 kB / 294.5 MB, free: 4.434 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.292e-05/0.0107, allocations: 32 kB / 294.5 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.41e-05/0.01078, allocations: 79.72 kB / 294.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.974e-05/0.01083, allocations: 35.75 kB / 294.6 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.01106, allocations: 207 kB / 294.8 MB, free: 4.086 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.528e-05/0.01108, allocations: 0 / 294.8 MB, free: 4.086 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.01108, allocations: 0 / 294.8 MB, free: 4.086 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.0111, allocations: 0 / 294.8 MB, free: 4.086 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.003611/0.01471, allocations: 0.6039 MB / 295.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.01474, allocations: 8.031 kB / 295.4 MB, free: 3.449 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.01478, allocations: 24.91 kB / 295.5 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.01499, allocations: 246 kB / 295.7 MB, free: 3.156 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.015, allocations: 12.31 kB / 295.7 MB, free: 3.145 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.01502, allocations: 384 / 295.7 MB, free: 3.145 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.01513, allocations: 62.94 kB / 295.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.01514, allocations: 192 / 295.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.01515, allocations: 4.125 kB / 295.8 MB, free: 3.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.01515, allocations: 0 / 295.8 MB, free: 3.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.902e-05/0.01518, allocations: 11.98 kB / 295.8 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.01546, allocations: 207 kB / 296 MB, free: 2.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.171e-05/0.01552, allocations: 30.56 kB / 296 MB, free: 2.801 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.931e-05/0.01554, allocations: 12.86 kB / 296 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.01556, allocations: 0 / 296 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.01558, allocations: 38.5 kB / 296.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.01559, allocations: 0 / 296.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003419/0.01593, allocations: 121.6 kB / 296.2 MB, free: 2.613 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.01596, allocations: 51.41 kB / 296.2 MB, free: 2.551 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004019/0.01636, allocations: 0.536 MB / 296.8 MB, free: 2 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.01637, allocations: 29.64 kB / 296.8 MB, free: 1.965 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.797e-05/0.01644, allocations: 141.3 kB / 296.9 MB, free: 1.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.01646, allocations: 27.8 kB / 297 MB, free: 1.793 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.0165, allocations: 25.69 kB / 297 MB, free: 1.762 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.01662, allocations: 350.7 kB / 297.3 MB, free: 1.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.997e-05/0.01664, allocations: 15.92 kB / 297.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.451e-05/0.01665, allocations: 4 kB / 297.4 MB, free: 1.391 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.195e-05/0.0167, allocations: 31.88 kB / 297.4 MB, free: 1.355 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.0167, allocations: 4 kB / 297.4 MB, free: 1.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.557e-05/0.01678, allocations: 69.59 kB / 297.5 MB, free: 1.277 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.0168, allocations: 8 kB / 297.5 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.0168, allocations: 0 / 297.5 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.01681, allocations: 4 kB / 297.5 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.077e-05/0.01689, allocations: 19.92 kB / 297.5 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.01689, allocations: 4 kB / 297.5 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.983e-05/0.01693, allocations: 7.984 kB / 297.5 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.01694, allocations: 8 kB / 297.5 MB, free: 1.227 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 (7): * Single equations (assignments): 7 * 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.067e-05/0.01701, allocations: 108.7 kB / 297.6 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.01705, allocations: 27.91 kB / 297.6 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003179/0.02023, allocations: 101.5 kB / 297.7 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.02023, allocations: 0 / 297.7 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.02023, allocations: 0 / 297.7 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.02024, allocations: 4 kB / 297.7 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.02052, allocations: 286.8 kB / 298 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.02052, allocations: 0 / 298 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.694e-05/0.02057, allocations: 19.98 kB / 298 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.717e-05/0.0206, allocations: 35.72 kB / 298.1 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.02061, allocations: 3.984 kB / 298.1 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.02061, allocations: 0 / 298.1 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.02061, allocations: 0 / 298.1 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.02061, allocations: 0 / 298.1 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.02072, allocations: 179.4 kB / 298.3 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.02074, allocations: 4 kB / 298.3 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.439e-05/0.0208, allocations: 11.94 kB / 298.3 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.02083, allocations: 3.984 kB / 298.3 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.02083, allocations: 4 kB / 298.3 MB, free: 404 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000219/0.02105, allocations: 279.2 kB / 298.6 MB, free: 124 kB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02105, allocations: 0 / 298.6 MB, free: 124 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002045/0.02126, allocations: 31.98 kB / 298.6 MB, free: 92 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001505/0.02276, allocations: 0.5448 MB / 299.1 MB, free: 15.85 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.719e-05/0.02285, allocations: 32.78 kB / 299.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/0.02286, allocations: 8 kB / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.055e-05/0.02289, allocations: 24.83 kB / 299.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003249/0.02614, allocations: 49.03 kB / 299.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008326/0.02697, allocations: 0.5868 MB / 299.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.02707, allocations: 127.2 kB / 300 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.321e-05/0.02712, allocations: 12.73 kB / 300 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.052e-05/0.02718, allocations: 59.36 kB / 300 MB, free: 14.89 MB / 298.7 MB Notification: Performance of SimCode: time 6.82e-07/0.02718, allocations: 0 / 300 MB, free: 14.89 MB / 298.7 MB Notification: Performance of Templates: time 0.007337/0.03451, allocations: 1.617 MB / 301.6 MB, free: 13.3 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.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.2112540397793055]