Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001737/0.001737, allocations: 116.7 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002118/0.002118, allocations: 206.6 kB / 22.12 MB, free: 0.9219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 230.3 MB / 255.2 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2261/0.2261, allocations: 46.93 MB / 358.2 MB, free: 10.41 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 79.88 kB / 0.4925 GB, free: 7.629 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1192, allocations: 66 MB / 0.557 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.00316/0.1223, allocations: 1.624 MB / 0.5586 GB, free: 3.855 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.1234, allocations: 0.5489 MB / 0.5591 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.749e-05/0.1235, allocations: 7.938 kB / 0.5591 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.1237, allocations: 79.7 kB / 0.5592 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003148/0.124, allocations: 99.64 kB / 0.5593 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.1244, allocations: 119.2 kB / 0.5594 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.1246, allocations: 87.75 kB / 0.5595 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1247, allocations: 15.98 kB / 0.5595 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.736e-05/0.1247, allocations: 39.83 kB / 0.5595 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.1249, allocations: 59.83 kB / 0.5596 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.1249, allocations: 4 kB / 0.5596 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.125, allocations: 51.91 kB / 0.5597 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.292e-05/0.125, allocations: 19.92 kB / 0.5597 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.136e-05/0.1251, allocations: 27.75 kB / 0.5597 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.1253, allocations: 107.6 kB / 0.5598 GB, free: 2.602 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1253, allocations: 0 / 0.5598 GB, free: 2.602 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1253, allocations: 0 / 0.5598 GB, free: 2.602 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1253, allocations: 0 / 0.5598 GB, free: 2.602 MB / 414.1 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.0005479/0.1258, allocations: 422.7 kB / 0.5602 GB, free: 2.137 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1259, allocations: 12.03 kB / 0.5602 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.1259, allocations: 12.84 kB / 0.5602 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.1261, allocations: 216.7 kB / 0.5604 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-06/0.1262, allocations: 384 / 0.5604 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.1262, allocations: 8.375 kB / 0.5604 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.1263, allocations: 46.25 kB / 0.5605 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1263, allocations: 192 / 0.5605 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.1264, allocations: 7.938 kB / 0.5605 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1264, allocations: 3.984 kB / 0.5605 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.929e-05/0.1265, allocations: 31.98 kB / 0.5605 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.1269, allocations: 300.8 kB / 0.5608 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.127, allocations: 42.56 kB / 0.5609 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.524e-05/0.1271, allocations: 16.94 kB / 0.5609 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.1271, allocations: 8.062 kB / 0.5609 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.1271, allocations: 34.56 kB / 0.5609 GB, free: 1.293 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1271, allocations: 0 / 0.5609 GB, free: 1.293 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000945/0.1281, allocations: 233.2 kB / 0.5611 GB, free: 1.059 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.1281, allocations: 63.41 kB / 0.5612 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.1283, allocations: 218.3 kB / 0.5614 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.1284, allocations: 25.7 kB / 0.5614 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.67e-05/0.1284, allocations: 108.1 kB / 0.5615 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.1285, allocations: 27.75 kB / 0.5616 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.1285, allocations: 29.64 kB / 0.5616 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1287, allocations: 326.8 kB / 0.5619 GB, free: 236 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.1288, allocations: 31.98 kB / 0.5619 GB, free: 204 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.729e-05/0.1288, allocations: 31.91 kB / 0.562 GB, free: 172 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.129, allocations: 68.83 kB / 0.562 GB, free: 100 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.129, allocations: 0 / 0.562 GB, free: 100 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002573/0.1293, allocations: 121.8 kB / 0.5621 GB, free: 15.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1293, allocations: 4 kB / 0.5621 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1293, allocations: 11.98 kB / 0.5622 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1293, allocations: 4 kB / 0.5622 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.851e-05/0.1294, allocations: 12 kB / 0.5622 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1294, allocations: 0 / 0.5622 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.613e-05/0.1294, allocations: 7.984 kB / 0.5622 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.1295, allocations: 4 kB / 0.5622 GB, free: 15.93 MB / 430.1 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 (8): * Single equations (assignments): 8 * 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.0001082/0.1296, allocations: 129.8 kB / 0.5623 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.1296, allocations: 15.91 kB / 0.5623 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003137/0.1299, allocations: 139 kB / 0.5625 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1299, allocations: 0 / 0.5625 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1299, allocations: 0 / 0.5625 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1299, allocations: 432 / 0.5625 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005699/0.1305, allocations: 423.2 kB / 0.5629 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1305, allocations: 0 / 0.5629 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.341e-05/0.1306, allocations: 19.98 kB / 0.5629 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1306, allocations: 4.031 kB / 0.5629 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1306, allocations: 3.938 kB / 0.5629 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1306, allocations: 4 kB / 0.5629 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1306, allocations: 3.984 kB / 0.5629 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.1309, allocations: 208.3 kB / 0.5631 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.314e-05/0.1309, allocations: 97 kB / 0.5632 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/0.131, allocations: 7.938 kB / 0.5632 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.1311, allocations: 4 kB / 0.5632 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.1311, allocations: 7.984 kB / 0.5632 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.1311, allocations: 0 / 0.5632 GB, free: 14.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.1313, allocations: 168.2 kB / 0.5634 GB, free: 14.6 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1313, allocations: 0 / 0.5634 GB, free: 14.6 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.1316, allocations: 27.88 kB / 0.5634 GB, free: 14.57 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001666/0.1332, allocations: 456.6 kB / 0.5638 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002483/0.1335, allocations: 79.91 kB / 0.5639 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1335, allocations: 4 kB / 0.5639 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.885e-05/0.1336, allocations: 35.92 kB / 0.5639 GB, free: 14.17 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.1339, allocations: 22.33 kB / 0.564 GB, free: 14.15 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005764/0.1345, allocations: 288.4 kB / 0.5642 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.1349, allocations: 0.7197 MB / 0.5649 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.1349, allocations: 11.44 kB / 0.5649 GB, free: 13.08 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1349, allocations: 0 / 0.5649 GB, free: 13.08 MB / 430.1 MB Notification: Performance of Templates: time 0.003927/0.1388, allocations: 1.82 MB / 0.5667 GB, free: 11.26 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.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: 7.753556031995686]