Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.001484/0.001484, allocations: 71.77 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.001133/0.001133, allocations: 161.9 kB / 24.99 MB, free: 8.336 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.9843/0.9843, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.2824/0.2824, allocations: 34.26 MB / 296 MB, free: 0.7891 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.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 378 MB, free: 3.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.402e-05/3.567e-05, allocations: 2.312 kB / 378 MB, free: 3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003486/0.003522, allocations: 1.708 MB / 379.7 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.004592, allocations: 0.5414 MB / 380.3 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.481e-05/0.004656, allocations: 0 / 380.3 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000634/0.00529, allocations: 459 kB / 380.7 MB, free: 288 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005432/0.005834, allocations: 295.2 kB / 381 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.006201, allocations: 131.5 kB / 381.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.006486, allocations: 171.6 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.006589, allocations: 12 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.00677, allocations: 127.8 kB / 381.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002879/0.007058, allocations: 239.6 kB / 381.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.007079, allocations: 4 kB / 381.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.785e-05/0.007177, allocations: 39.86 kB / 381.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.007298, allocations: 83.72 kB / 381.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.236e-05/0.00735, allocations: 47.66 kB / 381.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.007661, allocations: 195.2 kB / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.007666, allocations: 0 / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.007667, allocations: 0 / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.007676, allocations: 0 / 382.1 MB, free: 14.96 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.0007662/0.008442, allocations: 0.697 MB / 382.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.008478, allocations: 12.03 kB / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/0.008535, allocations: 48.66 kB / 382.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.008715, allocations: 248.8 kB / 383.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-06/0.008723, allocations: 384 / 383.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.008742, allocations: 4.375 kB / 383.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.008862, allocations: 70.92 kB / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.00887, allocations: 192 / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.008879, allocations: 4.125 kB / 383.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.008886, allocations: 3.938 kB / 383.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.476e-05/0.00892, allocations: 12 kB / 383.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.009298, allocations: 427.6 kB / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.44e-05/0.009362, allocations: 35.05 kB / 383.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.538e-05/0.009388, allocations: 27.61 kB / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.009404, allocations: 0 / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.009423, allocations: 37.39 kB / 383.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 5.71e-07/0.009424, allocations: 4 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003872/0.009811, allocations: 208.8 kB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.009845, allocations: 59.34 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004339/0.01028, allocations: 0.6354 MB / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.01029, allocations: 25.7 kB / 384.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.01044, allocations: 282.8 kB / 384.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.01046, allocations: 23.88 kB / 384.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.0105, allocations: 27.38 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.01065, allocations: 0.5547 MB / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.942e-05/0.01067, allocations: 8 kB / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.958e-05/0.01069, allocations: 16.05 kB / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.21e-05/0.01073, allocations: 31.62 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.01073, allocations: 4 kB / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.823e-05/0.01083, allocations: 101.4 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.01084, allocations: 9.969 kB / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.01084, allocations: 0 / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.01086, allocations: 0 / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.574e-05/0.01093, allocations: 19.98 kB / 385.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.01094, allocations: 4 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.243e-05/0.01097, allocations: 15.92 kB / 385.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.01097, allocations: 0 / 385.7 MB, free: 11.13 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 8.306e-05/0.01106, allocations: 164.5 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.01109, allocations: 43.72 kB / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.01123, allocations: 113.5 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.01123, allocations: 0 / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.01123, allocations: 0 / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.01123, allocations: 0 / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/0.01157, allocations: 481.2 kB / 386.5 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01157, allocations: 0 / 386.5 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-05/0.01161, allocations: 23.98 kB / 386.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.01161, allocations: 0 / 386.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.01162, allocations: 0 / 386.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.01162, allocations: 3.938 kB / 386.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.01162, allocations: 0 / 386.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.01174, allocations: 259.9 kB / 386.7 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.01177, allocations: 35.72 kB / 386.8 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.01179, allocations: 4 kB / 386.8 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.366e-05/0.01183, allocations: 7.984 kB / 386.8 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.01186, allocations: 3.984 kB / 386.8 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.01186, allocations: 8 kB / 386.8 MB, free: 9.922 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002421/0.01211, allocations: 426.8 kB / 387.2 MB, free: 9.508 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01211, allocations: 0 / 387.2 MB, free: 9.508 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001677/0.01227, allocations: 23.98 kB / 387.2 MB, free: 9.484 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.0007925/0.01307, allocations: 393.4 kB / 387.6 MB, free: 9.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.478e-05/0.01316, allocations: 39.66 kB / 387.7 MB, free: 9.188 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.01316, allocations: 0 / 387.7 MB, free: 9.188 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.751e-05/0.01319, allocations: 23.67 kB / 387.7 MB, free: 9.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.01343, allocations: 37.83 kB / 387.7 MB, free: 9.125 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006131/0.01405, allocations: 0.5824 MB / 388.3 MB, free: 8.512 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.649e-05/0.01413, allocations: 123.2 kB / 388.4 MB, free: 8.371 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.438e-05/0.01417, allocations: 12.3 kB / 388.4 MB, free: 8.359 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.0142, allocations: 20.5 kB / 388.5 MB, free: 8.34 MB / 362.7 MB Notification: Performance of SimCode: time 4.4e-07/0.0142, allocations: 0 / 388.5 MB, free: 8.34 MB / 362.7 MB Notification: Performance of Templates: time 0.003778/0.01798, allocations: 1.481 MB / 389.9 MB, free: 6.871 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.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.2568279509432614]