Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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.001407/0.001407, 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.001401/0.001401, 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.509/1.509, allocations: 230.2 MB / 255.2 MB, free: 15.26 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.2258/0.2258, allocations: 46.88 MB / 358.1 MB, free: 10.52 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.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.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.002289/0.002289, allocations: 79.86 kB / 0.4924 GB, free: 8.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1395, allocations: 65.98 MB / 0.5568 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003269/0.1427, allocations: 1.622 MB / 0.5584 GB, free: 4.258 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.1438, allocations: 0.5449 MB / 0.5589 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.782e-05/0.1439, allocations: 4 kB / 0.5589 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.1442, allocations: 75.77 kB / 0.559 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003216/0.1445, allocations: 103.6 kB / 0.5591 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.1448, allocations: 94.94 kB / 0.5592 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.145, allocations: 79.81 kB / 0.5593 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.1451, allocations: 11.98 kB / 0.5593 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.147e-05/0.1452, allocations: 43.83 kB / 0.5593 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.1453, allocations: 63.77 kB / 0.5594 GB, free: 3.246 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.1453, allocations: 4 kB / 0.5594 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.1454, allocations: 47.97 kB / 0.5594 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.789e-05/0.1455, allocations: 23.86 kB / 0.5595 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.914e-05/0.1455, allocations: 27.75 kB / 0.5595 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.1458, allocations: 107.6 kB / 0.5596 GB, free: 3.039 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1458, allocations: 3.938 kB / 0.5596 GB, free: 3.035 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1458, allocations: 0 / 0.5596 GB, free: 3.035 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.1458, allocations: 0 / 0.5596 GB, free: 3.035 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.0005887/0.1464, allocations: 422.7 kB / 0.56 GB, free: 2.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.1464, allocations: 8.031 kB / 0.56 GB, free: 2.562 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.1465, allocations: 16.84 kB / 0.56 GB, free: 2.547 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.1467, allocations: 204.8 kB / 0.5602 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.381e-06/0.1467, allocations: 384 / 0.5602 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.1467, allocations: 4.375 kB / 0.5602 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.1469, allocations: 50.25 kB / 0.5603 GB, free: 2.246 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1469, allocations: 192 / 0.5603 GB, free: 2.246 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1469, allocations: 7.875 kB / 0.5603 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1469, allocations: 7.984 kB / 0.5603 GB, free: 2.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.147, allocations: 27.97 kB / 0.5603 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.1474, allocations: 296.8 kB / 0.5606 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.1475, allocations: 38.5 kB / 0.5606 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.252e-05/0.1476, allocations: 20.94 kB / 0.5607 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.1476, allocations: 8.062 kB / 0.5607 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.1476, allocations: 34.56 kB / 0.5607 GB, free: 1.742 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1476, allocations: 0 / 0.5607 GB, free: 1.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009279/0.1486, allocations: 217.3 kB / 0.5609 GB, free: 1.523 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.1486, allocations: 55.41 kB / 0.561 GB, free: 1.457 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.1488, allocations: 214.3 kB / 0.5612 GB, free: 1.238 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.1489, allocations: 25.7 kB / 0.5612 GB, free: 1.207 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.73e-05/0.1489, allocations: 116 kB / 0.5613 GB, free: 1.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.149, allocations: 23.81 kB / 0.5613 GB, free: 1.066 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.149, allocations: 21.7 kB / 0.5613 GB, free: 1.039 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1492, allocations: 326.8 kB / 0.5617 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.639e-05/0.1493, allocations: 31.98 kB / 0.5617 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-05/0.1493, allocations: 19.98 kB / 0.5617 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.1495, allocations: 68.98 kB / 0.5618 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1495, allocations: 3.938 kB / 0.5618 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002224/0.1497, allocations: 105.6 kB / 0.5619 GB, free: 488 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1497, allocations: 4 kB / 0.5619 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1497, allocations: 7.984 kB / 0.5619 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.1497, allocations: 0 / 0.5619 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1498, allocations: 16 kB / 0.5619 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.1499, allocations: 3.984 kB / 0.5619 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.257e-05/0.1499, allocations: 4 kB / 0.5619 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.1499, allocations: 3.938 kB / 0.5619 GB, free: 448 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 (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.0001241/0.15, allocations: 141.6 kB / 0.562 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.1501, allocations: 11.91 kB / 0.5621 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/0.1504, allocations: 115 kB / 0.5622 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.1504, allocations: 4 kB / 0.5622 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1504, allocations: 0 / 0.5622 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1504, allocations: 0 / 0.5622 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005679/0.1509, allocations: 411.4 kB / 0.5626 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1509, allocations: 0 / 0.5626 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-05/0.151, allocations: 23.95 kB / 0.5626 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.151, allocations: 4 kB / 0.5626 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.151, allocations: 0 / 0.5626 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.151, allocations: 3.938 kB / 0.5626 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.151, allocations: 4 kB / 0.5626 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.1513, allocations: 196.3 kB / 0.5628 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.1514, allocations: 93.02 kB / 0.5629 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.1514, allocations: 4 kB / 0.5629 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.585e-05/0.1515, allocations: 8.344 kB / 0.5629 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.1515, allocations: 7.938 kB / 0.5629 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.1516, allocations: 8 kB / 0.5629 GB, free: 15.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001464/0.1517, allocations: 168.2 kB / 0.5631 GB, free: 15.14 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1517, allocations: 0 / 0.5631 GB, free: 15.14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.152, allocations: 16 kB / 0.5631 GB, free: 15.12 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.001688/0.1537, allocations: 464.2 kB / 0.5635 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000247/0.1539, allocations: 67.92 kB / 0.5636 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1539, allocations: 7.938 kB / 0.5636 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.158e-05/0.154, allocations: 31.98 kB / 0.5636 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.1544, allocations: 19.97 kB / 0.5636 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006273/0.155, allocations: 284.3 kB / 0.5639 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.1554, allocations: 0.7119 MB / 0.5646 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.1554, allocations: 15.44 kB / 0.5646 GB, free: 13.65 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1554, allocations: 0 / 0.5646 GB, free: 13.65 MB / 430.1 MB Notification: Performance of Templates: time 0.003985/0.1594, allocations: 1.757 MB / 0.5663 GB, free: 11.89 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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.93391522904858]