Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001319/0.001319, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.00129/0.00129, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 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.9976/0.9976, allocations: 177.1 MB / 205 MB, free: 5.285 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.2629/0.2629, allocations: 32.81 MB / 294.3 MB, free: 1.227 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.702e-05, allocations: 9.344 kB / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002016/0.002033, allocations: 1.646 MB / 377.7 MB, free: 3.008 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.003252, allocations: 1.274 MB / 379 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.356e-05/0.003305, allocations: 4 kB / 379 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.003518, allocations: 19.86 kB / 379 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.003814, allocations: 91.48 kB / 379.1 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.004022, allocations: 99.62 kB / 379.2 MB, free: 1.516 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.004157, allocations: 71.77 kB / 379.2 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.392e-05/0.004241, allocations: 4 kB / 379.2 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.995e-05/0.0043, allocations: 39.89 kB / 379.3 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.004403, allocations: 19.92 kB / 379.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.004417, allocations: 4 kB / 379.3 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.004552, allocations: 91.81 kB / 379.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.671e-05/0.004588, allocations: 15.92 kB / 379.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.004616, allocations: 15.92 kB / 379.4 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.004843, allocations: 123.6 kB / 379.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.004846, allocations: 4 kB / 379.5 MB, free: 1.133 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004846, allocations: 0 / 379.5 MB, free: 1.133 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.004853, allocations: 0 / 379.5 MB, free: 1.133 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004223/0.005275, allocations: 439.8 kB / 380 MB, free: 0.668 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.005316, allocations: 12.03 kB / 380 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.005362, allocations: 8.891 kB / 380 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.005505, allocations: 128.5 kB / 380.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.005517, allocations: 8.375 kB / 380.1 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.005538, allocations: 384 / 380.1 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.005672, allocations: 104 kB / 380.2 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.005682, allocations: 4.188 kB / 380.2 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.005694, allocations: 4.125 kB / 380.2 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.0057, allocations: 0 / 380.2 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.936e-05/0.005729, allocations: 11.94 kB / 380.2 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.00603, allocations: 275.8 kB / 380.5 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.006207, allocations: 43.12 kB / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.395e-05/0.006231, allocations: 15.69 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.006251, allocations: 3.938 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.006274, allocations: 41.41 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.924e-06/0.006276, allocations: 0 / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003478/0.006624, allocations: 105.4 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.006665, allocations: 81.11 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.006793, allocations: 192.4 kB / 381 MB, free: 15.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.006803, allocations: 25.7 kB / 381 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.588e-05/0.006869, allocations: 142.9 kB / 381.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.006892, allocations: 23.8 kB / 381.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000349/0.007241, allocations: 27.36 kB / 381.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.007361, allocations: 492.1 kB / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.007378, allocations: 8 kB / 381.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.078e-05/0.007418, allocations: 53.06 kB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.776e-05/0.007456, allocations: 31.91 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.007458, allocations: 0 / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.215e-05/0.00754, allocations: 65.56 kB / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.007553, allocations: 4 kB / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.007559, allocations: 0 / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.007572, allocations: 3.938 kB / 381.8 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.581e-05/0.007608, allocations: 11.98 kB / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.007613, allocations: 0 / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.26e-05/0.007636, allocations: 7.953 kB / 381.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.007641, allocations: 0 / 381.9 MB, free: 14.56 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 (5): * Single equations (assignments): 5 * 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 7.396e-05/0.007715, allocations: 164.6 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.007735, allocations: 11.89 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.007861, allocations: 70.08 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.007863, allocations: 288 / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.007868, allocations: 0 / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.007871, allocations: 0 / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.008119, allocations: 325.3 kB / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.008122, allocations: 4 kB / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.776e-05/0.00815, allocations: 15.92 kB / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.008152, allocations: 0 / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.008161, allocations: 4 kB / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.008163, allocations: 4 kB / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.008164, allocations: 192 / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.008277, allocations: 211.8 kB / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-06/0.008286, allocations: 7.953 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.0083, allocations: 3.984 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.146e-05/0.008331, allocations: 4 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.008367, allocations: 4 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.00837, allocations: 0 / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.506e-05/0.008435, allocations: 151.2 kB / 382.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008435, allocations: 0 / 382.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001905/0.008626, allocations: 43.86 kB / 382.9 MB, free: 13.48 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 (5): * Single equations (assignments): 5 * 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.00107/0.009696, allocations: 482.8 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001233/0.009819, allocations: 35.67 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.009822, allocations: 0 / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.951e-05/0.009851, allocations: 27.67 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.01007, allocations: 27.02 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.01041, allocations: 161.9 kB / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.011e-05/0.01045, allocations: 63.34 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.574e-05/0.01048, allocations: 7.984 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.01052, allocations: 24.48 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01052, allocations: 4 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of Templates: time 0.003531/0.01405, allocations: 1.997 MB / 385.7 MB, free: 10.8 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.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.110539391171187]