Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.002465/0.002465, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.002704/0.002704, allocations: 173.6 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.608/1.608, allocations: 158.6 MB / 185.3 MB, free: 2.902 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.2336/0.2336, allocations: 32.37 MB / 270 MB, free: 14.77 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/2.952e-05, allocations: 2.312 kB / 347 MB, free: 9.723 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002725/0.002754, allocations: 1.703 MB / 348.7 MB, free: 8.008 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.00395, allocations: 0.7805 MB / 349.5 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.935e-05/0.004019, allocations: 0 / 349.5 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003617/0.004381, allocations: 47.7 kB / 349.5 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002244/0.004605, allocations: 63.69 kB / 349.6 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.004854, allocations: 83.7 kB / 349.7 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.005013, allocations: 99.62 kB / 349.8 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.792e-05/0.005111, allocations: 8.219 kB / 349.8 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.005221, allocations: 51.84 kB / 349.8 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.077e-05/0.005302, allocations: 23.91 kB / 349.9 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.005327, allocations: 4 kB / 349.9 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.917e-05/0.005426, allocations: 47.91 kB / 349.9 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.037e-05/0.005487, allocations: 23.86 kB / 349.9 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.867e-05/0.005535, allocations: 15.94 kB / 350 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.005769, allocations: 119.6 kB / 350.1 MB, free: 6.641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.005773, allocations: 0 / 350.1 MB, free: 6.641 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.005775, allocations: 0 / 350.1 MB, free: 6.641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.005782, allocations: 4 kB / 350.1 MB, free: 6.637 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.0005346/0.006316, allocations: 447.6 kB / 350.5 MB, free: 6.164 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.006355, allocations: 8.031 kB / 350.5 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.502e-05/0.00642, allocations: 20.84 kB / 350.5 MB, free: 6.137 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.006611, allocations: 154.5 kB / 350.7 MB, free: 5.961 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.006625, allocations: 384 / 350.7 MB, free: 5.961 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.006648, allocations: 4.375 kB / 350.7 MB, free: 5.957 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.00678, allocations: 58.23 kB / 350.8 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.006793, allocations: 3.938 kB / 350.8 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.006804, allocations: 0 / 350.8 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.006809, allocations: 0 / 350.8 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.125e-05/0.006881, allocations: 19.98 kB / 350.8 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.00726, allocations: 291.8 kB / 351.1 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.007429, allocations: 67.09 kB / 351.1 MB, free: 5.473 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.177e-05/0.00748, allocations: 23.62 kB / 351.2 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.007503, allocations: 4 kB / 351.2 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001438/0.007646, allocations: 73 kB / 351.2 MB, free: 5.355 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.007648, allocations: 4 kB / 351.2 MB, free: 5.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005169/0.008165, allocations: 181.4 kB / 351.4 MB, free: 5.168 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.00819, allocations: 51.41 kB / 351.5 MB, free: 5.105 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.008327, allocations: 251.3 kB / 351.7 MB, free: 4.844 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.008337, allocations: 29.64 kB / 351.7 MB, free: 4.809 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.008387, allocations: 162.8 kB / 351.9 MB, free: 4.645 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.008412, allocations: 23.8 kB / 351.9 MB, free: 4.621 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.008453, allocations: 31.38 kB / 352 MB, free: 4.582 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.913e-05/0.008532, allocations: 0.504 MB / 352.5 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.654e-05/0.008578, allocations: 20 kB / 352.5 MB, free: 4.047 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.274e-05/0.008631, allocations: 43.36 kB / 352.5 MB, free: 3.996 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.759e-05/0.008719, allocations: 71.3 kB / 352.6 MB, free: 3.918 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.008719, allocations: 0 / 352.6 MB, free: 3.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001474/0.008867, allocations: 105.5 kB / 352.7 MB, free: 3.809 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.008882, allocations: 8 kB / 352.7 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.008887, allocations: 0 / 352.7 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.008902, allocations: 0 / 352.7 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.401e-05/0.008986, allocations: 19.92 kB / 352.7 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.008993, allocations: 4 kB / 352.7 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.023e-05/0.009034, allocations: 0 / 352.7 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.009042, allocations: 8.406 kB / 352.7 MB, free: 3.77 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 6.919e-05/0.009111, allocations: 177.5 kB / 352.9 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.009133, allocations: 15.91 kB / 352.9 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.009343, allocations: 119.2 kB / 353 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.009345, allocations: 0 / 353 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.009348, allocations: 4 kB / 353 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.009352, allocations: 0 / 353 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003389/0.009691, allocations: 409 kB / 353.4 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.009693, allocations: 0 / 353.4 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.574e-05/0.009728, allocations: 20.02 kB / 353.5 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.00973, allocations: 0 / 353.5 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.009741, allocations: 4 kB / 353.5 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.009743, allocations: 4 kB / 353.5 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.009744, allocations: 0 / 353.5 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.009935, allocations: 267.4 kB / 353.7 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.009952, allocations: 11.95 kB / 353.7 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.009976, allocations: 4 kB / 353.7 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.436e-05/0.01004, allocations: 3.984 kB / 353.7 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.01008, allocations: 11.92 kB / 353.8 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.0101, allocations: 8 kB / 353.8 MB, free: 2.645 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.319e-05/0.01018, allocations: 179.8 kB / 353.9 MB, free: 2.469 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01018, allocations: 3.938 kB / 353.9 MB, free: 2.465 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002607/0.01044, allocations: 27.94 kB / 354 MB, free: 2.438 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.003303/0.01375, allocations: 0.4904 MB / 354.5 MB, free: 2.059 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002945/0.01404, allocations: 71.59 kB / 354.5 MB, free: 1.984 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.01405, allocations: 0 / 354.5 MB, free: 1.984 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.504e-05/0.01412, allocations: 35.67 kB / 354.6 MB, free: 1.945 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.01457, allocations: 41.39 kB / 354.6 MB, free: 1.906 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000579/0.01515, allocations: 225.1 kB / 354.8 MB, free: 1.656 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.406e-05/0.01524, allocations: 96.42 kB / 354.9 MB, free: 1.543 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.697e-05/0.0153, allocations: 16.78 kB / 354.9 MB, free: 1.523 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.289e-05/0.01534, allocations: 16.5 kB / 355 MB, free: 1.508 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01534, allocations: 0 / 355 MB, free: 1.508 MB / 282.7 MB Notification: Performance of Templates: time 0.005711/0.02105, allocations: 1.839 MB / 356.8 MB, free: 15.69 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.386216674000025]