Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.002427/0.002427, allocations: 92.97 kB / 20.21 MB, free: 4.207 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.002514/0.002514, allocations: 165.2 kB / 23.53 MB, free: 0.8945 MB / 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.774/1.774, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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.2412/0.2412, allocations: 32.37 MB / 270 MB, free: 14.63 MB / 266.7 MB " [Timeout remaining time 179] 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 347 MB, free: 9.711 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.654e-05/3.847e-05, allocations: 2.312 kB / 347 MB, free: 9.707 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003013/0.003052, allocations: 1.711 MB / 348.7 MB, free: 7.984 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.004847, allocations: 1.486 MB / 350.2 MB, free: 6.488 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.156e-05/0.004929, allocations: 0 / 350.2 MB, free: 6.488 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.005323, allocations: 51.64 kB / 350.3 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002895/0.005613, allocations: 55.69 kB / 350.3 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.005851, allocations: 87.7 kB / 350.4 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.006038, allocations: 111.6 kB / 350.5 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.006146, allocations: 8.234 kB / 350.5 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.006258, allocations: 59.81 kB / 350.6 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.006397, allocations: 35.84 kB / 350.6 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.006424, allocations: 4 kB / 350.6 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.006556, allocations: 59.91 kB / 350.7 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.412e-05/0.00662, allocations: 19.92 kB / 350.7 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.571e-05/0.006676, allocations: 27.91 kB / 350.7 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.006928, allocations: 139.5 kB / 350.9 MB, free: 5.84 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.006932, allocations: 0 / 350.9 MB, free: 5.84 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.006933, allocations: 0 / 350.9 MB, free: 5.84 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.006939, allocations: 4 kB / 350.9 MB, free: 5.836 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.0006408/0.00758, allocations: 443.6 kB / 351.3 MB, free: 5.367 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.007625, allocations: 8.031 kB / 351.3 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.387e-05/0.007699, allocations: 20.88 kB / 351.3 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.007924, allocations: 153 kB / 351.5 MB, free: 5.164 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.007941, allocations: 384 / 351.5 MB, free: 5.164 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.007969, allocations: 4.375 kB / 351.5 MB, free: 5.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.00817, allocations: 106.7 kB / 351.6 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.008186, allocations: 4 kB / 351.6 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.008199, allocations: 0 / 351.6 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.008204, allocations: 4 kB / 351.6 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.901e-05/0.008303, allocations: 27.92 kB / 351.6 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.008711, allocations: 295.7 kB / 351.9 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.008904, allocations: 75.16 kB / 352 MB, free: 4.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.69e-05/0.008961, allocations: 23.67 kB / 352 MB, free: 4.562 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.008984, allocations: 11.94 kB / 352 MB, free: 4.551 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/0.009132, allocations: 73.11 kB / 352.1 MB, free: 4.465 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.009133, allocations: 0 / 352.1 MB, free: 4.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006033/0.009736, allocations: 201.3 kB / 352.3 MB, free: 4.262 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.009773, allocations: 81.11 kB / 352.4 MB, free: 4.164 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.009914, allocations: 229.8 kB / 352.6 MB, free: 3.922 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.009928, allocations: 29.7 kB / 352.6 MB, free: 3.887 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.571e-05/0.009984, allocations: 146.9 kB / 352.8 MB, free: 3.738 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.01002, allocations: 35.73 kB / 352.8 MB, free: 3.703 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.01006, allocations: 35.38 kB / 352.8 MB, free: 3.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.01016, allocations: 0.5 MB / 353.3 MB, free: 3.148 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.367e-05/0.01022, allocations: 23.98 kB / 353.3 MB, free: 3.125 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.727e-05/0.01028, allocations: 84.69 kB / 353.4 MB, free: 3.023 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.01039, allocations: 67.36 kB / 353.5 MB, free: 2.949 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.01039, allocations: 8.031 kB / 353.5 MB, free: 2.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000166/0.01055, allocations: 109.6 kB / 353.6 MB, free: 2.828 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.01057, allocations: 4 kB / 353.6 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.01057, allocations: 3.938 kB / 353.6 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.01059, allocations: 4 kB / 353.6 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.709e-05/0.01069, allocations: 15.98 kB / 353.6 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.0107, allocations: 4.469 kB / 353.6 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.41e-05/0.01074, allocations: 7.938 kB / 353.7 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.01075, allocations: 4 kB / 353.7 MB, free: 2.785 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 (11): * Single equations (assignments): 11 * 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 8.253e-05/0.01083, allocations: 169.6 kB / 353.8 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.01086, allocations: 15.95 kB / 353.8 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.01111, allocations: 142.2 kB / 354 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.01112, allocations: 0 / 354 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.01112, allocations: 0 / 354 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.01113, allocations: 3.984 kB / 354 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/0.01152, allocations: 433.1 kB / 354.4 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01152, allocations: 0 / 354.4 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.528e-05/0.01156, allocations: 15.94 kB / 354.4 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.01157, allocations: 4 kB / 354.4 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.01158, allocations: 4.031 kB / 354.4 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.01158, allocations: 7.938 kB / 354.4 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.01159, allocations: 4 kB / 354.4 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.01181, allocations: 291.4 kB / 354.7 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.685e-05/0.01183, allocations: 11.91 kB / 354.7 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.01185, allocations: 0 / 354.7 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.038e-05/0.01192, allocations: 15.92 kB / 354.7 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.01197, allocations: 7.984 kB / 354.8 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.01199, allocations: 4 kB / 354.8 MB, free: 1.594 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.904e-05/0.01208, allocations: 167.1 kB / 354.9 MB, free: 1.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01208, allocations: 0 / 354.9 MB, free: 1.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002667/0.01235, allocations: 35.94 kB / 355 MB, free: 1.395 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 9 * 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.003365/0.01571, allocations: 0.5276 MB / 355.5 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.01593, allocations: 83.53 kB / 355.6 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01594, allocations: 0 / 355.6 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.796e-05/0.01601, allocations: 43.61 kB / 355.6 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.0164, allocations: 37.45 kB / 355.6 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004911/0.01689, allocations: 221.5 kB / 355.9 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.508e-05/0.01696, allocations: 93.56 kB / 356 MB, free: 460 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.102e-05/0.01702, allocations: 20.95 kB / 356 MB, free: 440 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.01708, allocations: 20.5 kB / 356 MB, free: 416 kB / 282.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01708, allocations: 0 / 356 MB, free: 416 kB / 282.7 MB Notification: Performance of Templates: time 0.006959/0.02404, allocations: 2.263 MB / 358.3 MB, free: 14.16 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.798208498978056]