Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.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.001762/0.001762, allocations: 108.3 kB / 19.17 MB, free: 3.914 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.002148/0.002148, allocations: 205 kB / 22.12 MB, free: 0.9648 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.529/1.529, 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.2526/0.2526, allocations: 46.93 MB / 358.2 MB, free: 10.39 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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") [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.002326/0.002326, allocations: 79.86 kB / 0.4925 GB, free: 7.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1271, allocations: 66 MB / 0.557 GB, free: 5.453 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003005/0.1301, allocations: 1.601 MB / 0.5585 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.1311, allocations: 0.5371 MB / 0.5591 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.355e-05/0.1312, allocations: 4 kB / 0.5591 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002032/0.1314, allocations: 35.83 kB / 0.5591 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002636/0.1317, allocations: 79.62 kB / 0.5592 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.1319, allocations: 94.95 kB / 0.5593 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.1321, allocations: 63.77 kB / 0.5593 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.853e-05/0.1321, allocations: 8 kB / 0.5593 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.951e-05/0.1322, allocations: 31.84 kB / 0.5594 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.82e-05/0.1323, allocations: 19.86 kB / 0.5594 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.1323, allocations: 4 kB / 0.5594 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.436e-05/0.1324, allocations: 35.98 kB / 0.5594 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.478e-05/0.1324, allocations: 11.92 kB / 0.5594 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.94e-05/0.1324, allocations: 27.81 kB / 0.5595 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.1326, allocations: 83.59 kB / 0.5596 GB, free: 2.809 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.1326, allocations: 0 / 0.5596 GB, free: 2.809 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1326, allocations: 3.938 kB / 0.5596 GB, free: 2.805 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.1326, allocations: 0 / 0.5596 GB, free: 2.805 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.0004982/0.1331, allocations: 394.9 kB / 0.5599 GB, free: 2.367 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.1332, allocations: 8.031 kB / 0.5599 GB, free: 2.359 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.1332, allocations: 16.84 kB / 0.56 GB, free: 2.344 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.1334, allocations: 200.8 kB / 0.5601 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.1334, allocations: 384 / 0.5601 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.1334, allocations: 4.375 kB / 0.5602 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.1336, allocations: 49.75 kB / 0.5602 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1336, allocations: 3.984 kB / 0.5602 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.1336, allocations: 0 / 0.5602 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.1336, allocations: 4 kB / 0.5602 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.455e-05/0.1337, allocations: 23.92 kB / 0.5602 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003614/0.134, allocations: 280.9 kB / 0.5605 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.1342, allocations: 38.56 kB / 0.5605 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.409e-05/0.1343, allocations: 16.94 kB / 0.5606 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.1343, allocations: 7.938 kB / 0.5606 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.1344, allocations: 34.56 kB / 0.5606 GB, free: 1.578 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.1344, allocations: 3.938 kB / 0.5606 GB, free: 1.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005568/0.1349, allocations: 145.4 kB / 0.5607 GB, free: 1.426 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.135, allocations: 51.41 kB / 0.5608 GB, free: 1.363 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.1351, allocations: 178.5 kB / 0.561 GB, free: 1.172 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1352, allocations: 25.7 kB / 0.561 GB, free: 1.141 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/0.1352, allocations: 104.1 kB / 0.5611 GB, free: 1.035 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.1353, allocations: 15.89 kB / 0.5611 GB, free: 1.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.1353, allocations: 17.72 kB / 0.5611 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1354, allocations: 322.8 kB / 0.5614 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.218e-05/0.1355, allocations: 24.05 kB / 0.5614 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.854e-05/0.1356, allocations: 19.98 kB / 0.5615 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.1357, allocations: 44.83 kB / 0.5615 GB, free: 0.582 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1357, allocations: 0 / 0.5615 GB, free: 0.582 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001948/0.1359, allocations: 89.52 kB / 0.5616 GB, free: 500 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1359, allocations: 8 kB / 0.5616 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1359, allocations: 0 / 0.5616 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1359, allocations: 0 / 0.5616 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.532e-05/0.136, allocations: 11.98 kB / 0.5616 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.136, allocations: 0 / 0.5616 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.135e-05/0.1361, allocations: 4 kB / 0.5616 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.1361, allocations: 11.98 kB / 0.5616 GB, free: 464 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.91e-05/0.1362, allocations: 117.8 kB / 0.5617 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.445e-05/0.1362, allocations: 7.953 kB / 0.5617 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.1364, allocations: 97.89 kB / 0.5618 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1364, allocations: 4 kB / 0.5618 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1365, allocations: 3.938 kB / 0.5618 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1365, allocations: 3.984 kB / 0.5618 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004647/0.1369, allocations: 350.5 kB / 0.5622 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1369, allocations: 320 / 0.5622 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.302e-05/0.137, allocations: 19.98 kB / 0.5622 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.137, allocations: 0 / 0.5622 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.137, allocations: 3.938 kB / 0.5622 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.137, allocations: 3.938 kB / 0.5622 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.137, allocations: 0 / 0.5622 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.1372, allocations: 183.5 kB / 0.5624 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.1373, allocations: 85.02 kB / 0.5625 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.1373, allocations: 0 / 0.5625 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.125e-05/0.1374, allocations: 11.94 kB / 0.5625 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.1374, allocations: 7.984 kB / 0.5625 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-06/0.1374, allocations: 0 / 0.5625 GB, free: 15.46 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.1375, allocations: 139.9 kB / 0.5626 GB, free: 15.33 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1375, allocations: 4 kB / 0.5626 GB, free: 15.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.1378, allocations: 19.86 kB / 0.5626 GB, free: 15.3 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.00144/0.1392, allocations: 393.1 kB / 0.563 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.1394, allocations: 51.89 kB / 0.5631 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1394, allocations: 0 / 0.5631 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.568e-05/0.1395, allocations: 23.98 kB / 0.5631 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.1398, allocations: 23.98 kB / 0.5631 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004491/0.1403, allocations: 219.5 kB / 0.5633 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.1406, allocations: 0.6963 MB / 0.564 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.1407, allocations: 15.44 kB / 0.564 GB, free: 13.97 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1407, allocations: 0 / 0.564 GB, free: 13.97 MB / 430.1 MB Notification: Performance of Templates: time 0.003309/0.144, allocations: 1.481 MB / 0.5655 GB, free: 12.49 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.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.5672362339973915]