Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001387/0.001387, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001492/0.001492, allocations: 162.8 kB / 25.61 MB, free: 8.902 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.9265/0.9265, allocations: 177.1 MB / 206 MB, free: 4.508 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.1571/0.1571, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.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.CombiTable2Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.879e-05, allocations: 6.25 kB / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test32): time 0.001855/0.001874, allocations: 1.685 MB / 381 MB, free: 21.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009726/0.002846, allocations: 1.305 MB / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.383e-05/0.0029, allocations: 0 / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.003095, allocations: 31.77 kB / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.003316, allocations: 91.48 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.003553, allocations: 175.5 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.003663, allocations: 79.7 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.903e-05/0.003742, allocations: 11.98 kB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.518e-05/0.003797, allocations: 43.89 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.215e-05/0.003879, allocations: 23.92 kB / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.003893, allocations: 4 kB / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.003997, allocations: 91.88 kB / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.274e-05/0.00404, allocations: 27.84 kB / 382.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.215e-05/0.004062, allocations: 23.92 kB / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.004213, allocations: 143.5 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.004215, allocations: 0 / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.004215, allocations: 0 / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.004219, allocations: 0 / 383 MB, free: 19.64 MB / 314.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.0002872/0.004506, allocations: 432 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/0.004534, allocations: 8.031 kB / 383.5 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.004567, allocations: 16.88 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.004669, allocations: 140.5 kB / 383.6 MB, free: 18.99 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.724e-06/0.004677, allocations: 384 / 383.6 MB, free: 18.99 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.004693, allocations: 8.375 kB / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.004794, allocations: 108 kB / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.004802, allocations: 4.172 kB / 383.7 MB, free: 18.85 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.924e-06/0.00481, allocations: 8.109 kB / 383.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.004816, allocations: 3.938 kB / 383.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.137e-05/0.004837, allocations: 11.98 kB / 383.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.005033, allocations: 268.4 kB / 384 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.884e-05/0.005082, allocations: 39.09 kB / 384.1 MB, free: 18.49 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.655e-05/0.005099, allocations: 23.61 kB / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.005113, allocations: 4 kB / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.005128, allocations: 41.33 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.005129, allocations: 0 / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.000276/0.005405, allocations: 117.4 kB / 384.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/0.005425, allocations: 81.09 kB / 384.3 MB, free: 18.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.064e-05/0.005496, allocations: 196 kB / 384.5 MB, free: 17.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.67e-06/0.005502, allocations: 25.7 kB / 384.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.485e-05/0.005526, allocations: 146.8 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.005545, allocations: 27.78 kB / 384.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.00557, allocations: 31.36 kB / 384.7 MB, free: 17.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.817e-05/0.005609, allocations: 0.4884 MB / 385.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.005624, allocations: 11.98 kB / 385.2 MB, free: 17.22 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.622e-05/0.00565, allocations: 53.06 kB / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.233e-05/0.005692, allocations: 31.61 kB / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.005693, allocations: 0 / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.124e-05/0.005765, allocations: 69.56 kB / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.005775, allocations: 8 kB / 385.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.005779, allocations: 0 / 385.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.166e-06/0.005787, allocations: 0 / 385.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.868e-05/0.005845, allocations: 15.98 kB / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.005848, allocations: 4.031 kB / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.479e-05/0.005872, allocations: 4 kB / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.005877, allocations: 4 kB / 385.4 MB, free: 17.01 MB / 314.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 (7): * Single equations (assignments): 7 * 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 4.07e-05/0.005918, allocations: 164.5 kB / 385.6 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.005942, allocations: 19.89 kB / 385.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.743e-05/0.006039, allocations: 74.45 kB / 385.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.006041, allocations: 0 / 385.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.006042, allocations: 0 / 385.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.006045, allocations: 0 / 385.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.00623, allocations: 330.3 kB / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.006231, allocations: 0 / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.658e-05/0.006267, allocations: 15.98 kB / 386 MB, free: 16.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.006269, allocations: 3.938 kB / 386 MB, free: 16.37 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.006275, allocations: 4 kB / 386 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.006276, allocations: 0 / 386 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.006276, allocations: 0 / 386 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.405e-05/0.00635, allocations: 219.8 kB / 386.2 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-06/0.006358, allocations: 3.953 kB / 386.2 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.00637, allocations: 11.94 kB / 386.2 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.071e-05/0.006411, allocations: 11.98 kB / 386.3 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.282e-05/0.006434, allocations: 0 / 386.3 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.006438, allocations: 4 kB / 386.3 MB, free: 16.1 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.291e-05/0.006471, allocations: 152.7 kB / 386.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006471, allocations: 0 / 386.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001947/0.006666, allocations: 39.86 kB / 386.4 MB, free: 15.91 MB / 314.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 (7): * Single equations (assignments): 7 * 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.0009109/0.007577, allocations: 487.5 kB / 386.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.25e-05/0.007669, allocations: 43.62 kB / 387 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.007671, allocations: 7.938 kB / 387 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.23e-05/0.007693, allocations: 23.62 kB / 387 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.007891, allocations: 22.77 kB / 387 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.008148, allocations: 198.7 kB / 387.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.444e-05/0.008172, allocations: 75.2 kB / 387.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.156e-05/0.008214, allocations: 8.719 kB / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.008274, allocations: 94.19 kB / 387.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of SimCode: time 8.82e-07/0.008275, allocations: 0 / 387.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of Templates: time 0.003305/0.01158, allocations: 2.241 MB / 389.6 MB, free: 12.88 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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: 3.155101680662483]