Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.001126/0.001126, allocations: 80.98 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.001929/0.001929, 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.081/1.081, allocations: 158.6 MB / 185.9 MB, free: 2.41 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.1427/0.1427, allocations: 32.38 MB / 270.7 MB, free: 14.61 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.Test78,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.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 348.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.042e-05/3.228e-05, allocations: 4.281 kB / 348.2 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002896/0.002928, allocations: 1.855 MB / 350.1 MB, free: 7.223 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.004112, allocations: 0.8893 MB / 350.9 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.004225, allocations: 0 / 350.9 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000539/0.004764, allocations: 259.2 kB / 351.2 MB, free: 6.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004544/0.005219, allocations: 191.2 kB / 351.4 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005223/0.005741, allocations: 147.5 kB / 351.5 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003611/0.006102, allocations: 251.2 kB / 351.8 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.006226, allocations: 13.8 kB / 351.8 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.006385, allocations: 139.7 kB / 351.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.00655, allocations: 183.6 kB / 352.1 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.006576, allocations: 12 kB / 352.1 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.006697, allocations: 55.84 kB / 352.2 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.042e-05/0.006787, allocations: 63.72 kB / 352.2 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.91e-05/0.006856, allocations: 39.78 kB / 352.3 MB, free: 4.996 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.007154, allocations: 179.3 kB / 352.5 MB, free: 4.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.00716, allocations: 4 kB / 352.5 MB, free: 4.816 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.007163, allocations: 0 / 352.5 MB, free: 4.816 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.007171, allocations: 0 / 352.5 MB, free: 4.816 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.000659/0.00783, allocations: 0.5924 MB / 353 MB, free: 4.188 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.007872, allocations: 8.031 kB / 353.1 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.314e-05/0.007925, allocations: 40.75 kB / 353.1 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.008102, allocations: 220.6 kB / 353.3 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.00812, allocations: 8.312 kB / 353.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.00814, allocations: 4.375 kB / 353.3 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.008287, allocations: 106.2 kB / 353.4 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.008299, allocations: 3.938 kB / 353.4 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.008309, allocations: 4 kB / 353.4 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.008316, allocations: 3.984 kB / 353.4 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.583e-05/0.008351, allocations: 19.98 kB / 353.5 MB, free: 3.734 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/0.008702, allocations: 463.1 kB / 353.9 MB, free: 3.25 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.008832, allocations: 102.3 kB / 354 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.943e-05/0.008861, allocations: 35.36 kB / 354 MB, free: 3.082 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.00888, allocations: 3.938 kB / 354 MB, free: 3.078 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/0.008999, allocations: 108.4 kB / 354.2 MB, free: 2.949 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.009, allocations: 0 / 354.2 MB, free: 2.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004678/0.009468, allocations: 249.2 kB / 354.4 MB, free: 2.699 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.009499, allocations: 85.11 kB / 354.5 MB, free: 2.598 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.009674, allocations: 406.6 kB / 354.9 MB, free: 2.184 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.009691, allocations: 37.64 kB / 354.9 MB, free: 2.141 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.009753, allocations: 219 kB / 355.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.009787, allocations: 47.62 kB / 355.2 MB, free: 1.875 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.009826, allocations: 43.34 kB / 355.2 MB, free: 1.824 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.821e-05/0.009894, allocations: 0.5312 MB / 355.7 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.795e-05/0.009922, allocations: 19.92 kB / 355.8 MB, free: 1.262 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.993e-05/0.009962, allocations: 62.7 kB / 355.8 MB, free: 1.184 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.616e-05/0.01004, allocations: 94.8 kB / 355.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.01004, allocations: 0 / 355.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001477/0.01019, allocations: 153.4 kB / 356.1 MB, free: 0.918 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.0102, allocations: 8 kB / 356.1 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01021, allocations: 0 / 356.1 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.01022, allocations: 0 / 356.1 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.912e-05/0.01031, allocations: 39.91 kB / 356.1 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.01031, allocations: 0 / 356.1 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.01036, allocations: 12 kB / 356.1 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.01037, allocations: 8.75 kB / 356.1 MB, free: 0.8516 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 9.584e-05/0.01046, allocations: 172.5 kB / 356.3 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.564e-05/0.0105, allocations: 39.8 kB / 356.3 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.01071, allocations: 168.5 kB / 356.5 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.01072, allocations: 0 / 356.5 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.01072, allocations: 4 kB / 356.5 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.01072, allocations: 3.984 kB / 356.5 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004719/0.0112, allocations: 0.6136 MB / 357.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.0112, allocations: 12.03 kB / 357.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.586e-05/0.01126, allocations: 19.94 kB / 357.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.01126, allocations: 0 / 357.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.01127, allocations: 7.984 kB / 357.2 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.01128, allocations: 4 kB / 357.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01128, allocations: 0 / 357.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.01159, allocations: 466 kB / 357.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.892e-05/0.01162, allocations: 27.8 kB / 357.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.01165, allocations: 8 kB / 357.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.149e-05/0.01173, allocations: 4 kB / 357.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.01178, allocations: 23.91 kB / 357.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.0118, allocations: 8 kB / 357.7 MB, free: 15.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00015/0.01195, allocations: 267 kB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.01195, allocations: 0 / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002282/0.01218, allocations: 39.94 kB / 358 MB, free: 14.9 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.001057/0.01323, allocations: 449.9 kB / 358.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.01345, allocations: 90.81 kB / 358.5 MB, free: 14.47 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.01345, allocations: 4.125 kB / 358.5 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.284e-05/0.01352, allocations: 51.59 kB / 358.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.01389, allocations: 69.61 kB / 358.6 MB, free: 14.35 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007526/0.01465, allocations: 464.9 kB / 359.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.517e-05/0.01473, allocations: 99.95 kB / 359.2 MB, free: 13.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.749e-05/0.01481, allocations: 33.59 kB / 359.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.01492, allocations: 110.2 kB / 359.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of SimCode: time 1.703e-06/0.01492, allocations: 0 / 359.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of Templates: time 0.006252/0.02117, allocations: 3.219 MB / 362.6 MB, free: 10.39 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.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.3516531959176064]