Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.001497/0.001497, allocations: 81.08 kB / 20.66 MB, free: 3.832 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.001976/0.001976, allocations: 169.4 kB / 24.06 MB, free: 448 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.01/1.01, allocations: 158.6 MB / 185.9 MB, free: 2.805 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.1359/0.1359, allocations: 32.37 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.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 348.2 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.33e-05, allocations: 16.16 kB / 348.2 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.001936/0.00196, allocations: 1.68 MB / 349.9 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008408/0.0028, allocations: 0.7765 MB / 350.7 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.438e-05/0.002875, allocations: 0 / 350.7 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.003159, allocations: 63.73 kB / 350.7 MB, free: 6.551 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.003342, allocations: 67.67 kB / 350.8 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.003511, allocations: 83.77 kB / 350.9 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.003653, allocations: 99.62 kB / 351 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.853e-05/0.003692, allocations: 3.938 kB / 351 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.291e-05/0.003775, allocations: 59.81 kB / 351 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.54e-05/0.00386, allocations: 43.83 kB / 351.1 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.003877, allocations: 4 kB / 351.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.153e-05/0.003948, allocations: 35.98 kB / 351.1 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.268e-05/0.003991, allocations: 19.92 kB / 351.1 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.004021, allocations: 15.94 kB / 351.2 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.004168, allocations: 83.66 kB / 351.2 MB, free: 6.043 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.00417, allocations: 0 / 351.2 MB, free: 6.043 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004171, allocations: 4 kB / 351.2 MB, free: 6.039 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.004175, allocations: 0 / 351.2 MB, free: 6.039 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002904/0.004465, allocations: 431.9 kB / 351.7 MB, free: 5.582 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.004499, allocations: 12.03 kB / 351.7 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.004528, allocations: 12.89 kB / 351.7 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.004636, allocations: 156.4 kB / 351.8 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.004647, allocations: 384 / 351.8 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-06/0.004654, allocations: 384 / 351.8 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.977e-05/0.004734, allocations: 54.94 kB / 351.9 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.00474, allocations: 3.938 kB / 351.9 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-06/0.004746, allocations: 7.984 kB / 351.9 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.00475, allocations: 0 / 351.9 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.815e-05/0.004768, allocations: 4 kB / 351.9 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.505e-05/0.004863, allocations: 113.3 kB / 352 MB, free: 5.164 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.091e-05/0.004934, allocations: 55.03 kB / 352.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.624e-05/0.00495, allocations: 15.69 kB / 352.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.004961, allocations: 0 / 352.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.52e-05/0.005026, allocations: 65 kB / 352.1 MB, free: 5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.005027, allocations: 0 / 352.1 MB, free: 5 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001389/0.005166, allocations: 89.5 kB / 352.2 MB, free: 4.906 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.656e-05/0.005183, allocations: 51.41 kB / 352.3 MB, free: 4.844 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.655e-05/0.005259, allocations: 220 kB / 352.5 MB, free: 4.613 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.005267, allocations: 29.7 kB / 352.5 MB, free: 4.578 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.75e-05/0.005294, allocations: 146.8 kB / 352.7 MB, free: 4.43 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.005319, allocations: 23.89 kB / 352.7 MB, free: 4.406 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.005344, allocations: 23.36 kB / 352.7 MB, free: 4.375 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.38e-05/0.005388, allocations: 0.4962 MB / 353.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.869e-06/0.005398, allocations: 4 kB / 353.2 MB, free: 3.863 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.005416, allocations: 31.34 kB / 353.3 MB, free: 3.824 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.11e-05/0.005447, allocations: 39.25 kB / 353.3 MB, free: 3.777 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.005449, allocations: 0 / 353.3 MB, free: 3.777 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.228e-05/0.005511, allocations: 61.64 kB / 353.3 MB, free: 3.711 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.005522, allocations: 4 kB / 353.4 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.005527, allocations: 8.031 kB / 353.4 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.005538, allocations: 3.938 kB / 353.4 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.956e-05/0.005588, allocations: 11.94 kB / 353.4 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.005591, allocations: 0 / 353.4 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.455e-05/0.005615, allocations: 11.98 kB / 353.4 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.005619, allocations: 0 / 353.4 MB, free: 3.672 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 4.411e-05/0.005663, allocations: 156.6 kB / 353.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.005675, allocations: 15.91 kB / 353.6 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.474e-05/0.00577, allocations: 86.02 kB / 353.6 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.005772, allocations: 3.938 kB / 353.6 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.005774, allocations: 4 kB / 353.6 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.005777, allocations: 0 / 353.6 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.752e-05/0.005834, allocations: 121.2 kB / 353.8 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.005835, allocations: 384 / 353.8 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.598e-05/0.005851, allocations: 4 kB / 353.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.005853, allocations: 0 / 353.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.005858, allocations: 8 kB / 353.8 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.005859, allocations: 0 / 353.8 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.00586, allocations: 0 / 353.8 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.223e-05/0.005923, allocations: 116.3 kB / 353.9 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.108e-05/0.005934, allocations: 7.953 kB / 353.9 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.005946, allocations: 4 kB / 353.9 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.77e-05/0.005963, allocations: 8 kB / 353.9 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.005984, allocations: 7.922 kB / 353.9 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.005994, allocations: 7.938 kB / 353.9 MB, free: 3.066 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.529e-05/0.006029, allocations: 160 kB / 354.1 MB, free: 2.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00603, allocations: 0 / 354.1 MB, free: 2.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001326/0.006162, allocations: 15.98 kB / 354.1 MB, free: 2.895 MB / 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007269/0.006889, allocations: 403.3 kB / 354.5 MB, free: 2.594 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.434e-05/0.006973, allocations: 31.67 kB / 354.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.006975, allocations: 0 / 354.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.793e-05/0.007003, allocations: 19.62 kB / 354.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.007188, allocations: 37.22 kB / 354.6 MB, free: 2.5 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.007512, allocations: 189.5 kB / 354.8 MB, free: 2.289 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.931e-05/0.007541, allocations: 67.28 kB / 354.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.321e-05/0.007575, allocations: 8.484 kB / 354.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.464e-05/0.007639, allocations: 82.2 kB / 354.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.00764, allocations: 0 / 354.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of Templates: time 0.003193/0.01083, allocations: 1.766 MB / 356.7 MB, free: 372 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.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.17714365106076]