Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.001467/0.001467, allocations: 95.31 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.001569/0.001569, allocations: 165.3 kB / 23.8 MB, free: 0.7773 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.9478/0.9478, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1642/0.1642, 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.073e-06/2.073e-06, allocations: 3.938 kB / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.824e-05, allocations: 2.312 kB / 347.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002332/0.00236, allocations: 1.74 MB / 349.5 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009096/0.00327, allocations: 0.7998 MB / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.978e-05/0.00335, allocations: 4 kB / 350.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.003682, allocations: 51.75 kB / 350.3 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.003899, allocations: 63.69 kB / 350.4 MB, free: 6.691 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.004136, allocations: 83.7 kB / 350.5 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.0043, allocations: 99.69 kB / 350.6 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.004412, allocations: 4.234 kB / 350.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.191e-05/0.004494, allocations: 55.77 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.304e-05/0.004567, allocations: 27.91 kB / 350.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.004588, allocations: 4 kB / 350.7 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.215e-05/0.00468, allocations: 47.91 kB / 350.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.104e-05/0.004751, allocations: 23.86 kB / 350.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.902e-05/0.0048, allocations: 23.94 kB / 350.8 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.004988, allocations: 115.5 kB / 350.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.004992, allocations: 0 / 350.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.004993, allocations: 0 / 350.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.005, allocations: 0 / 350.9 MB, free: 6.215 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.0004447/0.005444, allocations: 479.7 kB / 351.3 MB, free: 5.711 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.005486, allocations: 8.031 kB / 351.4 MB, free: 5.703 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.592e-05/0.005542, allocations: 20.84 kB / 351.4 MB, free: 5.684 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.005715, allocations: 161.2 kB / 351.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.005734, allocations: 4.375 kB / 351.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.005758, allocations: 4.375 kB / 351.5 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.005887, allocations: 66.88 kB / 351.6 MB, free: 5.414 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.005897, allocations: 3.938 kB / 351.6 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.005907, allocations: 0 / 351.6 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.005916, allocations: 4 kB / 351.6 MB, free: 5.406 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.617e-05/0.005952, allocations: 11.98 kB / 351.6 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.006254, allocations: 303.8 kB / 351.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.006361, allocations: 51.11 kB / 352 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.882e-05/0.00639, allocations: 27.56 kB / 352 MB, free: 4.969 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.006406, allocations: 4 kB / 352 MB, free: 4.965 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.715e-05/0.006503, allocations: 65.05 kB / 352.1 MB, free: 4.887 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.006505, allocations: 0 / 352.1 MB, free: 4.887 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004232/0.006928, allocations: 169.5 kB / 352.2 MB, free: 4.715 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.006951, allocations: 51.41 kB / 352.3 MB, free: 4.652 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.007082, allocations: 274.8 kB / 352.6 MB, free: 4.367 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.007092, allocations: 25.7 kB / 352.6 MB, free: 4.336 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.007139, allocations: 170.8 kB / 352.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.007166, allocations: 27.8 kB / 352.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.0072, allocations: 27.36 kB / 352.8 MB, free: 4.102 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.767e-05/0.007268, allocations: 0.5079 MB / 353.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.883e-05/0.007297, allocations: 11.98 kB / 353.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.292e-05/0.00733, allocations: 39.3 kB / 353.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.22e-05/0.007382, allocations: 51.3 kB / 353.4 MB, free: 3.465 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.007383, allocations: 0 / 353.4 MB, free: 3.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001034/0.007487, allocations: 93.52 kB / 353.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.007501, allocations: 8 kB / 353.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.007506, allocations: 0 / 353.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.007523, allocations: 4.031 kB / 353.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.863e-05/0.007601, allocations: 19.98 kB / 353.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.007608, allocations: 4 kB / 353.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.824e-05/0.007636, allocations: 0 / 353.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.007644, allocations: 4 kB / 353.5 MB, free: 3.328 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.801e-05/0.007702, allocations: 172.4 kB / 353.7 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.007716, allocations: 15.91 kB / 353.7 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.007864, allocations: 111.2 kB / 353.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.007866, allocations: 0 / 353.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.007869, allocations: 0 / 353.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.007873, allocations: 4 kB / 353.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.008116, allocations: 412.9 kB / 354.2 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.008118, allocations: 0 / 354.2 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-05/0.008142, allocations: 12 kB / 354.2 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.008145, allocations: 0 / 354.2 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.008153, allocations: 0 / 354.2 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.008156, allocations: 4 kB / 354.3 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.008158, allocations: 3.938 kB / 354.3 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.008264, allocations: 263.4 kB / 354.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.008276, allocations: 11.91 kB / 354.5 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.008293, allocations: 12.02 kB / 354.5 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.518e-05/0.008328, allocations: 4 kB / 354.5 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.008361, allocations: 7.984 kB / 354.5 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.008374, allocations: 4 kB / 354.6 MB, free: 2.223 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.64e-05/0.00844, allocations: 201.3 kB / 354.7 MB, free: 2.027 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008441, allocations: 0 / 354.7 MB, free: 2.027 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001739/0.008614, allocations: 27.94 kB / 354.8 MB, free: 2 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.0008363/0.009451, allocations: 441.6 kB / 355.2 MB, free: 1.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.009587, allocations: 59.55 kB / 355.3 MB, free: 1.598 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.00959, allocations: 0 / 355.3 MB, free: 1.598 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.925e-05/0.009629, allocations: 31.67 kB / 355.3 MB, free: 1.562 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.009869, allocations: 35.83 kB / 355.3 MB, free: 1.527 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003682/0.01024, allocations: 261.9 kB / 355.6 MB, free: 1.242 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.601e-05/0.01027, allocations: 71.33 kB / 355.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.24e-05/0.01031, allocations: 16.61 kB / 355.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.01034, allocations: 20.48 kB / 355.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01034, allocations: 0 / 355.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of Templates: time 0.004035/0.01437, allocations: 1.861 MB / 357.6 MB, free: 15.27 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.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.3634503013454378]