Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.00272/0.00272, allocations: 92.97 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.003123/0.003123, allocations: 169.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.836/1.836, 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.2706/0.2706, allocations: 32.37 MB / 270 MB, free: 14.76 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.697e-06/3.697e-06, allocations: 0 / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.727e-05/5.097e-05, allocations: 6.25 kB / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003864/0.003915, allocations: 1.712 MB / 348.7 MB, free: 8.004 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002589/0.006503, allocations: 1.49 MB / 350.2 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.006634, allocations: 0 / 350.2 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005403/0.007175, allocations: 47.64 kB / 350.3 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004314/0.007606, allocations: 59.69 kB / 350.3 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.007929, allocations: 87.7 kB / 350.4 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.008143, allocations: 99.62 kB / 350.5 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.008314, allocations: 8.234 kB / 350.5 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.00846, allocations: 59.81 kB / 350.6 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.008632, allocations: 23.92 kB / 350.6 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.878e-05/0.008671, allocations: 7.938 kB / 350.6 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.008834, allocations: 63.89 kB / 350.7 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.236e-05/0.008916, allocations: 19.92 kB / 350.7 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.026e-05/0.008977, allocations: 15.92 kB / 350.7 MB, free: 6.02 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.009323, allocations: 123.6 kB / 350.8 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.009332, allocations: 4 kB / 350.8 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.009334, allocations: 0 / 350.8 MB, free: 5.895 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.009344, allocations: 0 / 350.8 MB, free: 5.895 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.0007853/0.01013, allocations: 447.5 kB / 351.3 MB, free: 5.422 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.539e-05/0.0102, allocations: 8.031 kB / 351.3 MB, free: 5.414 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.602e-05/0.01029, allocations: 12.89 kB / 351.3 MB, free: 5.402 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.01058, allocations: 144.4 kB / 351.4 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.0106, allocations: 4.375 kB / 351.4 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.01063, allocations: 384 / 351.4 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.01083, allocations: 99.31 kB / 351.5 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.01085, allocations: 3.938 kB / 351.5 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.01087, allocations: 0 / 351.5 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.01088, allocations: 4 kB / 351.5 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.99e-05/0.01096, allocations: 23.92 kB / 351.6 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004631/0.01143, allocations: 287.8 kB / 351.8 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.01162, allocations: 59.17 kB / 351.9 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.456e-05/0.01167, allocations: 27.61 kB / 351.9 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.0117, allocations: 0 / 351.9 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.01187, allocations: 76.98 kB / 352 MB, free: 4.574 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.01187, allocations: 0 / 352 MB, free: 4.574 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000669/0.01254, allocations: 177.3 kB / 352.2 MB, free: 4.395 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.0126, allocations: 77.11 kB / 352.2 MB, free: 4.301 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.01276, allocations: 221 kB / 352.5 MB, free: 4.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.01278, allocations: 29.69 kB / 352.5 MB, free: 4.035 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.094e-05/0.01285, allocations: 146.9 kB / 352.6 MB, free: 3.887 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.01289, allocations: 27.78 kB / 352.7 MB, free: 3.859 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/0.01294, allocations: 35.38 kB / 352.7 MB, free: 3.816 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.0131, allocations: 0.4923 MB / 353.2 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.521e-05/0.01315, allocations: 19.98 kB / 353.2 MB, free: 3.293 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.244e-05/0.01323, allocations: 80.69 kB / 353.3 MB, free: 3.195 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.01333, allocations: 71.25 kB / 353.4 MB, free: 3.117 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.01333, allocations: 0 / 353.4 MB, free: 3.117 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000168/0.0135, allocations: 121.5 kB / 353.5 MB, free: 2.992 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.01352, allocations: 4 kB / 353.5 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.01352, allocations: 384 / 353.5 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.01355, allocations: 0 / 353.5 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.01366, allocations: 16 kB / 353.5 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.01366, allocations: 4 kB / 353.5 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.614e-05/0.01371, allocations: 3.984 kB / 353.5 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.01372, allocations: 4 kB / 353.5 MB, free: 2.961 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.0001084/0.01383, allocations: 168.5 kB / 353.7 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.01385, allocations: 15.98 kB / 353.7 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.01413, allocations: 118.5 kB / 353.8 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.01413, allocations: 0 / 353.8 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.01414, allocations: 0 / 353.8 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.01414, allocations: 0 / 353.8 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.01456, allocations: 405 kB / 354.2 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01456, allocations: 0 / 354.2 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.876e-05/0.0146, allocations: 15.92 kB / 354.2 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.0146, allocations: 4 kB / 354.2 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.01462, allocations: 4 kB / 354.2 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01462, allocations: 0 / 354.2 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.01462, allocations: 8.031 kB / 354.2 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.01487, allocations: 267.4 kB / 354.5 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.01489, allocations: 15.94 kB / 354.5 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.01492, allocations: 0 / 354.5 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.734e-05/0.01499, allocations: 4 kB / 354.5 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.045e-05/0.01505, allocations: 7.984 kB / 354.5 MB, free: 1.863 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.01507, allocations: 4 kB / 354.5 MB, free: 1.859 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.504e-05/0.01516, allocations: 167.1 kB / 354.7 MB, free: 1.695 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01516, allocations: 0 / 354.7 MB, free: 1.695 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002805/0.01544, allocations: 31.94 kB / 354.7 MB, free: 1.664 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.003731/0.01918, allocations: 0.5353 MB / 355.2 MB, free: 1.234 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002423/0.01942, allocations: 71.59 kB / 355.3 MB, free: 1.16 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.01942, allocations: 0 / 355.3 MB, free: 1.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.817e-05/0.0195, allocations: 43.61 kB / 355.4 MB, free: 1.113 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.01991, allocations: 33.77 kB / 355.4 MB, free: 1.082 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006023/0.02051, allocations: 205.1 kB / 355.6 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.011e-05/0.0206, allocations: 87.3 kB / 355.7 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.772e-05/0.02066, allocations: 16.48 kB / 355.7 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.02071, allocations: 20.48 kB / 355.7 MB, free: 0.707 MB / 282.7 MB Notification: Performance of SimCode: time 1.333e-06/0.02072, allocations: 0 / 355.7 MB, free: 0.707 MB / 282.7 MB Notification: Performance of Templates: time 0.007618/0.02833, allocations: 2.119 MB / 357.8 MB, free: 14.6 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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: 6.324749205028638]