Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.001019/0.001019, allocations: 75.75 kB / 21.69 MB, free: 2.859 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.001031/0.001031, allocations: 166.2 kB / 24.99 MB, free: 9.289 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.054/1.054, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.3039/0.3039, allocations: 34.26 MB / 296 MB, free: 0.7734 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.CombiTable2Dv.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,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.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 378 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.764e-05/2.947e-05, allocations: 2.312 kB / 378 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.002396/0.002425, allocations: 1.7 MB / 379.7 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.003654, allocations: 1.301 MB / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.285e-05/0.003717, allocations: 4 kB / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.003934, allocations: 27.78 kB / 381.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.004214, allocations: 83.55 kB / 381.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.00453, allocations: 179.4 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.004669, allocations: 79.75 kB / 381.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.705e-05/0.004766, allocations: 12 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.116e-05/0.004827, allocations: 43.83 kB / 381.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.676e-05/0.004924, allocations: 35.91 kB / 381.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.004939, allocations: 4 kB / 381.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.005073, allocations: 91.88 kB / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.005125, allocations: 27.91 kB / 381.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.005155, allocations: 11.94 kB / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.00537, allocations: 151.4 kB / 381.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.005373, allocations: 0 / 381.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.005373, allocations: 0 / 381.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.005378, allocations: 0 / 381.8 MB, free: 15.19 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004626/0.005841, allocations: 428 kB / 382.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.005879, allocations: 12.03 kB / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.514e-05/0.005935, allocations: 16.89 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.006112, allocations: 136.5 kB / 382.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.006126, allocations: 8.297 kB / 382.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.006152, allocations: 8.312 kB / 382.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.006326, allocations: 116 kB / 382.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.006338, allocations: 192 / 382.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.00635, allocations: 4.125 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.006359, allocations: 0 / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.847e-05/0.006397, allocations: 8 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.006746, allocations: 299.6 kB / 382.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.479e-05/0.00682, allocations: 35.06 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.845e-05/0.006849, allocations: 23.7 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.006868, allocations: 0 / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.006894, allocations: 41.39 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.006895, allocations: 0 / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004075/0.007302, allocations: 133.4 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.00734, allocations: 77.11 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.007458, allocations: 200.4 kB / 383.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.00747, allocations: 33.7 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/0.007519, allocations: 138.9 kB / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.007541, allocations: 31.67 kB / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.007573, allocations: 23.45 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.007688, allocations: 0.4923 MB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.421e-05/0.007713, allocations: 15.98 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.988e-05/0.007753, allocations: 53.06 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.747e-05/0.0078, allocations: 39.61 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.007801, allocations: 0 / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.401e-05/0.007885, allocations: 65.64 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.007898, allocations: 12.03 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.007902, allocations: 0 / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.007915, allocations: 0 / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.837e-05/0.007994, allocations: 19.92 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.007998, allocations: 0 / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.592e-05/0.008024, allocations: 4 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.008031, allocations: 4 kB / 384.2 MB, free: 12.51 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 (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 7.01e-05/0.008101, allocations: 160.5 kB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.008122, allocations: 11.95 kB / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.008264, allocations: 82.42 kB / 384.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.008266, allocations: 7.938 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.008271, allocations: 3.938 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.008274, allocations: 0 / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.008532, allocations: 337.4 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.008533, allocations: 4 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.008575, allocations: 15.98 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.008577, allocations: 0 / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.008585, allocations: 0 / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.008587, allocations: 480 / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.00859, allocations: 3.938 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.008717, allocations: 235.8 kB / 385.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-06/0.008725, allocations: 3.953 kB / 385.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.00874, allocations: 7.984 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.898e-05/0.008779, allocations: 4 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.008817, allocations: 7.984 kB / 385.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.008822, allocations: 4 kB / 385.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.989e-05/0.008882, allocations: 147.2 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008882, allocations: 0 / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001988/0.009081, allocations: 43.86 kB / 385.3 MB, free: 11.37 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 (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.0009602/0.01004, allocations: 487.1 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001229/0.01016, allocations: 51.58 kB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01017, allocations: 4 kB / 385.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.12e-05/0.0102, allocations: 23.67 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.01041, allocations: 35.88 kB / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003495/0.01076, allocations: 196.8 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.37e-05/0.0108, allocations: 67.33 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.8e-05/0.01086, allocations: 20.7 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.672e-05/0.0109, allocations: 24.48 kB / 386.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.0109, allocations: 4 kB / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of Templates: time 0.003639/0.01454, allocations: 2.004 MB / 388.2 MB, free: 8.609 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.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.461562399053946]