Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.0009126/0.0009126, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009761/0.0009761, allocations: 164.4 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9225/0.9225, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2312/0.2312, allocations: 32.8 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 376.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.452e-05/1.593e-05, allocations: 13.48 kB / 376.5 MB, free: 4.371 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.001941/0.001957, allocations: 1.645 MB / 378.1 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006573/0.002615, allocations: 0.5298 MB / 378.7 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.445e-05/0.002669, allocations: 0 / 378.7 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.002917, allocations: 115.5 kB / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002615/0.003178, allocations: 123.5 kB / 378.9 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.003366, allocations: 91.62 kB / 379 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.003494, allocations: 95.73 kB / 379.1 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.076e-05/0.003575, allocations: 8 kB / 379.1 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.934e-05/0.003644, allocations: 55.88 kB / 379.2 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.367e-05/0.003738, allocations: 63.86 kB / 379.2 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.003751, allocations: 4 kB / 379.2 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.222e-05/0.003823, allocations: 43.92 kB / 379.3 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.128e-05/0.003864, allocations: 23.92 kB / 379.3 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.003888, allocations: 27.84 kB / 379.3 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.004025, allocations: 91.61 kB / 379.4 MB, free: 1.445 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004027, allocations: 0 / 379.4 MB, free: 1.445 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004028, allocations: 0 / 379.4 MB, free: 1.445 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.307e-06/0.004031, allocations: 4 kB / 379.4 MB, free: 1.441 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003353/0.004367, allocations: 463.7 kB / 379.9 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.004398, allocations: 8.031 kB / 379.9 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.004429, allocations: 16.84 kB / 379.9 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.004554, allocations: 149.2 kB / 380 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.004566, allocations: 8.375 kB / 380 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.004582, allocations: 384 / 380 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.333e-05/0.004675, allocations: 58.89 kB / 380.1 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.004683, allocations: 192 / 380.1 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.004691, allocations: 8.125 kB / 380.1 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.004695, allocations: 0 / 380.1 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.264e-05/0.004718, allocations: 15.98 kB / 380.1 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002374/0.004956, allocations: 268.4 kB / 380.4 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.218e-05/0.005008, allocations: 42.98 kB / 380.4 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.67e-05/0.005024, allocations: 11.69 kB / 380.4 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.005043, allocations: 0 / 380.4 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.005065, allocations: 45.41 kB / 380.5 MB, free: 248 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.005066, allocations: 0 / 380.5 MB, free: 248 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004112/0.005477, allocations: 157.4 kB / 380.6 MB, free: 84 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.005502, allocations: 51.41 kB / 380.7 MB, free: 20 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.005649, allocations: 259.1 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.005659, allocations: 29.7 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.136e-05/0.00572, allocations: 166.8 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.005743, allocations: 31.67 kB / 381.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.005772, allocations: 23.38 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.005885, allocations: 0.504 MB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.966e-05/0.005905, allocations: 11.83 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.449e-05/0.005919, allocations: 8.062 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.831e-05/0.005958, allocations: 35.66 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.00596, allocations: 7.938 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.644e-05/0.006036, allocations: 69.59 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.006047, allocations: 8 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.006051, allocations: 0 / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.006062, allocations: 0 / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.484e-05/0.006126, allocations: 15.94 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.006129, allocations: 0 / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.365e-05/0.006153, allocations: 11.98 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/0.006157, allocations: 432 / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.124e-05/0.006218, allocations: 160.5 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.006239, allocations: 19.91 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.006353, allocations: 83.12 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.006358, allocations: 7.969 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.006359, allocations: 0 / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.006362, allocations: 0 / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.006612, allocations: 353.5 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.006613, allocations: 0 / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.146e-05/0.006655, allocations: 19.98 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.006657, allocations: 0 / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.006662, allocations: 4 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.006664, allocations: 4.031 kB / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.006666, allocations: 8 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.006779, allocations: 239.8 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.148e-05/0.006791, allocations: 11.91 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.006801, allocations: 0 / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.245e-05/0.006843, allocations: 4 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.113e-05/0.006864, allocations: 7.984 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.006869, allocations: 4 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.905e-05/0.006938, allocations: 175.1 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006939, allocations: 3.938 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001628/0.007101, allocations: 20 kB / 383 MB, free: 13.61 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0008478/0.007949, allocations: 442.2 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.878e-05/0.008028, allocations: 39.61 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.008029, allocations: 0 / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002863/0.008316, allocations: 27.66 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.008529, allocations: 19.98 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/0.008848, allocations: 249.5 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.933e-05/0.008887, allocations: 67.34 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.633e-05/0.008924, allocations: 13.02 kB / 383.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.069e-05/0.008984, allocations: 90.19 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of SimCode: time 6.42e-07/0.008985, allocations: 0 / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of Templates: time 0.002945/0.01193, allocations: 1.517 MB / 385.4 MB, free: 11.28 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.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: 2.8393752998672426]