Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.001701/0.001701, allocations: 92.2 kB / 20.21 MB, free: 4.199 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.001616/0.001616, allocations: 157.7 kB / 23.52 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.653/1.653, allocations: 158.6 MB / 185.3 MB, free: 2.887 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.2295/0.2295, allocations: 32.37 MB / 270 MB, free: 14.87 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.859e-05/3.066e-05, allocations: 6.25 kB / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002556/0.002587, allocations: 1.689 MB / 348.7 MB, free: 8.027 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.00369, allocations: 0.7687 MB / 349.5 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.823e-05/0.003758, allocations: 4 kB / 349.5 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.004083, allocations: 51.75 kB / 349.5 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.004299, allocations: 59.69 kB / 349.6 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.004525, allocations: 87.64 kB / 349.7 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.004679, allocations: 99.67 kB / 349.8 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.814e-05/0.004767, allocations: 4.234 kB / 349.8 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.867e-05/0.004856, allocations: 59.77 kB / 349.8 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.287e-05/0.004929, allocations: 27.91 kB / 349.9 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.004952, allocations: 8 kB / 349.9 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.241e-05/0.005034, allocations: 39.92 kB / 349.9 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.263e-05/0.005087, allocations: 23.92 kB / 349.9 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.818e-05/0.005135, allocations: 23.86 kB / 349.9 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.005324, allocations: 119.6 kB / 350.1 MB, free: 6.652 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.005327, allocations: 0 / 350.1 MB, free: 6.652 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005328, allocations: 0 / 350.1 MB, free: 6.652 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.005333, allocations: 0 / 350.1 MB, free: 6.652 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.0004505/0.005783, allocations: 353.5 kB / 350.4 MB, free: 6.277 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.005815, allocations: 8.031 kB / 350.4 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.496e-05/0.00587, allocations: 16.89 kB / 350.4 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.006057, allocations: 153.6 kB / 350.6 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.006071, allocations: 4.375 kB / 350.6 MB, free: 6.074 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.006096, allocations: 4.312 kB / 350.6 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.006243, allocations: 58.23 kB / 350.7 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.006255, allocations: 3.938 kB / 350.7 MB, free: 6.004 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.006265, allocations: 0 / 350.7 MB, free: 6.004 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.00627, allocations: 0 / 350.7 MB, free: 6.004 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.43e-05/0.006345, allocations: 31.91 kB / 350.7 MB, free: 5.973 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002727/0.006617, allocations: 236.5 kB / 350.9 MB, free: 5.711 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.006774, allocations: 58.69 kB / 351 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.249e-05/0.006827, allocations: 24.78 kB / 351 MB, free: 5.617 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.006842, allocations: 0 / 351 MB, free: 5.617 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/0.00697, allocations: 71.33 kB / 351.1 MB, free: 5.535 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.006971, allocations: 3.984 kB / 351.1 MB, free: 5.531 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005393/0.00751, allocations: 189.3 kB / 351.3 MB, free: 5.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.007533, allocations: 51.41 kB / 351.3 MB, free: 5.277 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.007681, allocations: 226.8 kB / 351.5 MB, free: 5.043 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.007692, allocations: 33.7 kB / 351.6 MB, free: 5.004 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.014e-05/0.007732, allocations: 104.1 kB / 351.7 MB, free: 4.898 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.007757, allocations: 27.78 kB / 351.7 MB, free: 4.871 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.00779, allocations: 21.72 kB / 351.7 MB, free: 4.844 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.22e-05/0.007842, allocations: 330.8 kB / 352 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.303e-05/0.007896, allocations: 16 kB / 352.1 MB, free: 4.496 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.494e-05/0.00795, allocations: 33.7 kB / 352.1 MB, free: 4.457 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.008051, allocations: 69.58 kB / 352.2 MB, free: 4.383 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.008052, allocations: 0 / 352.2 MB, free: 4.383 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001748/0.008227, allocations: 117.5 kB / 352.3 MB, free: 4.262 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.008239, allocations: 8 kB / 352.3 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.008244, allocations: 0 / 352.3 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.008264, allocations: 0 / 352.3 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.634e-05/0.008351, allocations: 19.98 kB / 352.3 MB, free: 4.234 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.008355, allocations: 0 / 352.3 MB, free: 4.234 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.544e-05/0.008401, allocations: 384 / 352.3 MB, free: 4.234 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.00841, allocations: 8 kB / 352.3 MB, free: 4.227 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.952e-05/0.008479, allocations: 129.8 kB / 352.4 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.008506, allocations: 19.91 kB / 352.4 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.008736, allocations: 135.2 kB / 352.6 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.008738, allocations: 0 / 352.6 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.008743, allocations: 3.938 kB / 352.6 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.008745, allocations: 0 / 352.6 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003686/0.009114, allocations: 350.9 kB / 352.9 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.009115, allocations: 0 / 352.9 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-05/0.009154, allocations: 15.92 kB / 352.9 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.009157, allocations: 4 kB / 352.9 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.009166, allocations: 0 / 352.9 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.009167, allocations: 4.031 kB / 352.9 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.009169, allocations: 4 kB / 353 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.009376, allocations: 220.2 kB / 353.2 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.972e-05/0.009396, allocations: 15.89 kB / 353.2 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.009418, allocations: 0 / 353.2 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.596e-05/0.009494, allocations: 8 kB / 353.2 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.00954, allocations: 7.984 kB / 353.2 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.009558, allocations: 4 kB / 353.2 MB, free: 3.246 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001147/0.009672, allocations: 176.2 kB / 353.4 MB, free: 3.074 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009672, allocations: 0 / 353.4 MB, free: 3.074 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002657/0.009938, allocations: 27.92 kB / 353.4 MB, free: 3.047 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.002198/0.01214, allocations: 0.4907 MB / 353.9 MB, free: 2.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.01232, allocations: 59.91 kB / 354 MB, free: 2.602 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01232, allocations: 4.062 kB / 354 MB, free: 2.598 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.732e-05/0.01239, allocations: 31.92 kB / 354 MB, free: 2.566 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.01275, allocations: 28.89 kB / 354 MB, free: 2.543 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004525/0.0132, allocations: 261 kB / 354.3 MB, free: 2.262 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.596e-05/0.01328, allocations: 100.8 kB / 354.4 MB, free: 2.141 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.692e-05/0.01332, allocations: 24.84 kB / 354.4 MB, free: 2.117 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.01336, allocations: 16.5 kB / 354.4 MB, free: 2.102 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01336, allocations: 0 / 354.4 MB, free: 2.102 MB / 282.7 MB Notification: Performance of Templates: time 0.004634/0.018, allocations: 1.847 MB / 356.3 MB, free: 276 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.03240291797556]