Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.00109/0.00109, allocations: 91.33 kB / 20.43 MB, free: 4.137 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.001007/0.001007, allocations: 169 kB / 23.8 MB, free: 0.7734 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.9204/0.9204, allocations: 158.6 MB / 185.7 MB, free: 2.91 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.2189/0.2189, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.493e-05, allocations: 6.25 kB / 347.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002215/0.00224, allocations: 1.736 MB / 349.5 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009568/0.003197, allocations: 0.7998 MB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.126e-05/0.003268, allocations: 0 / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004481/0.003716, allocations: 43.77 kB / 350.3 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.003957, allocations: 59.69 kB / 350.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.004144, allocations: 87.7 kB / 350.5 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.004283, allocations: 95.69 kB / 350.6 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.004384, allocations: 8.219 kB / 350.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.375e-05/0.004467, allocations: 55.78 kB / 350.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.782e-05/0.004545, allocations: 23.91 kB / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.004569, allocations: 7.984 kB / 350.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.963e-05/0.004648, allocations: 43.92 kB / 350.7 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.806e-05/0.004706, allocations: 19.92 kB / 350.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.24e-05/0.004749, allocations: 15.94 kB / 350.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.004937, allocations: 107.5 kB / 350.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.00494, allocations: 0 / 350.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004941, allocations: 4 kB / 350.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.004947, allocations: 0 / 350.8 MB, free: 6.25 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004627/0.00541, allocations: 447.8 kB / 351.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.005452, allocations: 12.03 kB / 351.3 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.031e-05/0.005502, allocations: 12.84 kB / 351.3 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.005652, allocations: 150.8 kB / 351.5 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.005671, allocations: 4.375 kB / 351.5 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.005692, allocations: 384 / 351.5 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.005814, allocations: 66.88 kB / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.005824, allocations: 3.938 kB / 351.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.005834, allocations: 4 kB / 351.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.964e-06/0.005841, allocations: 0 / 351.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.744e-05/0.005878, allocations: 15.98 kB / 351.5 MB, free: 5.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002727/0.006151, allocations: 283.8 kB / 351.8 MB, free: 5.168 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.751e-05/0.006249, allocations: 55.11 kB / 351.9 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.855e-05/0.006277, allocations: 27.59 kB / 351.9 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.006289, allocations: 3.938 kB / 351.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.053e-05/0.006379, allocations: 65.05 kB / 352 MB, free: 4.988 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.006381, allocations: 0 / 352 MB, free: 4.988 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003858/0.006766, allocations: 161.6 kB / 352.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.006793, allocations: 51.41 kB / 352.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.913e-05/0.006892, allocations: 234.6 kB / 352.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.006904, allocations: 29.7 kB / 352.4 MB, free: 4.48 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.006947, allocations: 150.9 kB / 352.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.006976, allocations: 27.75 kB / 352.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.007013, allocations: 27.38 kB / 352.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.205e-05/0.007075, allocations: 0.4962 MB / 353.1 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.627e-05/0.007101, allocations: 12.19 kB / 353.1 MB, free: 3.746 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.041e-05/0.007131, allocations: 43.31 kB / 353.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.985e-05/0.007181, allocations: 51.31 kB / 353.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.007183, allocations: 0 / 353.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.903e-05/0.007282, allocations: 93.55 kB / 353.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.007296, allocations: 8 kB / 353.3 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.007302, allocations: 0 / 353.3 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.007316, allocations: 0 / 353.3 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.451e-05/0.007391, allocations: 12 kB / 353.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.007398, allocations: 4 kB / 353.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.871e-05/0.007426, allocations: 7.984 kB / 353.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.007433, allocations: 8.031 kB / 353.4 MB, free: 3.5 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 (10): * Single equations (assignments): 10 * 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.459e-05/0.007488, allocations: 168.5 kB / 353.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.007501, allocations: 15.91 kB / 353.6 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.007637, allocations: 107.2 kB / 353.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.00764, allocations: 0 / 353.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.007643, allocations: 4 kB / 353.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.007646, allocations: 0 / 353.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.007879, allocations: 385 kB / 354 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.007881, allocations: 0 / 354 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.925e-05/0.00791, allocations: 16.02 kB / 354.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.007914, allocations: 0 / 354.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.007923, allocations: 8 kB / 354.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.007929, allocations: 0 / 354.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.007931, allocations: 0 / 354.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.008052, allocations: 267.3 kB / 354.3 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.252e-05/0.008065, allocations: 7.953 kB / 354.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.008085, allocations: 4 kB / 354.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.446e-05/0.00813, allocations: 7.984 kB / 354.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.008176, allocations: 7.984 kB / 354.3 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.008193, allocations: 11.98 kB / 354.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.083e-05/0.008254, allocations: 167.8 kB / 354.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008254, allocations: 0 / 354.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001823/0.008436, allocations: 27.94 kB / 354.6 MB, free: 2.23 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 (9): * Single equations (assignments): 7 * 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.0009525/0.009388, allocations: 441.2 kB / 355 MB, free: 1.895 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000164/0.009552, allocations: 51.59 kB / 355 MB, free: 1.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.009554, allocations: 3.938 kB / 355 MB, free: 1.836 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.388e-05/0.009598, allocations: 31.67 kB / 355.1 MB, free: 1.801 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.00987, allocations: 39.97 kB / 355.1 MB, free: 1.762 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/0.01022, allocations: 221.4 kB / 355.3 MB, free: 1.516 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.364e-05/0.01025, allocations: 63.34 kB / 355.4 MB, free: 1.434 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.223e-05/0.01028, allocations: 16.47 kB / 355.4 MB, free: 1.418 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.01032, allocations: 20.5 kB / 355.4 MB, free: 1.398 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01032, allocations: 0 / 355.4 MB, free: 1.398 MB / 282.7 MB Notification: Performance of Templates: time 0.003959/0.01428, allocations: 1.986 MB / 357.4 MB, free: 15.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.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.3157055438496172]