Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001596/0.001596, allocations: 110.8 kB / 19.17 MB, free: 3.891 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.001848/0.001848, allocations: 210.5 kB / 22.13 MB, free: 0.9375 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.49/1.49, allocations: 230.2 MB / 255.1 MB, free: 15.23 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.2446/0.2446, allocations: 46.89 MB / 358.1 MB, free: 10.5 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.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21") [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.00232/0.00232, allocations: 79.86 kB / 0.4924 GB, free: 8.141 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1422, allocations: 65.99 MB / 0.5568 GB, free: 6.023 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003451/0.1457, allocations: 1.609 MB / 0.5584 GB, free: 4.398 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.1476, allocations: 1.167 MB / 0.5595 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.685e-05/0.1477, allocations: 0 / 0.5595 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.148, allocations: 23.84 kB / 0.5596 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003069/0.1483, allocations: 83.62 kB / 0.5596 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.1485, allocations: 99.12 kB / 0.5597 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.1487, allocations: 63.83 kB / 0.5598 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1488, allocations: 15.98 kB / 0.5598 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.029e-05/0.1489, allocations: 27.86 kB / 0.5598 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.149, allocations: 39.83 kB / 0.5599 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.1491, allocations: 4 kB / 0.5599 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.1493, allocations: 91.95 kB / 0.56 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.65e-05/0.1493, allocations: 19.84 kB / 0.56 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.8e-05/0.1494, allocations: 23.88 kB / 0.56 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.1497, allocations: 139.5 kB / 0.5601 GB, free: 2.609 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1497, allocations: 0 / 0.5601 GB, free: 2.609 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1497, allocations: 0 / 0.5601 GB, free: 2.609 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1497, allocations: 4 kB / 0.5601 GB, free: 2.605 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006152/0.1503, allocations: 406.8 kB / 0.5605 GB, free: 2.156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.1503, allocations: 8.031 kB / 0.5605 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.1504, allocations: 8.891 kB / 0.5605 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.1506, allocations: 193.6 kB / 0.5607 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.1506, allocations: 384 / 0.5607 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.1507, allocations: 4.375 kB / 0.5607 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.1508, allocations: 67.95 kB / 0.5608 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1508, allocations: 192 / 0.5608 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1508, allocations: 3.938 kB / 0.5608 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1509, allocations: 0 / 0.5608 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.151, allocations: 23.98 kB / 0.5608 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.1514, allocations: 280.8 kB / 0.5611 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.1516, allocations: 46.5 kB / 0.5611 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.673e-05/0.1516, allocations: 16.94 kB / 0.5612 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.1517, allocations: 0 / 0.5612 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.1517, allocations: 34.56 kB / 0.5612 GB, free: 1.363 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.1517, allocations: 0 / 0.5612 GB, free: 1.363 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006035/0.1523, allocations: 141.4 kB / 0.5613 GB, free: 1.219 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.524e-05/0.1524, allocations: 81.11 kB / 0.5614 GB, free: 1.121 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.1526, allocations: 143.9 kB / 0.5615 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.1526, allocations: 33.62 kB / 0.5616 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.1526, allocations: 92.14 kB / 0.5617 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.1527, allocations: 19.78 kB / 0.5617 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.551e-05/0.1527, allocations: 21.7 kB / 0.5617 GB, free: 0.793 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1528, allocations: 322.8 kB / 0.562 GB, free: 480 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.581e-05/0.1529, allocations: 19.98 kB / 0.562 GB, free: 460 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.278e-05/0.153, allocations: 37.69 kB / 0.5621 GB, free: 416 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.1531, allocations: 45.03 kB / 0.5621 GB, free: 368 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1531, allocations: 0 / 0.5621 GB, free: 368 kB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002268/0.1534, allocations: 85.55 kB / 0.5622 GB, free: 276 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1534, allocations: 12.03 kB / 0.5622 GB, free: 264 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1534, allocations: 0 / 0.5622 GB, free: 264 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1534, allocations: 3.938 kB / 0.5622 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.152e-05/0.1535, allocations: 15.92 kB / 0.5622 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1535, allocations: 0 / 0.5622 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.1535, allocations: 4 kB / 0.5622 GB, free: 240 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.1535, allocations: 4 kB / 0.5622 GB, free: 236 kB / 414.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 (5): * Single equations (assignments): 5 * 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 9.329e-05/0.1536, allocations: 117.8 kB / 0.5623 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.666e-05/0.1537, allocations: 7.953 kB / 0.5623 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.154, allocations: 94 kB / 0.5624 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.154, allocations: 4 kB / 0.5624 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.154, allocations: 0 / 0.5624 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.154, allocations: 3.938 kB / 0.5624 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004931/0.1545, allocations: 346.5 kB / 0.5628 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1545, allocations: 0 / 0.5628 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.214e-05/0.1545, allocations: 15.98 kB / 0.5628 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1545, allocations: 0 / 0.5628 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.1545, allocations: 4 kB / 0.5628 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1545, allocations: 0 / 0.5628 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1545, allocations: 3.938 kB / 0.5628 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.1548, allocations: 183.9 kB / 0.563 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.989e-05/0.1549, allocations: 81.06 kB / 0.563 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.1549, allocations: 12 kB / 0.5631 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.039e-05/0.155, allocations: 11.97 kB / 0.5631 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.155, allocations: 3.938 kB / 0.5631 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.155, allocations: 0 / 0.5631 GB, free: 15.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.1551, allocations: 117 kB / 0.5632 GB, free: 15.14 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1551, allocations: 0 / 0.5632 GB, free: 15.14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003072/0.1554, allocations: 35.88 kB / 0.5632 GB, free: 15.1 MB / 430.1 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 (5): * Single equations (assignments): 5 * 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.001789/0.1572, allocations: 493.9 kB / 0.5637 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.1574, allocations: 51.91 kB / 0.5637 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1574, allocations: 0 / 0.5637 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.958e-05/0.1575, allocations: 23.98 kB / 0.5638 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.1579, allocations: 15.98 kB / 0.5638 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004938/0.1584, allocations: 191.2 kB / 0.564 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.1587, allocations: 0.6963 MB / 0.5646 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.677e-05/0.1588, allocations: 19.42 kB / 0.5647 GB, free: 13.74 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1588, allocations: 0 / 0.5647 GB, free: 13.74 MB / 430.1 MB Notification: Performance of Templates: time 0.004369/0.1632, allocations: 1.924 MB / 0.5665 GB, free: 11.81 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.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.970762202050537]