Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.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.0009549/0.0009549, allocations: 80.2 kB / 20.65 MB, free: 3.84 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.000927/0.000927, allocations: 173 kB / 24.06 MB, free: 452 kB / 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 1.078/1.078, allocations: 158.6 MB / 185.9 MB, free: 2.812 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.1582/0.1582, allocations: 32.38 MB / 270.7 MB, free: 14.54 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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.777e-05/2.975e-05, allocations: 6.25 kB / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002381/0.00241, allocations: 1.644 MB / 349.8 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005367/0.002947, allocations: 343.2 kB / 350.1 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.388e-05/0.003021, allocations: 4 kB / 350.1 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004262/0.003447, allocations: 463.1 kB / 350.6 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002573/0.003704, allocations: 251.4 kB / 350.8 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.004003, allocations: 151.6 kB / 351 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.004179, allocations: 171.6 kB / 351.1 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.004283, allocations: 12 kB / 351.1 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.004384, allocations: 119.8 kB / 351.3 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.004576, allocations: 243.6 kB / 351.5 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.004599, allocations: 4 kB / 351.5 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.808e-05/0.004687, allocations: 35.86 kB / 351.5 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.545e-05/0.004773, allocations: 87.7 kB / 351.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.897e-05/0.004812, allocations: 35.75 kB / 351.7 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.004997, allocations: 199.1 kB / 351.9 MB, free: 5.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.005, allocations: 0 / 351.9 MB, free: 5.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.005002, allocations: 0 / 351.9 MB, free: 5.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.005006, allocations: 0 / 351.9 MB, free: 5.43 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.0004099/0.005416, allocations: 0.697 MB / 352.5 MB, free: 4.695 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.005454, allocations: 12.03 kB / 352.6 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.005496, allocations: 48.59 kB / 352.6 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.005631, allocations: 240.9 kB / 352.8 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.005639, allocations: 384 / 352.8 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.005659, allocations: 12.33 kB / 352.9 MB, free: 4.363 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.005767, allocations: 58.92 kB / 352.9 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.005777, allocations: 4.188 kB / 352.9 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.005785, allocations: 8.125 kB / 352.9 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.005789, allocations: 0 / 352.9 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.316e-05/0.005813, allocations: 7.984 kB / 352.9 MB, free: 4.277 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.006086, allocations: 348.2 kB / 353.3 MB, free: 3.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.61e-05/0.006142, allocations: 35.05 kB / 353.3 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.511e-05/0.006157, allocations: 11.69 kB / 353.3 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.006179, allocations: 8 kB / 353.3 MB, free: 3.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.006194, allocations: 37.33 kB / 353.4 MB, free: 3.793 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.006195, allocations: 0 / 353.4 MB, free: 3.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003172/0.006513, allocations: 145.3 kB / 353.5 MB, free: 3.645 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.006534, allocations: 55.34 kB / 353.6 MB, free: 3.578 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.006865, allocations: 0.6079 MB / 354.2 MB, free: 2.953 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.006875, allocations: 25.7 kB / 354.2 MB, free: 2.922 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.006982, allocations: 298.7 kB / 354.5 MB, free: 2.625 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.007003, allocations: 19.8 kB / 354.5 MB, free: 2.605 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.007034, allocations: 27.36 kB / 354.5 MB, free: 2.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.041e-05/0.007124, allocations: 0.5547 MB / 355.1 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.753e-05/0.007142, allocations: 12 kB / 355.1 MB, free: 1.992 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.392e-05/0.007156, allocations: 12.05 kB / 355.1 MB, free: 1.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.538e-05/0.007191, allocations: 27.67 kB / 355.1 MB, free: 1.949 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.007193, allocations: 0 / 355.1 MB, free: 1.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.645e-05/0.007279, allocations: 105.3 kB / 355.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.007292, allocations: 8 kB / 355.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.007297, allocations: 0 / 355.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.007308, allocations: 0 / 355.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.234e-05/0.00738, allocations: 19.98 kB / 355.3 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.007382, allocations: 0 / 355.3 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.93e-05/0.007412, allocations: 8 kB / 355.3 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-06/0.007416, allocations: 0 / 355.3 MB, free: 1.805 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 6.183e-05/0.007478, allocations: 156.6 kB / 355.4 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.007506, allocations: 47.66 kB / 355.5 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.007625, allocations: 109.5 kB / 355.6 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.007628, allocations: 4 kB / 355.6 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.00763, allocations: 0 / 355.6 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.007633, allocations: 0 / 355.6 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.007891, allocations: 401.8 kB / 356 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.007893, allocations: 0 / 356 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.182e-05/0.007935, allocations: 19.92 kB / 356 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.007937, allocations: 0 / 356 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.007942, allocations: 0 / 356 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.007944, allocations: 4 kB / 356 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.007945, allocations: 0 / 356 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.801e-05/0.008033, allocations: 255.5 kB / 356.2 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.999e-05/0.008053, allocations: 31.72 kB / 356.3 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.008067, allocations: 4 kB / 356.3 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.229e-05/0.00811, allocations: 7.984 kB / 356.3 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.008142, allocations: 7.984 kB / 356.3 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.008147, allocations: 4 kB / 356.3 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001418/0.008289, allocations: 390.7 kB / 356.7 MB, free: 332 kB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008289, allocations: 4 kB / 356.7 MB, free: 328 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001613/0.00845, allocations: 23.94 kB / 356.7 MB, free: 304 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.0007792/0.009229, allocations: 391.5 kB / 357.1 MB, free: 8 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.009331, allocations: 31.67 kB / 357.1 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.009333, allocations: 0 / 357.1 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.824e-05/0.009361, allocations: 27.61 kB / 357.2 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.009603, allocations: 35.14 kB / 357.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006998/0.0103, allocations: 0.5785 MB / 357.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.131e-05/0.01038, allocations: 119.2 kB / 357.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.835e-05/0.01042, allocations: 11.98 kB / 357.9 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.22e-05/0.01048, allocations: 78.2 kB / 358 MB, free: 15.07 MB / 298.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01049, allocations: 4 kB / 358 MB, free: 15.07 MB / 298.7 MB Notification: Performance of Templates: time 0.004297/0.01478, allocations: 1.641 MB / 359.6 MB, free: 13.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.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.2751924581825733]