Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.00326/0.00326, 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.001479/0.001479, allocations: 162.4 kB / 25.6 MB, free: 8.59 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.9277/0.9277, allocations: 177.1 MB / 206 MB, free: 4.512 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.1506/0.1506, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.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.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.248e-05, allocations: 2.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.002378/0.0024, allocations: 1.635 MB / 378.9 MB, free: 23.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007026/0.003103, allocations: 0.5141 MB / 379.4 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.463e-05/0.003157, allocations: 0 / 379.4 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004208/0.003578, allocations: 463 kB / 379.9 MB, free: 22.95 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003741/0.003952, allocations: 291.2 kB / 380.2 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.004216, allocations: 119.7 kB / 380.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.004396, allocations: 163.6 kB / 380.4 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.167e-05/0.004477, allocations: 12.19 kB / 380.4 MB, free: 22.38 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.00458, allocations: 123.7 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.004758, allocations: 235.7 kB / 380.8 MB, free: 22.03 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.004772, allocations: 0 / 380.8 MB, free: 22.03 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.35e-05/0.004835, allocations: 23.94 kB / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.857e-05/0.004914, allocations: 91.62 kB / 380.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.004944, allocations: 31.75 kB / 380.9 MB, free: 21.88 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.005123, allocations: 187.2 kB / 381.1 MB, free: 21.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.005125, allocations: 0 / 381.1 MB, free: 21.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.005126, allocations: 0 / 381.1 MB, free: 21.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.00513, allocations: 0 / 381.1 MB, free: 21.7 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004458/0.005576, allocations: 0.6971 MB / 381.8 MB, free: 20.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.005621, allocations: 11.98 kB / 381.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.132e-05/0.005672, allocations: 44.66 kB / 381.9 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.005831, allocations: 236.9 kB / 382.1 MB, free: 20.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.005841, allocations: 8.312 kB / 382.1 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-06/0.005848, allocations: 384 / 382.1 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.939e-05/0.005928, allocations: 58.95 kB / 382.2 MB, free: 20.58 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.005935, allocations: 4.188 kB / 382.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.044e-06/0.005942, allocations: 3.938 kB / 382.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.005947, allocations: 0 / 382.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.652e-05/0.005963, allocations: 7.984 kB / 382.2 MB, free: 20.56 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002556/0.006219, allocations: 328.3 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.867e-05/0.006257, allocations: 31 kB / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.262e-05/0.00627, allocations: 11.75 kB / 382.6 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.006284, allocations: 3.938 kB / 382.6 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.006298, allocations: 37.38 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.006299, allocations: 4 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001304/0.006429, allocations: 93.28 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.908e-05/0.006449, allocations: 51.41 kB / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003393/0.006788, allocations: 0.6001 MB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.011e-06/0.006794, allocations: 25.7 kB / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.006917, allocations: 302.7 kB / 383.7 MB, free: 18.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.006934, allocations: 3.953 kB / 383.7 MB, free: 18.99 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.006962, allocations: 19.38 kB / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.871e-05/0.007051, allocations: 0.5547 MB / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.101e-05/0.007062, allocations: 7.984 kB / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.786e-06/0.007071, allocations: 4.125 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.461e-05/0.007096, allocations: 11.69 kB / 384.3 MB, free: 18.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.007097, allocations: 0 / 384.3 MB, free: 18.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.256e-05/0.00717, allocations: 85.3 kB / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.007181, allocations: 11.98 kB / 384.4 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.007186, allocations: 0 / 384.4 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.007194, allocations: 0 / 384.4 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.9e-05/0.007243, allocations: 4 kB / 384.4 MB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-06/0.007245, allocations: 0 / 384.4 MB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.985e-05/0.007275, allocations: 96 / 384.4 MB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.00728, allocations: 8 kB / 384.4 MB, free: 18.25 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 (2): * Single equations (assignments): 2 * 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.999e-05/0.00733, allocations: 152.6 kB / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.007367, allocations: 51.61 kB / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.567e-05/0.007463, allocations: 76.73 kB / 384.6 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.007465, allocations: 0 / 384.6 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.007467, allocations: 0 / 384.6 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.007469, allocations: 3.938 kB / 384.6 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.007633, allocations: 193.1 kB / 384.8 MB, free: 17.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.007635, allocations: 0 / 384.8 MB, free: 17.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.007657, allocations: 8.031 kB / 384.8 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.007659, allocations: 0 / 384.8 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-06/0.007663, allocations: 3.938 kB / 384.8 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.007666, allocations: 8 kB / 384.9 MB, free: 17.72 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.007667, allocations: 0 / 384.9 MB, free: 17.72 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.883e-05/0.007745, allocations: 223.6 kB / 385.1 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.531e-05/0.007771, allocations: 39.72 kB / 385.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.007788, allocations: 3.938 kB / 385.1 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.324e-05/0.007841, allocations: 3.938 kB / 385.1 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.12e-05/0.007852, allocations: 7.984 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.007855, allocations: 32 / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001888/0.008044, allocations: 390.7 kB / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008044, allocations: 0 / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002233/0.008267, allocations: 27.86 kB / 385.5 MB, free: 17.02 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 (2): * Single equations (assignments): 2 * 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.0007571/0.009024, allocations: 322.3 kB / 385.9 MB, free: 16.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.356e-05/0.009088, allocations: 15.67 kB / 385.9 MB, free: 16.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.009089, allocations: 4 kB / 385.9 MB, free: 16.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.087e-06/0.009098, allocations: 11.75 kB / 385.9 MB, free: 16.78 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.009384, allocations: 28.8 kB / 385.9 MB, free: 16.76 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005426/0.009926, allocations: 0.5632 MB / 386.5 MB, free: 16.17 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.196e-05/0.009988, allocations: 119.1 kB / 386.6 MB, free: 16.03 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.71e-05/0.01002, allocations: 11.92 kB / 386.6 MB, free: 16.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.01006, allocations: 74.2 kB / 386.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01006, allocations: 0 / 386.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of Templates: time 0.003651/0.01371, allocations: 1.248 MB / 387.9 MB, free: 14.71 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.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.280511331744492]