Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001067/0.001067, allocations: 77.97 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.001107/0.001107, allocations: 168 kB / 24.82 MB, free: 9.262 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 1.04/1.04, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3204/0.3204, allocations: 34.26 MB / 296.1 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 378.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.383e-05/3.59e-05, allocations: 9.344 kB / 378.5 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.00374/0.003776, allocations: 1.63 MB / 380.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.004853, allocations: 0.5375 MB / 380.7 MB, free: 164 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.826e-05/0.004951, allocations: 4 kB / 380.7 MB, free: 160 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.005214, allocations: 19.86 kB / 380.7 MB, free: 140 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.00554, allocations: 83.55 kB / 380.8 MB, free: 56 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.005904, allocations: 91.62 kB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.006101, allocations: 83.77 kB / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.006217, allocations: 7.938 kB / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.273e-05/0.00631, allocations: 39.89 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.625e-05/0.006396, allocations: 27.91 kB / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.006415, allocations: 7.984 kB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002401/0.006655, allocations: 91.83 kB / 381.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.373e-05/0.006709, allocations: 15.92 kB / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.006742, allocations: 19.92 kB / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.007047, allocations: 143.5 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.007052, allocations: 0 / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.007053, allocations: 4 kB / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.007058, allocations: 3.984 kB / 381.3 MB, free: 15.53 MB / 362.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.000496/0.007554, allocations: 432 kB / 381.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.007602, allocations: 8.031 kB / 381.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.057e-05/0.007653, allocations: 12.89 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.007855, allocations: 148.4 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.007868, allocations: 384 / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.007889, allocations: 8.375 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.008049, allocations: 104 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.008061, allocations: 192 / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.008072, allocations: 4.125 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.008079, allocations: 4 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.916e-05/0.008118, allocations: 11.98 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.008487, allocations: 264.4 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.015e-05/0.008567, allocations: 43.05 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.422e-05/0.008591, allocations: 19.67 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.008619, allocations: 0 / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.008652, allocations: 41.52 kB / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.008653, allocations: 0 / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004335/0.009086, allocations: 125.4 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.009134, allocations: 85.05 kB / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.009281, allocations: 196.4 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.009298, allocations: 29.7 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.25e-05/0.009361, allocations: 142.8 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.009389, allocations: 27.75 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.009435, allocations: 35.34 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.009572, allocations: 0.4923 MB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.41e-05/0.009596, allocations: 4 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-05/0.009651, allocations: 57.06 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.506e-05/0.009706, allocations: 31.61 kB / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.009707, allocations: 7.969 kB / 383.6 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001183/0.009825, allocations: 77.58 kB / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.009842, allocations: 7.984 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.009847, allocations: 80 / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.009861, allocations: 0 / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.713e-05/0.009948, allocations: 19.94 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.009952, allocations: 3.984 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.587e-05/0.009988, allocations: 8.359 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.009994, allocations: 0 / 383.7 MB, free: 12.88 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 (9): * Single equations (assignments): 9 * 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 8.205e-05/0.01008, allocations: 160.6 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.01012, allocations: 19.88 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.01026, allocations: 74.45 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.01027, allocations: 7.938 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.01027, allocations: 4 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.01027, allocations: 3.984 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003442/0.01062, allocations: 325.9 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01062, allocations: 0 / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.387e-05/0.01068, allocations: 23.92 kB / 384.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.01069, allocations: 0 / 384.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.0107, allocations: 4 kB / 384.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.0107, allocations: 4 kB / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.0107, allocations: 0 / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.0109, allocations: 215.8 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.719e-05/0.01091, allocations: 7.953 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.01093, allocations: 4 kB / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.208e-05/0.01099, allocations: 4 kB / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.01103, allocations: 15.91 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.01103, allocations: 0 / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.614e-05/0.01111, allocations: 153.7 kB / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01111, allocations: 0 / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003197/0.01143, allocations: 39.86 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.001321/0.01275, allocations: 0.4949 MB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.01287, allocations: 43.64 kB / 385.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01287, allocations: 4 kB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.362e-05/0.0129, allocations: 23.62 kB / 385.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.0132, allocations: 30.92 kB / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.01361, allocations: 186.3 kB / 385.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.08e-05/0.01367, allocations: 63.34 kB / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.405e-05/0.01373, allocations: 16.62 kB / 385.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.01383, allocations: 90.19 kB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01383, allocations: 0 / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of Templates: time 0.005383/0.01922, allocations: 2.262 MB / 388 MB, free: 8.695 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.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.3762737922370434]