Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.002099/0.002099, allocations: 91.67 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.002201/0.002201, allocations: 165.2 kB / 23.52 MB, free: 0.8984 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.742/1.742, allocations: 158.6 MB / 185.3 MB, free: 2.891 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.265/0.265, 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.714e-05/3.99e-05, allocations: 2.312 kB / 347 MB, free: 9.723 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.004029/0.004069, allocations: 1.716 MB / 348.7 MB, free: 7.996 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.005734, allocations: 0.7766 MB / 349.5 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.005898, allocations: 0 / 349.5 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005597/0.006457, allocations: 47.7 kB / 349.6 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003805/0.006838, allocations: 59.7 kB / 349.6 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.007232, allocations: 83.69 kB / 349.7 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.007509, allocations: 103.6 kB / 349.8 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.007666, allocations: 8.219 kB / 349.8 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.007841, allocations: 47.84 kB / 349.8 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.008002, allocations: 27.91 kB / 349.9 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.673e-05/0.008039, allocations: 4 kB / 349.9 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.008205, allocations: 47.86 kB / 349.9 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.327e-05/0.008298, allocations: 23.91 kB / 349.9 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.578e-05/0.008374, allocations: 23.92 kB / 350 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000372/0.008746, allocations: 115.6 kB / 350.1 MB, free: 6.629 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.00875, allocations: 0 / 350.1 MB, free: 6.629 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.008753, allocations: 0 / 350.1 MB, free: 6.629 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.008762, allocations: 0 / 350.1 MB, free: 6.629 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.000896/0.009658, allocations: 447.6 kB / 350.5 MB, free: 6.156 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/0.009715, allocations: 12.03 kB / 350.5 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.991e-05/0.009795, allocations: 12.84 kB / 350.5 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.01006, allocations: 154.5 kB / 350.7 MB, free: 5.957 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.01008, allocations: 4.375 kB / 350.7 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.01011, allocations: 8.375 kB / 350.7 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.01027, allocations: 50.23 kB / 350.8 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.01028, allocations: 3.938 kB / 350.8 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.0103, allocations: 4 kB / 350.8 MB, free: 5.883 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.01031, allocations: 0 / 350.8 MB, free: 5.883 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.58e-05/0.01039, allocations: 15.98 kB / 350.8 MB, free: 5.867 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005013/0.01089, allocations: 299.7 kB / 351.1 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.01111, allocations: 63.17 kB / 351.1 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.08e-05/0.01117, allocations: 23.61 kB / 351.2 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.0112, allocations: 4 kB / 351.2 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.01137, allocations: 80.94 kB / 351.2 MB, free: 5.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.01137, allocations: 0 / 351.2 MB, free: 5.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006224/0.012, allocations: 169.5 kB / 351.4 MB, free: 5.168 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.01203, allocations: 59.34 kB / 351.5 MB, free: 5.098 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.0122, allocations: 247.3 kB / 351.7 MB, free: 4.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.01222, allocations: 29.69 kB / 351.7 MB, free: 4.805 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.302e-05/0.01229, allocations: 158.8 kB / 351.9 MB, free: 4.645 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.01233, allocations: 31.78 kB / 351.9 MB, free: 4.613 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.01237, allocations: 27.38 kB / 351.9 MB, free: 4.578 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.0125, allocations: 0.5001 MB / 352.4 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.302e-05/0.01256, allocations: 27.98 kB / 352.5 MB, free: 4.039 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.199e-05/0.01262, allocations: 43.36 kB / 352.5 MB, free: 3.988 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.01273, allocations: 71.22 kB / 352.6 MB, free: 3.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.01273, allocations: 4 kB / 352.6 MB, free: 3.906 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001577/0.01289, allocations: 97.59 kB / 352.7 MB, free: 3.805 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.01291, allocations: 4 kB / 352.7 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.01292, allocations: 4 kB / 352.7 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.01294, allocations: 0 / 352.7 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.01304, allocations: 20.3 kB / 352.7 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.01305, allocations: 4.031 kB / 352.7 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.337e-05/0.01309, allocations: 4 kB / 352.7 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.01311, allocations: 8 kB / 352.7 MB, free: 3.762 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 0.0001075/0.01321, allocations: 172.5 kB / 352.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.01324, allocations: 15.91 kB / 352.9 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.01347, allocations: 119.2 kB / 353 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01347, allocations: 0 / 353 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.01348, allocations: 0 / 353 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.01349, allocations: 3.984 kB / 353 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003927/0.01388, allocations: 417 kB / 353.4 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01388, allocations: 4.031 kB / 353.4 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.474e-05/0.01392, allocations: 8 kB / 353.5 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.01392, allocations: 4 kB / 353.5 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.01393, allocations: 3.984 kB / 353.5 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01393, allocations: 0 / 353.5 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.01394, allocations: 7.938 kB / 353.5 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.01417, allocations: 267.5 kB / 353.7 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.01419, allocations: 11.89 kB / 353.7 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.01421, allocations: 0 / 353.7 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.304e-05/0.01428, allocations: 4 kB / 353.7 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.01433, allocations: 15.98 kB / 353.8 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.01435, allocations: 4 kB / 353.8 MB, free: 2.637 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.849e-05/0.01445, allocations: 179.8 kB / 353.9 MB, free: 2.461 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01445, allocations: 3.938 kB / 353.9 MB, free: 2.457 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002612/0.01471, allocations: 23.94 kB / 354 MB, free: 2.434 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.00324/0.01795, allocations: 0.4905 MB / 354.5 MB, free: 2.055 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.01815, allocations: 67.59 kB / 354.5 MB, free: 1.984 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.01816, allocations: 0 / 354.5 MB, free: 1.984 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.164e-05/0.01823, allocations: 39.61 kB / 354.6 MB, free: 1.941 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.01862, allocations: 41.45 kB / 354.6 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005053/0.01912, allocations: 225.1 kB / 354.8 MB, free: 1.652 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.972e-05/0.01921, allocations: 96.42 kB / 354.9 MB, free: 1.539 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.905e-05/0.01926, allocations: 20.78 kB / 354.9 MB, free: 1.516 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.672e-05/0.01931, allocations: 16.5 kB / 355 MB, free: 1.5 MB / 282.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01931, allocations: 0 / 355 MB, free: 1.5 MB / 282.7 MB Notification: Performance of Templates: time 0.006464/0.02577, allocations: 1.839 MB / 356.8 MB, free: 15.68 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.81286998395808]