Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.001447/0.001447, 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.001443/0.001443, allocations: 165 kB / 24.56 MB, free: 12 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.9951/0.9951, allocations: 177.1 MB / 205 MB, free: 5.641 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.2768/0.2768, allocations: 32.8 MB / 294.3 MB, free: 1.297 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.205e-06/2.205e-06, allocations: 0 / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.32e-05/3.541e-05, allocations: 6.25 kB / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003546/0.003581, allocations: 1.657 MB / 377.7 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.005399, allocations: 1.274 MB / 379 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.708e-05/0.005486, allocations: 0 / 379 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.005772, allocations: 27.78 kB / 379 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004183/0.00619, allocations: 91.48 kB / 379.1 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.006539, allocations: 91.69 kB / 379.2 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.006736, allocations: 79.72 kB / 379.2 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.006858, allocations: 15.97 kB / 379.3 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.503e-05/0.006943, allocations: 39.91 kB / 379.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.007071, allocations: 27.91 kB / 379.3 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.007091, allocations: 4 kB / 379.3 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.00731, allocations: 91.88 kB / 379.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.717e-05/0.007367, allocations: 19.92 kB / 379.4 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.496e-05/0.007412, allocations: 15.92 kB / 379.5 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.007727, allocations: 143.5 kB / 379.6 MB, free: 1.074 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.007731, allocations: 4 kB / 379.6 MB, free: 1.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.007732, allocations: 0 / 379.6 MB, free: 1.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.007737, allocations: 0 / 379.6 MB, free: 1.07 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005615/0.008299, allocations: 443.9 kB / 380 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.008343, allocations: 8.031 kB / 380 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.892e-05/0.008412, allocations: 12.89 kB / 380.1 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.008613, allocations: 142.3 kB / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.008631, allocations: 12.34 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.008663, allocations: 4.375 kB / 380.2 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.008855, allocations: 100 kB / 380.3 MB, free: 288 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.008868, allocations: 8.172 kB / 380.3 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.008885, allocations: 12.12 kB / 380.3 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.008895, allocations: 0 / 380.3 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.289e-05/0.008947, allocations: 15.92 kB / 380.3 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.009358, allocations: 291.7 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.437e-05/0.009433, allocations: 39.06 kB / 380.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.652e-05/0.009459, allocations: 23.55 kB / 380.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.009484, allocations: 4 kB / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.009508, allocations: 37.52 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.009509, allocations: 3.938 kB / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000415/0.009924, allocations: 133.4 kB / 380.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.009964, allocations: 77.11 kB / 380.9 MB, free: 15.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.0101, allocations: 201.9 kB / 381.1 MB, free: 15.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.01012, allocations: 29.7 kB / 381.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.232e-05/0.01018, allocations: 142.8 kB / 381.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.01021, allocations: 27.73 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.01024, allocations: 27.38 kB / 381.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.01038, allocations: 0.4923 MB / 381.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.499e-05/0.0104, allocations: 4 kB / 381.9 MB, free: 14.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.764e-05/0.01045, allocations: 61.06 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.701e-05/0.01051, allocations: 47.89 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01051, allocations: 0 / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001103/0.01062, allocations: 77.61 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.01064, allocations: 10.34 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.01064, allocations: 0 / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.01066, allocations: 0 / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.317e-05/0.01075, allocations: 12.38 kB / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.01076, allocations: 0 / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.671e-05/0.01078, allocations: 11.98 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.01079, allocations: 4 kB / 382.1 MB, free: 14.36 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 7.808e-05/0.01087, allocations: 168.5 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.01089, allocations: 11.95 kB / 382.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.01105, allocations: 82.44 kB / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.01105, allocations: 0 / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.01105, allocations: 0 / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01106, allocations: 0 / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.01136, allocations: 357.3 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01137, allocations: 0 / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.207e-05/0.01142, allocations: 15.98 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01142, allocations: 0 / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.01143, allocations: 4 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01143, allocations: 0 / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.01143, allocations: 4 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.01158, allocations: 231.9 kB / 382.9 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.401e-05/0.01159, allocations: 11.94 kB / 382.9 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.0116, allocations: 0 / 382.9 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.052e-05/0.01165, allocations: 4 kB / 382.9 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.01169, allocations: 15.97 kB / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.01169, allocations: 0 / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.478e-05/0.01176, allocations: 147.2 kB / 383.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01176, allocations: 0 / 383.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002247/0.01199, allocations: 51.8 kB / 383.2 MB, free: 13.19 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.001171/0.01316, allocations: 487.3 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.0133, allocations: 47.59 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.0133, allocations: 4 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.16e-05/0.01333, allocations: 27.83 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.01356, allocations: 27.5 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003573/0.01391, allocations: 186.2 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.329e-05/0.01396, allocations: 59.34 kB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.762e-05/0.014, allocations: 20.66 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.01404, allocations: 24.48 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01404, allocations: 4 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of Templates: time 0.003981/0.01802, allocations: 1.905 MB / 385.9 MB, free: 10.55 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.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.4848144548013806]