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.001569/0.001569, allocations: 121.4 kB / 19.17 MB, free: 3.852 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.002083/0.002083, allocations: 206.5 kB / 22.12 MB, free: 0.9062 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.536/1.536, allocations: 230.3 MB / 255.2 MB, free: 15.2 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.2356/0.2356, allocations: 46.91 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.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.002226/0.002226, allocations: 79.86 kB / 0.4925 GB, free: 7.621 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.121, allocations: 65.99 MB / 0.557 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003223/0.1242, allocations: 1.628 MB / 0.5586 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1253, allocations: 0.5371 MB / 0.5591 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.259e-05/0.1253, allocations: 4 kB / 0.5591 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.1256, allocations: 75.7 kB / 0.5592 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002793/0.1259, allocations: 107.6 kB / 0.5593 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.1261, allocations: 94.88 kB / 0.5594 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.1263, allocations: 87.75 kB / 0.5595 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.912e-05/0.1264, allocations: 11.98 kB / 0.5595 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.531e-05/0.1265, allocations: 39.78 kB / 0.5595 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.1266, allocations: 63.8 kB / 0.5596 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1267, allocations: 4 kB / 0.5596 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-05/0.1268, allocations: 43.98 kB / 0.5596 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.194e-05/0.1268, allocations: 19.92 kB / 0.5596 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.1268, allocations: 35.67 kB / 0.5597 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.1271, allocations: 107.6 kB / 0.5598 GB, free: 2.633 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1271, allocations: 0 / 0.5598 GB, free: 2.633 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1271, allocations: 0 / 0.5598 GB, free: 2.633 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1271, allocations: 0 / 0.5598 GB, free: 2.633 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.0005341/0.1276, allocations: 422.6 kB / 0.5602 GB, free: 2.168 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1276, allocations: 8.031 kB / 0.5602 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.1277, allocations: 16.84 kB / 0.5602 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.1279, allocations: 204.8 kB / 0.5604 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1279, allocations: 4.359 kB / 0.5604 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.1279, allocations: 8.375 kB / 0.5604 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1281, allocations: 54.23 kB / 0.5605 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1281, allocations: 192 / 0.5605 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1281, allocations: 7.938 kB / 0.5605 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.1281, allocations: 3.984 kB / 0.5605 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.1282, allocations: 27.92 kB / 0.5605 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.1286, allocations: 288.8 kB / 0.5608 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.1287, allocations: 46.55 kB / 0.5608 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.787e-05/0.1288, allocations: 12.86 kB / 0.5608 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.1288, allocations: 3.938 kB / 0.5608 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.1288, allocations: 34.56 kB / 0.5609 GB, free: 1.344 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1288, allocations: 0 / 0.5609 GB, free: 1.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009556/0.1298, allocations: 233.4 kB / 0.5611 GB, free: 1.109 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.1298, allocations: 51.41 kB / 0.5611 GB, free: 1.047 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.1301, allocations: 218.3 kB / 0.5613 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.1301, allocations: 25.7 kB / 0.5614 GB, free: 0.793 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.1303, allocations: 112.1 kB / 0.5615 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.1303, allocations: 31.73 kB / 0.5615 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.1304, allocations: 17.72 kB / 0.5615 GB, free: 0.625 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002257/0.1306, allocations: 334.7 kB / 0.5618 GB, free: 296 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.565e-05/0.1307, allocations: 23.98 kB / 0.5619 GB, free: 272 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.191e-05/0.1308, allocations: 19.98 kB / 0.5619 GB, free: 252 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.1309, allocations: 72.98 kB / 0.5619 GB, free: 176 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1309, allocations: 4 kB / 0.562 GB, free: 172 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002137/0.1311, allocations: 97.61 kB / 0.562 GB, free: 68 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.1311, allocations: 4 kB / 0.562 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1311, allocations: 0 / 0.562 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1312, allocations: 0 / 0.562 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.1313, allocations: 19.98 kB / 0.5621 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1313, allocations: 0 / 0.5621 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.51e-05/0.1313, allocations: 8 kB / 0.5621 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1313, allocations: 0 / 0.5621 GB, free: 36 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.0001152/0.1314, allocations: 141.6 kB / 0.5622 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.1315, allocations: 11.91 kB / 0.5622 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.1318, allocations: 119 kB / 0.5623 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1318, allocations: 4 kB / 0.5623 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1318, allocations: 0 / 0.5623 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1318, allocations: 0 / 0.5623 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005523/0.1323, allocations: 411.2 kB / 0.5627 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1323, allocations: 0 / 0.5627 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.232e-05/0.1324, allocations: 15.98 kB / 0.5627 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1324, allocations: 7.938 kB / 0.5628 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.1324, allocations: 7.938 kB / 0.5628 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1324, allocations: 3.984 kB / 0.5628 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1324, allocations: 4 kB / 0.5628 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.1327, allocations: 196.4 kB / 0.563 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/0.1327, allocations: 89 kB / 0.563 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.1328, allocations: 7.938 kB / 0.563 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.559e-05/0.1328, allocations: 8 kB / 0.5631 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.1329, allocations: 8.406 kB / 0.5631 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.1329, allocations: 4 kB / 0.5631 GB, free: 14.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001888/0.1331, allocations: 168.2 kB / 0.5632 GB, free: 14.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1331, allocations: 0 / 0.5632 GB, free: 14.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1333, allocations: 23.88 kB / 0.5633 GB, free: 14.71 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.001732/0.1351, allocations: 461.7 kB / 0.5637 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.1353, allocations: 59.95 kB / 0.5637 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1353, allocations: 0 / 0.5637 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.817e-05/0.1354, allocations: 31.92 kB / 0.5638 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.1357, allocations: 19.97 kB / 0.5638 GB, free: 14.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005436/0.1363, allocations: 292.4 kB / 0.5641 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.1367, allocations: 0.7002 MB / 0.5648 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/0.1367, allocations: 19.42 kB / 0.5648 GB, free: 13.24 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1367, allocations: 0 / 0.5648 GB, free: 13.24 MB / 430.1 MB Notification: Performance of Templates: time 0.004047/0.1408, allocations: 1.769 MB / 0.5665 GB, free: 11.47 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.652283357005217]