Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.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.001167/0.001167, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002417/0.003584, allocations: 447.8 kB / 10.35 MB, free: 344 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.001409/0.001409, allocations: 161.1 kB / 11.23 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001972/0.003381, allocations: 463.6 kB / 11.69 MB, free: 2.477 MB / 13.93 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 1.014/1.014, allocations: 158.6 MB / 171 MB, free: 2.176 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1821/1.196, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.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.15/0.15, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02434/0.1743, allocations: 12.3 MB / 265.9 MB, free: 7.828 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.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 267.2 MB, free: 6.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.865e-05, allocations: 10.25 kB / 267.2 MB, free: 6.512 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.006925/0.006954, allocations: 1.685 MB / 268.9 MB, free: 4.805 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.008737, allocations: 1.115 MB / 270 MB, free: 3.684 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.23e-05/0.0088, allocations: 0 / 270 MB, free: 3.684 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001694/0.008969, allocations: 19.86 kB / 270 MB, free: 3.664 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.009148, allocations: 47.66 kB / 270.1 MB, free: 3.617 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.009454, allocations: 159.6 kB / 270.3 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.009595, allocations: 67.73 kB / 270.3 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.009705, allocations: 11.97 kB / 270.3 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.05e-05/0.009795, allocations: 47.91 kB / 270.4 MB, free: 3.336 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.0099, allocations: 23.91 kB / 270.4 MB, free: 3.312 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.00992, allocations: 4 kB / 270.4 MB, free: 3.309 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.01005, allocations: 63.84 kB / 270.5 MB, free: 3.246 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.513e-05/0.01011, allocations: 11.94 kB / 270.5 MB, free: 3.234 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.496e-05/0.01013, allocations: 15.94 kB / 270.5 MB, free: 3.219 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.01032, allocations: 87.66 kB / 270.6 MB, free: 3.133 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.951e-05/0.01035, allocations: 0 / 270.6 MB, free: 3.133 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.01035, allocations: 0 / 270.6 MB, free: 3.133 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.577e-05/0.01038, allocations: 0 / 270.6 MB, free: 3.133 MB / 266.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.0004564/0.01084, allocations: 296.1 kB / 270.9 MB, free: 2.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.01087, allocations: 12.03 kB / 270.9 MB, free: 2.809 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.01091, allocations: 4.938 kB / 270.9 MB, free: 2.805 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.01104, allocations: 125.7 kB / 271 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.01105, allocations: 4.375 kB / 271 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.01107, allocations: 8.375 kB / 271 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.01119, allocations: 106.3 kB / 271.1 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.01121, allocations: 192 / 271.1 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.01122, allocations: 12.06 kB / 271.1 MB, free: 2.508 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.01123, allocations: 0 / 271.1 MB, free: 2.508 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.003e-05/0.01126, allocations: 8 kB / 271.1 MB, free: 2.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002284/0.01148, allocations: 175.1 kB / 271.3 MB, free: 2.312 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.241e-05/0.01155, allocations: 42.48 kB / 271.4 MB, free: 2.262 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.791e-05/0.01156, allocations: 8.859 kB / 271.4 MB, free: 2.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.01159, allocations: 4 kB / 271.4 MB, free: 2.246 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.01161, allocations: 34.5 kB / 271.4 MB, free: 2.203 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.01161, allocations: 0 / 271.4 MB, free: 2.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003482/0.01196, allocations: 105.6 kB / 271.5 MB, free: 2.094 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.01199, allocations: 55.41 kB / 271.6 MB, free: 2.027 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.908e-05/0.01208, allocations: 130.7 kB / 271.7 MB, free: 1.887 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.01209, allocations: 25.7 kB / 271.7 MB, free: 1.855 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.094e-05/0.01212, allocations: 84.14 kB / 271.8 MB, free: 1.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.01215, allocations: 35.77 kB / 271.8 MB, free: 1.734 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.01219, allocations: 13.72 kB / 271.8 MB, free: 1.715 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.01228, allocations: 326.8 kB / 272.2 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/0.0123, allocations: 4 kB / 272.2 MB, free: 1.383 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.778e-05/0.01234, allocations: 51.34 kB / 272.2 MB, free: 1.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.259e-05/0.01239, allocations: 35.66 kB / 272.3 MB, free: 1.281 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.01239, allocations: 0 / 272.3 MB, free: 1.281 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.661e-05/0.01245, allocations: 53.62 kB / 272.3 MB, free: 1.223 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.01247, allocations: 4 kB / 272.3 MB, free: 1.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.01247, allocations: 0 / 272.3 MB, free: 1.219 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.01248, allocations: 0 / 272.3 MB, free: 1.219 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.221e-05/0.01256, allocations: 24.02 kB / 272.3 MB, free: 1.195 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.01257, allocations: 3.938 kB / 272.3 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.193e-05/0.01259, allocations: 7.953 kB / 272.3 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.01259, allocations: 0 / 272.3 MB, free: 1.184 MB / 266.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 6.936e-05/0.01266, allocations: 120.7 kB / 272.5 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.01269, allocations: 7.938 kB / 272.5 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.01282, allocations: 70.39 kB / 272.5 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.01282, allocations: 4 kB / 272.5 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.01283, allocations: 0 / 272.5 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.01283, allocations: 7.984 kB / 272.5 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.01311, allocations: 226.6 kB / 272.8 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01311, allocations: 0 / 272.8 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.291e-05/0.01316, allocations: 19.98 kB / 272.8 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.338e-06/0.01317, allocations: 7.953 kB / 272.8 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.01317, allocations: 0 / 272.8 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.01318, allocations: 0 / 272.8 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.01318, allocations: 0 / 272.8 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.01318, allocations: 4 kB / 272.8 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.313e-05/0.01328, allocations: 151.4 kB / 272.9 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.01329, allocations: 4 kB / 273 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.484e-05/0.01332, allocations: 8 kB / 273 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.01336, allocations: 7.984 kB / 273 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.01336, allocations: 0 / 273 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.1e-05/0.01339, allocations: 29.39 kB / 273 MB, free: 484 kB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01339, allocations: 0 / 273 MB, free: 484 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001539/0.01355, allocations: 27.92 kB / 273 MB, free: 456 kB / 266.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.001424/0.01497, allocations: 0.6171 MB / 273.6 MB, free: 15.81 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.01508, allocations: 32.78 kB / 273.7 MB, free: 15.78 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.01508, allocations: 0 / 273.7 MB, free: 15.78 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.615e-05/0.01511, allocations: 21.02 kB / 273.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.01531, allocations: 28.06 kB / 273.7 MB, free: 15.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004766/0.01579, allocations: 188.1 kB / 273.9 MB, free: 15.51 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.777e-05/0.01584, allocations: 71.28 kB / 274 MB, free: 15.42 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.53e-05/0.01589, allocations: 11.94 kB / 274 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.619e-05/0.01596, allocations: 63.36 kB / 274 MB, free: 15.35 MB / 282.7 MB Notification: Performance of SimCode: time 1.693e-06/0.01596, allocations: 0 / 274 MB, free: 15.35 MB / 282.7 MB Notification: Performance of Templates: time 0.004385/0.02035, allocations: 1.701 MB / 275.7 MB, free: 13.65 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.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: 2.9559591691941023]