Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.00204/0.00204, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002013/0.002013, allocations: 165.3 kB / 24.27 MB, free: 156 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 1.647/1.647, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.3804/0.3804, allocations: 34.26 MB / 295.3 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 179] 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.02e-05/3.172e-05, allocations: 5.125 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003734/0.003765, allocations: 1.662 MB / 379 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.005108, allocations: 0.5686 MB / 379.5 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.766e-05/0.005186, allocations: 0 / 379.5 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007214/0.005907, allocations: 455.1 kB / 380 MB, free: 260 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005935/0.006501, allocations: 303.2 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005272/0.007028, allocations: 175.5 kB / 380.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003189/0.007347, allocations: 179.5 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.007451, allocations: 12 kB / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002397/0.007691, allocations: 127.7 kB / 380.8 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003498/0.00804, allocations: 243.6 kB / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.008075, allocations: 8 kB / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.008196, allocations: 35.91 kB / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.008327, allocations: 87.66 kB / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.945e-05/0.008396, allocations: 39.73 kB / 381.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004012/0.008798, allocations: 243.1 kB / 381.4 MB, free: 14.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.008804, allocations: 4 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.008805, allocations: 0 / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.008813, allocations: 0 / 381.4 MB, free: 14.82 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.001069/0.009882, allocations: 0.7201 MB / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.00992, allocations: 11.97 kB / 382.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.565e-05/0.01002, allocations: 48.66 kB / 382.2 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.01037, allocations: 248.9 kB / 382.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.01038, allocations: 384 / 382.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.01041, allocations: 4.375 kB / 382.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.01059, allocations: 58.17 kB / 382.5 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.0106, allocations: 4.172 kB / 382.5 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.01062, allocations: 4.125 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.01062, allocations: 0 / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.01075, allocations: 23.98 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007607/0.01151, allocations: 471.6 kB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.01167, allocations: 50.98 kB / 383 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.663e-05/0.01174, allocations: 27.7 kB / 383.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.01177, allocations: 4 kB / 383.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.0118, allocations: 33.39 kB / 383.1 MB, free: 13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.0118, allocations: 0 / 383.1 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008992/0.0127, allocations: 264.6 kB / 383.4 MB, free: 12.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.01276, allocations: 51.41 kB / 383.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.01381, allocations: 0.6785 MB / 384.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.01384, allocations: 25.7 kB / 384.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/0.01415, allocations: 306.7 kB / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/0.0142, allocations: 27.78 kB / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-05/0.01426, allocations: 27.38 kB / 384.5 MB, free: 11.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003906/0.01465, allocations: 0.5743 MB / 385 MB, free: 11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.01476, allocations: 19.98 kB / 385.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.782e-05/0.01485, allocations: 32.11 kB / 385.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.01505, allocations: 67.53 kB / 385.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.01505, allocations: 0 / 385.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003066/0.01536, allocations: 121.4 kB / 385.3 MB, free: 10.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.01538, allocations: 7.984 kB / 385.3 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.01538, allocations: 0 / 385.3 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/0.01541, allocations: 4 kB / 385.3 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.01553, allocations: 15.98 kB / 385.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.01554, allocations: 4 kB / 385.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.174e-05/0.01561, allocations: 8 kB / 385.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.01562, allocations: 3.938 kB / 385.3 MB, free: 10.71 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 0.0001461/0.01576, allocations: 168.5 kB / 385.5 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.126e-05/0.01584, allocations: 47.95 kB / 385.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003777/0.01622, allocations: 133.5 kB / 385.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.01623, allocations: 7.984 kB / 385.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.01624, allocations: 0 / 385.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01624, allocations: 4 kB / 385.7 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008508/0.01709, allocations: 0.5363 MB / 386.2 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.0171, allocations: 4 kB / 386.2 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.298e-05/0.01718, allocations: 15.98 kB / 386.2 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.01718, allocations: 4 kB / 386.2 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.01719, allocations: 0 / 386.2 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01719, allocations: 0 / 386.2 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01719, allocations: 0 / 386.2 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004177/0.01761, allocations: 291.9 kB / 386.5 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.97e-05/0.01768, allocations: 35.72 kB / 386.6 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.01771, allocations: 4 kB / 386.6 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.457e-05/0.01781, allocations: 7.984 kB / 386.6 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.01785, allocations: 3.984 kB / 386.6 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.01786, allocations: 4 kB / 386.6 MB, free: 9.371 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00053/0.01839, allocations: 442.8 kB / 387 MB, free: 8.941 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01839, allocations: 0 / 387 MB, free: 8.941 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002767/0.01867, allocations: 27.94 kB / 387 MB, free: 8.914 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.003092/0.02176, allocations: 454.4 kB / 387.5 MB, free: 8.645 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002932/0.02205, allocations: 59.59 kB / 387.5 MB, free: 8.582 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.02205, allocations: 0 / 387.5 MB, free: 8.582 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.02218, allocations: 47.66 kB / 387.6 MB, free: 8.531 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.02256, allocations: 30.25 kB / 387.6 MB, free: 8.504 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.02372, allocations: 0.6083 MB / 388.2 MB, free: 7.867 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.02399, allocations: 212.1 kB / 388.4 MB, free: 7.645 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.199e-05/0.02407, allocations: 16.72 kB / 388.4 MB, free: 7.625 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.02411, allocations: 16.48 kB / 388.5 MB, free: 7.609 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.02411, allocations: 0 / 388.5 MB, free: 7.609 MB / 362.7 MB Notification: Performance of Templates: time 0.006214/0.03033, allocations: 1.492 MB / 390 MB, free: 6.129 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.030314443050884]