Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.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.001642/0.001642, allocations: 112.9 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.001835/0.001835, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.476/1.476, allocations: 230.2 MB / 255.2 MB, free: 15.24 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.2347/0.2347, allocations: 46.88 MB / 358.1 MB, free: 10.53 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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") [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.002205/0.002205, allocations: 83.86 kB / 0.4924 GB, free: 8.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1468, allocations: 65.99 MB / 0.5568 GB, free: 5.914 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003336/0.1501, allocations: 1.601 MB / 0.5584 GB, free: 4.297 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.1512, allocations: 0.541 MB / 0.5589 GB, free: 3.754 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.662e-05/0.1513, allocations: 4 kB / 0.5589 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002353/0.1515, allocations: 31.84 kB / 0.5589 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002922/0.1518, allocations: 75.62 kB / 0.559 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.1521, allocations: 91.75 kB / 0.5591 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.1522, allocations: 59.78 kB / 0.5592 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.1523, allocations: 11.98 kB / 0.5592 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.301e-05/0.1524, allocations: 19.92 kB / 0.5592 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.552e-05/0.1525, allocations: 23.86 kB / 0.5592 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.1525, allocations: 4 kB / 0.5592 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.783e-05/0.1526, allocations: 39.92 kB / 0.5593 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.434e-05/0.1526, allocations: 11.92 kB / 0.5593 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.931e-05/0.1527, allocations: 27.8 kB / 0.5593 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.1528, allocations: 75.67 kB / 0.5594 GB, free: 3.285 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1528, allocations: 0 / 0.5594 GB, free: 3.285 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1528, allocations: 4 kB / 0.5594 GB, free: 3.281 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1529, allocations: 0 / 0.5594 GB, free: 3.281 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.0005609/0.1534, allocations: 386.9 kB / 0.5597 GB, free: 2.852 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.1535, allocations: 8.031 kB / 0.5597 GB, free: 2.844 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.1535, allocations: 12.89 kB / 0.5598 GB, free: 2.832 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.1537, allocations: 204.1 kB / 0.56 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1537, allocations: 4.375 kB / 0.56 GB, free: 2.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.1538, allocations: 384 / 0.56 GB, free: 2.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.1539, allocations: 50.23 kB / 0.56 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.1539, allocations: 192 / 0.56 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1539, allocations: 3.938 kB / 0.56 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1539, allocations: 3.938 kB / 0.56 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.841e-05/0.154, allocations: 23.98 kB / 0.56 GB, free: 2.504 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.1544, allocations: 276.9 kB / 0.5603 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.1546, allocations: 50.5 kB / 0.5603 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.084e-05/0.1547, allocations: 12.94 kB / 0.5604 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.1547, allocations: 0 / 0.5604 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.1547, allocations: 38.56 kB / 0.5604 GB, free: 2.062 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.1547, allocations: 0 / 0.5604 GB, free: 2.062 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005813/0.1553, allocations: 149.4 kB / 0.5605 GB, free: 1.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.1554, allocations: 51.41 kB / 0.5606 GB, free: 1.848 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.1555, allocations: 160.6 kB / 0.5607 GB, free: 1.684 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.1556, allocations: 25.7 kB / 0.5608 GB, free: 1.652 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.098e-05/0.1556, allocations: 100.1 kB / 0.5609 GB, free: 1.551 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.1557, allocations: 19.86 kB / 0.5609 GB, free: 1.531 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.1557, allocations: 21.7 kB / 0.5609 GB, free: 1.504 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1558, allocations: 322.8 kB / 0.5612 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.775e-05/0.1559, allocations: 15.98 kB / 0.5612 GB, free: 1.164 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.214e-05/0.156, allocations: 27.84 kB / 0.5613 GB, free: 1.137 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.1561, allocations: 48.84 kB / 0.5613 GB, free: 1.086 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1561, allocations: 0 / 0.5613 GB, free: 1.086 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001853/0.1563, allocations: 81.61 kB / 0.5614 GB, free: 1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1563, allocations: 4 kB / 0.5614 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1563, allocations: 0 / 0.5614 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1563, allocations: 0 / 0.5614 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.1564, allocations: 15.98 kB / 0.5614 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1564, allocations: 0 / 0.5614 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.006e-05/0.1564, allocations: 4 kB / 0.5614 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.1564, allocations: 11.94 kB / 0.5614 GB, free: 0.9648 MB / 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.259e-05/0.1565, allocations: 117.8 kB / 0.5615 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.1566, allocations: 11.94 kB / 0.5615 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.1568, allocations: 93.89 kB / 0.5616 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.1568, allocations: 4 kB / 0.5616 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1568, allocations: 0 / 0.5616 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1568, allocations: 0 / 0.5616 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004297/0.1572, allocations: 358.7 kB / 0.562 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1572, allocations: 64 / 0.562 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.638e-05/0.1573, allocations: 12 kB / 0.562 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.1573, allocations: 4 kB / 0.562 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.1573, allocations: 0 / 0.562 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.486e-05/0.1573, allocations: 7.922 kB / 0.562 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1573, allocations: 0 / 0.562 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.1576, allocations: 179.7 kB / 0.5622 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.071e-05/0.1576, allocations: 89.05 kB / 0.5622 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.1577, allocations: 4 kB / 0.5623 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.147e-05/0.1577, allocations: 15.86 kB / 0.5623 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.1578, allocations: 0 / 0.5623 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.1578, allocations: 4 kB / 0.5623 GB, free: 15.97 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.1579, allocations: 125.9 kB / 0.5624 GB, free: 15.85 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1579, allocations: 4 kB / 0.5624 GB, free: 15.85 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.1581, allocations: 19.94 kB / 0.5624 GB, free: 15.83 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.001484/0.1596, allocations: 401.7 kB / 0.5628 GB, free: 15.58 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.1598, allocations: 43.97 kB / 0.5628 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1598, allocations: 0 / 0.5628 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.765e-05/0.1599, allocations: 27.92 kB / 0.5629 GB, free: 15.51 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.1603, allocations: 23.98 kB / 0.5629 GB, free: 15.49 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004887/0.1607, allocations: 203.8 kB / 0.5631 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.1611, allocations: 0.6924 MB / 0.5638 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.1611, allocations: 19.42 kB / 0.5638 GB, free: 14.52 MB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1611, allocations: 0 / 0.5638 GB, free: 14.52 MB / 430.1 MB Notification: Performance of Templates: time 0.003537/0.1646, allocations: 1.443 MB / 0.5652 GB, free: 13.07 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.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.9561246710363775]