Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001309/0.001309, allocations: 112.8 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.001405/0.001405, 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.565/1.565, allocations: 230.2 MB / 255.1 MB, free: 15.4 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.2272/0.2272, allocations: 46.89 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4") [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.002273/0.002273, allocations: 92.19 kB / 0.4924 GB, free: 26.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1277, allocations: 65.98 MB / 0.5568 GB, free: 8.609 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.00325/0.131, allocations: 1.657 MB / 0.5584 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.1321, allocations: 0.5488 MB / 0.559 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.385e-05/0.1321, allocations: 8 kB / 0.559 GB, free: 6.379 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000327/0.1325, allocations: 91.73 kB / 0.5591 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003247/0.1328, allocations: 115.6 kB / 0.5592 GB, free: 6.176 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.1331, allocations: 95.69 kB / 0.5593 GB, free: 6.082 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.1333, allocations: 99.75 kB / 0.5594 GB, free: 5.984 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.1334, allocations: 27.91 kB / 0.5594 GB, free: 5.957 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.159e-05/0.1335, allocations: 39.84 kB / 0.5594 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.1336, allocations: 67.8 kB / 0.5595 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.1336, allocations: 4 kB / 0.5595 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1337, allocations: 43.98 kB / 0.5595 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.727e-05/0.1338, allocations: 35.84 kB / 0.5596 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.002e-05/0.1339, allocations: 39.67 kB / 0.5596 GB, free: 5.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.1341, allocations: 123.4 kB / 0.5597 GB, free: 5.609 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1341, allocations: 0 / 0.5597 GB, free: 5.609 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1341, allocations: 4 kB / 0.5597 GB, free: 5.605 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1341, allocations: 0 / 0.5597 GB, free: 5.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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005881/0.1347, allocations: 446.5 kB / 0.5602 GB, free: 5.117 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1348, allocations: 8.031 kB / 0.5602 GB, free: 5.109 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/0.1348, allocations: 12.84 kB / 0.5602 GB, free: 5.098 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.135, allocations: 208.1 kB / 0.5604 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.1351, allocations: 12.31 kB / 0.5604 GB, free: 4.844 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.1351, allocations: 384 / 0.5604 GB, free: 4.844 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.1353, allocations: 66.23 kB / 0.5605 GB, free: 4.773 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.1353, allocations: 12.14 kB / 0.5605 GB, free: 4.762 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.1353, allocations: 11.86 kB / 0.5605 GB, free: 4.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1353, allocations: 0 / 0.5605 GB, free: 4.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.1354, allocations: 39.97 kB / 0.5605 GB, free: 4.711 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004608/0.1359, allocations: 332.6 kB / 0.5608 GB, free: 4.336 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.136, allocations: 62.55 kB / 0.5609 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.689e-05/0.1361, allocations: 16.86 kB / 0.5609 GB, free: 4.246 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.1361, allocations: 12.12 kB / 0.5609 GB, free: 4.234 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.1361, allocations: 30.56 kB / 0.5609 GB, free: 4.195 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.1361, allocations: 0 / 0.5609 GB, free: 4.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001085/0.1372, allocations: 317.3 kB / 0.5613 GB, free: 3.883 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.1373, allocations: 55.41 kB / 0.5613 GB, free: 3.816 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/0.1375, allocations: 243.4 kB / 0.5615 GB, free: 3.562 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.1376, allocations: 29.7 kB / 0.5616 GB, free: 3.527 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/0.1376, allocations: 112.1 kB / 0.5617 GB, free: 3.414 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.593e-05/0.1377, allocations: 47.56 kB / 0.5617 GB, free: 3.367 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/0.1377, allocations: 29.72 kB / 0.5617 GB, free: 3.332 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1379, allocations: 330.8 kB / 0.5621 GB, free: 3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.716e-05/0.138, allocations: 35.97 kB / 0.5621 GB, free: 2.965 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.74e-05/0.1381, allocations: 35.98 kB / 0.5621 GB, free: 2.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.1383, allocations: 84.83 kB / 0.5622 GB, free: 2.844 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1383, allocations: 3.984 kB / 0.5622 GB, free: 2.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002597/0.1385, allocations: 145.5 kB / 0.5624 GB, free: 2.691 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1385, allocations: 4 kB / 0.5624 GB, free: 2.688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1385, allocations: 0 / 0.5624 GB, free: 2.688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1386, allocations: 0 / 0.5624 GB, free: 2.688 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.1387, allocations: 23.98 kB / 0.5624 GB, free: 2.664 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.1387, allocations: 7.938 kB / 0.5624 GB, free: 2.656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.794e-05/0.1387, allocations: 8 kB / 0.5624 GB, free: 2.648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1388, allocations: 3.984 kB / 0.5624 GB, free: 2.645 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 (13): * Single equations (assignments): 13 * 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.0001117/0.1389, allocations: 137.8 kB / 0.5625 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.1389, allocations: 11.91 kB / 0.5625 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003502/0.1393, allocations: 162.6 kB / 0.5627 GB, free: 2.324 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1393, allocations: 4 kB / 0.5627 GB, free: 2.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1393, allocations: 7.922 kB / 0.5627 GB, free: 2.312 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1393, allocations: 0 / 0.5627 GB, free: 2.312 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006505/0.1399, allocations: 491 kB / 0.5632 GB, free: 1.773 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1399, allocations: 0 / 0.5632 GB, free: 1.773 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-05/0.14, allocations: 27.97 kB / 0.5632 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.14, allocations: 0 / 0.5632 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.14, allocations: 8 kB / 0.5632 GB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.14, allocations: 0 / 0.5632 GB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.14, allocations: 0 / 0.5632 GB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003299/0.1404, allocations: 256.1 kB / 0.5635 GB, free: 1.469 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-05/0.1404, allocations: 93 kB / 0.5635 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.1404, allocations: 0 / 0.5635 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.614e-05/0.1405, allocations: 8 kB / 0.5636 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.1406, allocations: 11.98 kB / 0.5636 GB, free: 1.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.1406, allocations: 0 / 0.5636 GB, free: 1.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001647/0.1407, allocations: 189.2 kB / 0.5637 GB, free: 1.156 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1407, allocations: 0 / 0.5637 GB, free: 1.156 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.141, allocations: 23.94 kB / 0.5638 GB, free: 1.133 MB / 414.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 (13): * Single equations (assignments): 13 * 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.001668/0.1426, allocations: 458.3 kB / 0.5642 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.1429, allocations: 91.88 kB / 0.5643 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1429, allocations: 0 / 0.5643 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.143, allocations: 47.92 kB / 0.5643 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.1434, allocations: 34.64 kB / 0.5644 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006179/0.144, allocations: 349.3 kB / 0.5647 GB, free: 316 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.1444, allocations: 0.7158 MB / 0.5654 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.1444, allocations: 23.42 kB / 0.5654 GB, free: 15.54 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1444, allocations: 0 / 0.5654 GB, free: 15.54 MB / 430.1 MB Notification: Performance of Templates: time 0.004383/0.1488, allocations: 2.065 MB / 0.5674 GB, free: 13.47 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.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.807675719028339]