Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.001564/0.001564, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.00185/0.00185, allocations: 165.3 kB / 23.79 MB, free: 0.7812 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 0.9636/0.9636, allocations: 158.6 MB / 185.7 MB, free: 2.508 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.1237/0.1237, allocations: 32.37 MB / 270.4 MB, free: 14.69 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.235e-05, allocations: 8.219 kB / 347.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002284/0.002317, allocations: 1.734 MB / 349.5 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009452/0.003262, allocations: 0.7998 MB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.256e-05/0.003335, allocations: 0 / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.003686, allocations: 111.6 kB / 350.4 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.00391, allocations: 87.62 kB / 350.5 MB, free: 6.617 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.004114, allocations: 83.72 kB / 350.6 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.004276, allocations: 119.6 kB / 350.7 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.112e-05/0.004367, allocations: 12.22 kB / 350.7 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.923e-05/0.004447, allocations: 67.81 kB / 350.8 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.779e-05/0.004534, allocations: 67.84 kB / 350.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.004551, allocations: 4 kB / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.008e-05/0.004621, allocations: 43.94 kB / 350.9 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.317e-05/0.004675, allocations: 39.83 kB / 350.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.004719, allocations: 15.94 kB / 350.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.004874, allocations: 115.5 kB / 351 MB, free: 6.059 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004876, allocations: 0 / 351 MB, free: 6.059 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004877, allocations: 0 / 351 MB, free: 6.059 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.004882, allocations: 0 / 351 MB, free: 6.059 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.0003994/0.005282, allocations: 475.7 kB / 351.5 MB, free: 5.559 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.005325, allocations: 8.031 kB / 351.5 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.376e-05/0.005379, allocations: 16.84 kB / 351.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.005547, allocations: 176.1 kB / 351.7 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.005566, allocations: 384 / 351.7 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.005589, allocations: 4.375 kB / 351.7 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.00573, allocations: 66.92 kB / 351.8 MB, free: 5.258 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.005742, allocations: 3.938 kB / 351.8 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.005755, allocations: 0 / 351.8 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.005763, allocations: 0 / 351.8 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.536e-05/0.005818, allocations: 23.97 kB / 351.8 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.006154, allocations: 295.8 kB / 352.1 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.00629, allocations: 67.09 kB / 352.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.924e-05/0.006329, allocations: 23.62 kB / 352.2 MB, free: 4.801 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.006346, allocations: 0 / 352.2 MB, free: 4.801 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/0.006465, allocations: 80.97 kB / 352.3 MB, free: 4.707 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.006467, allocations: 0 / 352.3 MB, free: 4.707 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004347/0.006901, allocations: 181.2 kB / 352.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.006929, allocations: 59.39 kB / 352.5 MB, free: 4.453 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.007058, allocations: 254.8 kB / 352.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.397e-06/0.007067, allocations: 29.7 kB / 352.8 MB, free: 4.152 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.00711, allocations: 166.8 kB / 352.9 MB, free: 3.984 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.007137, allocations: 31.78 kB / 353 MB, free: 3.953 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.00717, allocations: 31.38 kB / 353 MB, free: 3.914 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.159e-05/0.007222, allocations: 0.504 MB / 353.5 MB, free: 3.398 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.415e-05/0.007246, allocations: 12 kB / 353.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.242e-05/0.007278, allocations: 35.36 kB / 353.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.256e-05/0.007341, allocations: 63.23 kB / 353.6 MB, free: 3.273 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.007342, allocations: 0 / 353.6 MB, free: 3.273 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001071/0.007449, allocations: 101.6 kB / 353.7 MB, free: 3.168 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.007462, allocations: 8 kB / 353.7 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.007466, allocations: 4.031 kB / 353.7 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.007479, allocations: 0 / 353.7 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.246e-05/0.007551, allocations: 23.98 kB / 353.7 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.007558, allocations: 480 / 353.7 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.665e-05/0.007584, allocations: 0 / 353.7 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.007591, allocations: 4 kB / 353.7 MB, free: 3.129 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 5.611e-05/0.007647, allocations: 172.4 kB / 353.9 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.007663, allocations: 15.91 kB / 353.9 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.00781, allocations: 127 kB / 354 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.007813, allocations: 3.984 kB / 354.1 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.007817, allocations: 8 kB / 354.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.00782, allocations: 3.984 kB / 354.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.008077, allocations: 428.9 kB / 354.5 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.008078, allocations: 0 / 354.5 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.893e-05/0.008107, allocations: 12 kB / 354.5 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.00811, allocations: 4 kB / 354.5 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.008119, allocations: 3.984 kB / 354.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.00812, allocations: 0 / 354.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.008122, allocations: 4 kB / 354.5 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.00825, allocations: 279.2 kB / 354.8 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.008268, allocations: 15.94 kB / 354.8 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.008289, allocations: 4 kB / 354.8 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.301e-05/0.008332, allocations: 7.984 kB / 354.8 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.008372, allocations: 7.984 kB / 354.8 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.008389, allocations: 4 kB / 354.8 MB, free: 1.961 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7e-05/0.008459, allocations: 198.9 kB / 355 MB, free: 1.766 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008459, allocations: 0 / 355 MB, free: 1.766 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001716/0.008631, allocations: 27.94 kB / 355 MB, free: 1.738 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.0009998/0.00963, allocations: 431.7 kB / 355.5 MB, free: 1.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001392/0.00977, allocations: 67.59 kB / 355.5 MB, free: 1.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.009772, allocations: 0 / 355.5 MB, free: 1.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.461e-05/0.009816, allocations: 39.55 kB / 355.6 MB, free: 1.297 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.01007, allocations: 35.97 kB / 355.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.01047, allocations: 265.6 kB / 355.9 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.035e-05/0.01051, allocations: 79.2 kB / 355.9 MB, free: 0.875 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.955e-05/0.01055, allocations: 25.08 kB / 356 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.01059, allocations: 16.5 kB / 356 MB, free: 0.832 MB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01059, allocations: 0 / 356 MB, free: 0.832 MB / 282.7 MB Notification: Performance of Templates: time 0.003652/0.01424, allocations: 1.989 MB / 358 MB, free: 14.87 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.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.4350921269506216]