Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.001505/0.001505, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001138/0.001138, allocations: 168.6 kB / 24.84 MB, free: 9.297 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.001/1.001, allocations: 158.6 MB / 186.7 MB, free: 2.762 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.1319/0.1319, allocations: 32.37 MB / 271.5 MB, free: 14.52 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 349 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.399e-05, allocations: 10.25 kB / 349 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002339/0.002363, allocations: 1.725 MB / 350.7 MB, free: 7.348 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009532/0.003317, allocations: 0.7842 MB / 351.5 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.391e-05/0.0034, allocations: 0 / 351.5 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.003697, allocations: 63.73 kB / 351.6 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.003894, allocations: 59.64 kB / 351.6 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.004099, allocations: 83.7 kB / 351.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.00425, allocations: 95.69 kB / 351.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.941e-05/0.004339, allocations: 12.22 kB / 351.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.847e-05/0.004418, allocations: 51.83 kB / 351.9 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.155e-05/0.004499, allocations: 27.92 kB / 351.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.004518, allocations: 4 kB / 351.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.436e-05/0.004603, allocations: 39.92 kB / 351.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.314e-05/0.004656, allocations: 39.84 kB / 352 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.004691, allocations: 19.92 kB / 352 MB, free: 6.066 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.004854, allocations: 115.5 kB / 352.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.004857, allocations: 0 / 352.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004858, allocations: 0 / 352.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.004863, allocations: 4 kB / 352.1 MB, free: 5.949 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.0003553/0.005218, allocations: 471.7 kB / 352.6 MB, free: 5.453 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.005249, allocations: 8.031 kB / 352.6 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.005287, allocations: 20.84 kB / 352.6 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.005406, allocations: 156.3 kB / 352.8 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.005426, allocations: 4.375 kB / 352.8 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.005442, allocations: 4.375 kB / 352.8 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.404e-05/0.005536, allocations: 58.94 kB / 352.8 MB, free: 5.172 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.005546, allocations: 7.875 kB / 352.8 MB, free: 5.164 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.005553, allocations: 0 / 352.8 MB, free: 5.164 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.005559, allocations: 4 kB / 352.8 MB, free: 5.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.356e-05/0.005582, allocations: 15.98 kB / 352.8 MB, free: 5.145 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.005796, allocations: 260.4 kB / 353.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.594e-05/0.005881, allocations: 59.09 kB / 353.2 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.714e-05/0.005899, allocations: 15.67 kB / 353.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.00591, allocations: 4 kB / 353.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.581e-05/0.005986, allocations: 68.98 kB / 353.2 MB, free: 4.688 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.005987, allocations: 0 / 353.2 MB, free: 4.688 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000286/0.006273, allocations: 137.4 kB / 353.4 MB, free: 4.547 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.006296, allocations: 51.41 kB / 353.4 MB, free: 4.484 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.006399, allocations: 269.3 kB / 353.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.739e-06/0.006409, allocations: 29.7 kB / 353.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.006456, allocations: 166.8 kB / 353.9 MB, free: 4 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.006479, allocations: 27.73 kB / 353.9 MB, free: 3.973 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.006508, allocations: 31.36 kB / 353.9 MB, free: 3.934 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.619e-05/0.006564, allocations: 0.5001 MB / 354.4 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/0.006583, allocations: 11.98 kB / 354.5 MB, free: 3.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.598e-05/0.006609, allocations: 35.3 kB / 354.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.886e-05/0.006648, allocations: 39.36 kB / 354.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.006649, allocations: 0 / 354.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.129e-05/0.006741, allocations: 101.5 kB / 354.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.006753, allocations: 7.984 kB / 354.6 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.006757, allocations: 0 / 354.6 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.006768, allocations: 7.984 kB / 354.6 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.078e-05/0.006829, allocations: 12 kB / 354.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.006832, allocations: 0 / 354.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.131e-05/0.006864, allocations: 8 kB / 354.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.006869, allocations: 3.984 kB / 354.7 MB, free: 3.176 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.519e-05/0.006924, allocations: 160.5 kB / 354.8 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.006941, allocations: 23.84 kB / 354.8 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.007063, allocations: 107 kB / 354.9 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.007065, allocations: 4 kB / 355 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.007068, allocations: 0 / 355 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.007072, allocations: 0 / 355 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.007307, allocations: 366 kB / 355.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.00731, allocations: 4 kB / 355.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.814e-05/0.007338, allocations: 16 kB / 355.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.007341, allocations: 0 / 355.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.007347, allocations: 0 / 355.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.007349, allocations: 4 kB / 355.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.007351, allocations: 4.031 kB / 355.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.007453, allocations: 259.4 kB / 355.6 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.007465, allocations: 11.91 kB / 355.6 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.007481, allocations: 7.984 kB / 355.6 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.075e-05/0.007522, allocations: 4 kB / 355.6 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.007549, allocations: 7.984 kB / 355.6 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.00756, allocations: 0 / 355.6 MB, free: 2.137 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.208e-05/0.007612, allocations: 180.4 kB / 355.8 MB, free: 1.961 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007612, allocations: 0 / 355.8 MB, free: 1.961 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000171/0.007783, allocations: 23.94 kB / 355.8 MB, free: 1.938 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.0009643/0.008747, allocations: 440.7 kB / 356.3 MB, free: 1.598 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.00885, allocations: 51.58 kB / 356.3 MB, free: 1.543 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.008853, allocations: 4 kB / 356.3 MB, free: 1.539 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.001e-05/0.008883, allocations: 31.61 kB / 356.3 MB, free: 1.504 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.009103, allocations: 35.78 kB / 356.4 MB, free: 1.469 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003003/0.009403, allocations: 253.8 kB / 356.6 MB, free: 1.191 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.752e-05/0.009431, allocations: 76.27 kB / 356.7 MB, free: 1.098 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.162e-05/0.009463, allocations: 16.48 kB / 356.7 MB, free: 1.082 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.17e-05/0.009514, allocations: 98.12 kB / 356.8 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of SimCode: time 7.12e-07/0.009515, allocations: 3.938 kB / 356.8 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of Templates: time 0.003632/0.01315, allocations: 2.04 MB / 358.8 MB, free: 14.96 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.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.2938002729788423]