Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.00119/0.00119, allocations: 81.08 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.001389/0.001389, allocations: 173 kB / 24.05 MB, free: 456 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.079/1.079, allocations: 158.6 MB / 185.9 MB, free: 2.809 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.1385/0.1385, 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.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.066e-06/3.066e-06, allocations: 0 / 348.2 MB, free: 9.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.623e-05, allocations: 13.34 kB / 348.2 MB, free: 9.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002309/0.002335, allocations: 1.851 MB / 350.1 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.003356, allocations: 0.8854 MB / 350.9 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.353e-05/0.003449, allocations: 3.938 kB / 351 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003681/0.003817, allocations: 227.3 kB / 351.2 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.004095, allocations: 167.4 kB / 351.3 MB, free: 5.953 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.004349, allocations: 139.6 kB / 351.5 MB, free: 5.816 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.004542, allocations: 247.2 kB / 351.7 MB, free: 5.574 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.029e-05/0.004632, allocations: 5.812 kB / 351.7 MB, free: 5.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.004751, allocations: 139.6 kB / 351.9 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.004878, allocations: 147.7 kB / 352 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.004898, allocations: 8 kB / 352 MB, free: 5.281 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.265e-05/0.004991, allocations: 43.92 kB / 352.1 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.902e-05/0.00505, allocations: 67.77 kB / 352.1 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.005095, allocations: 35.8 kB / 352.2 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.00527, allocations: 175.3 kB / 352.3 MB, free: 4.965 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.005272, allocations: 0 / 352.3 MB, free: 4.965 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005273, allocations: 0 / 352.3 MB, free: 4.965 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.005277, allocations: 0 / 352.3 MB, free: 4.965 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004199/0.005697, allocations: 0.5847 MB / 352.9 MB, free: 4.344 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.005734, allocations: 12.03 kB / 352.9 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.005776, allocations: 28.75 kB / 352.9 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.005935, allocations: 208.7 kB / 353.2 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.005954, allocations: 12.38 kB / 353.2 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.005972, allocations: 8.359 kB / 353.2 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.00609, allocations: 102.2 kB / 353.3 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.0061, allocations: 3.938 kB / 353.3 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.00611, allocations: 7.984 kB / 353.3 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.006117, allocations: 7.984 kB / 353.3 MB, free: 3.918 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.339e-05/0.00615, allocations: 15.98 kB / 353.3 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.006408, allocations: 443.2 kB / 353.7 MB, free: 3.438 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.006512, allocations: 110.3 kB / 353.8 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.828e-05/0.00654, allocations: 35.3 kB / 353.9 MB, free: 3.262 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.006556, allocations: 7.938 kB / 353.9 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.11e-05/0.006647, allocations: 104.4 kB / 354 MB, free: 3.129 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 9.82e-07/0.006648, allocations: 0 / 354 MB, free: 3.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004501/0.007098, allocations: 249.2 kB / 354.2 MB, free: 2.879 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.00712, allocations: 85.11 kB / 354.3 MB, free: 2.777 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.007271, allocations: 370.1 kB / 354.7 MB, free: 2.398 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.00728, allocations: 33.7 kB / 354.7 MB, free: 2.359 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.007339, allocations: 219 kB / 354.9 MB, free: 2.141 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.007369, allocations: 51.61 kB / 355 MB, free: 2.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.007404, allocations: 39.36 kB / 355 MB, free: 2.043 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.92e-05/0.007463, allocations: 0.5273 MB / 355.5 MB, free: 1.504 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.032e-05/0.007483, allocations: 15.98 kB / 355.6 MB, free: 1.488 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.429e-05/0.007517, allocations: 62.66 kB / 355.6 MB, free: 1.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.041e-05/0.007578, allocations: 94.8 kB / 355.7 MB, free: 1.301 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-06/0.007579, allocations: 7.938 kB / 355.7 MB, free: 1.293 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001136/0.007692, allocations: 153.3 kB / 355.9 MB, free: 1.137 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.007703, allocations: 4 kB / 355.9 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.007708, allocations: 4 kB / 355.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.00772, allocations: 0 / 355.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.996e-05/0.0078, allocations: 39.92 kB / 355.9 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.007804, allocations: 0 / 355.9 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.007849, allocations: 4 kB / 355.9 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.007855, allocations: 8 kB / 355.9 MB, free: 1.078 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.031e-05/0.007916, allocations: 172.6 kB / 356.1 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.007939, allocations: 39.75 kB / 356.1 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.008094, allocations: 164.3 kB / 356.3 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.008097, allocations: 7.984 kB / 356.3 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.008099, allocations: 0.75 kB / 356.3 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.008102, allocations: 0 / 356.3 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.008397, allocations: 0.6136 MB / 356.9 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.008398, allocations: 0 / 356.9 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.29e-05/0.008431, allocations: 19.94 kB / 356.9 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.008433, allocations: 8.141 kB / 356.9 MB, free: 0 / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.008463, allocations: 16.14 kB / 357 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.008464, allocations: 0 / 357 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.008466, allocations: 4 kB / 357 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.008692, allocations: 456.5 kB / 357.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.008715, allocations: 27.8 kB / 357.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.008735, allocations: 8 kB / 357.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/0.008806, allocations: 4 kB / 357.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.008844, allocations: 19.91 kB / 357.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.008858, allocations: 8 kB / 357.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001272/0.008985, allocations: 254.9 kB / 357.7 MB, free: 15.19 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008985, allocations: 0 / 357.7 MB, free: 15.19 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002098/0.009195, allocations: 36 kB / 357.8 MB, free: 15.15 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008329/0.01003, allocations: 441.1 kB / 358.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.01016, allocations: 91.5 kB / 358.3 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.01016, allocations: 0 / 358.3 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.183e-05/0.01021, allocations: 54.95 kB / 358.3 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.01054, allocations: 72.75 kB / 358.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004851/0.01102, allocations: 437 kB / 358.8 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.94e-05/0.01109, allocations: 95.95 kB / 358.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.876e-05/0.01116, allocations: 29.62 kB / 359 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.0113, allocations: 118.2 kB / 359.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of SimCode: time 1.112e-06/0.0113, allocations: 0 / 359.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of Templates: time 0.004794/0.01609, allocations: 3.209 MB / 362.3 MB, free: 10.68 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.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.3568795351311564]