Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.001233/0.001233, allocations: 120.2 kB / 18.5 MB, free: 4.535 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.00134/0.00134, allocations: 222.2 kB / 21.46 MB, free: 1.582 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.434/1.434, allocations: 230.4 MB / 254.7 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2296/0.2296, allocations: 46.92 MB / 357.7 MB, free: 10.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 83.88 kB / 0.4917 GB, free: 7.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1257, allocations: 66.05 MB / 0.5562 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002921/0.1286, allocations: 1.589 MB / 0.5577 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.000994/0.1296, allocations: 0.5489 MB / 0.5583 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.687e-05/0.1297, allocations: 0 / 0.5583 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.1299, allocations: 35.77 kB / 0.5583 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.1301, allocations: 75.69 kB / 0.5584 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.1304, allocations: 105.9 kB / 0.5585 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.1306, allocations: 79.75 kB / 0.5585 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.561e-05/0.1307, allocations: 11.94 kB / 0.5586 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.81e-05/0.1307, allocations: 23.92 kB / 0.5586 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.592e-05/0.1308, allocations: 19.86 kB / 0.5586 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.1308, allocations: 4 kB / 0.5586 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.66e-05/0.1309, allocations: 31.98 kB / 0.5586 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.864e-05/0.1309, allocations: 19.92 kB / 0.5587 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.1309, allocations: 27.75 kB / 0.5587 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.1311, allocations: 87.58 kB / 0.5588 GB, free: 2.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1311, allocations: 4 kB / 0.5588 GB, free: 2.836 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1311, allocations: 4 kB / 0.5588 GB, free: 2.832 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1311, allocations: 0 / 0.5588 GB, free: 2.832 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.0004948/0.1316, allocations: 394.9 kB / 0.5591 GB, free: 2.395 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1317, allocations: 8.031 kB / 0.5592 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.508e-05/0.1317, allocations: 192 / 0.5592 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.688e-05/0.1317, allocations: 30.75 kB / 0.5592 GB, free: 2.348 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.1317, allocations: 12.84 kB / 0.5592 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.132, allocations: 204.6 kB / 0.5594 GB, free: 2.098 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.132, allocations: 384 / 0.5594 GB, free: 2.098 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.132, allocations: 16.11 kB / 0.5594 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.1321, allocations: 53.67 kB / 0.5595 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1321, allocations: 0 / 0.5595 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.1322, allocations: 4 kB / 0.5595 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1322, allocations: 0 / 0.5595 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.51e-05/0.1323, allocations: 19.98 kB / 0.5595 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.1327, allocations: 284.9 kB / 0.5598 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.1329, allocations: 54.5 kB / 0.5598 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.24e-05/0.1329, allocations: 12.94 kB / 0.5598 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.1329, allocations: 4 kB / 0.5598 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.133, allocations: 30.56 kB / 0.5599 GB, free: 1.551 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.133, allocations: 0 / 0.5599 GB, free: 1.551 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005666/0.1335, allocations: 157.4 kB / 0.56 GB, free: 1.391 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.1336, allocations: 55.41 kB / 0.5601 GB, free: 1.324 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.1338, allocations: 174.5 kB / 0.5602 GB, free: 1.137 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.1338, allocations: 29.7 kB / 0.5602 GB, free: 1.102 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.662e-05/0.1338, allocations: 96.08 kB / 0.5603 GB, free: 1.004 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.1339, allocations: 19.89 kB / 0.5604 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.1339, allocations: 21.72 kB / 0.5604 GB, free: 0.957 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1341, allocations: 326.8 kB / 0.5607 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.369e-05/0.1341, allocations: 19.98 kB / 0.5607 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.76e-05/0.1342, allocations: 19.98 kB / 0.5607 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.1343, allocations: 48.77 kB / 0.5608 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1343, allocations: 0 / 0.5608 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002044/0.1345, allocations: 101.5 kB / 0.5609 GB, free: 444 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1346, allocations: 5.719 kB / 0.5609 GB, free: 440 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1346, allocations: 0 / 0.5609 GB, free: 440 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.1346, allocations: 0 / 0.5609 GB, free: 440 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.691e-05/0.1347, allocations: 15.98 kB / 0.5609 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1347, allocations: 0 / 0.5609 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.659e-05/0.1347, allocations: 11.94 kB / 0.5609 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.1347, allocations: 0 / 0.5609 GB, free: 412 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 0.0001105/0.1348, allocations: 133.7 kB / 0.561 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.1349, allocations: 7.953 kB / 0.561 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/0.1351, allocations: 102.2 kB / 0.5611 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1351, allocations: 64 / 0.5611 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.1351, allocations: 4 kB / 0.5611 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.1351, allocations: 3.938 kB / 0.5611 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005298/0.1357, allocations: 354.5 kB / 0.5615 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1357, allocations: 4 kB / 0.5615 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.08e-05/0.1357, allocations: 15.98 kB / 0.5615 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1357, allocations: 0 / 0.5615 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.1358, allocations: 7.938 kB / 0.5615 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1358, allocations: 0 / 0.5615 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1358, allocations: 0 / 0.5615 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.136, allocations: 187.4 kB / 0.5617 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.1361, allocations: 89.02 kB / 0.5618 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.1361, allocations: 3.938 kB / 0.5618 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-05/0.1362, allocations: 7.984 kB / 0.5618 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.1362, allocations: 288 / 0.5618 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.1362, allocations: 8 kB / 0.5618 GB, free: 15.39 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.1363, allocations: 135.9 kB / 0.5619 GB, free: 15.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1363, allocations: 0 / 0.5619 GB, free: 15.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002426/0.1366, allocations: 19.94 kB / 0.5619 GB, free: 15.23 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.002043/0.1386, allocations: 1.019 MB / 0.5629 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.1388, allocations: 51.84 kB / 0.563 GB, free: 14.28 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1388, allocations: 8 kB / 0.563 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.37e-05/0.1389, allocations: 27.97 kB / 0.563 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.1393, allocations: 11.94 kB / 0.563 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.1413, allocations: 1.517 MB / 0.5645 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.1417, allocations: 0.7041 MB / 0.5652 GB, free: 11.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.215e-05/0.1418, allocations: 11.98 kB / 0.5652 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.297e-05/0.1418, allocations: 27.42 kB / 0.5652 GB, free: 11.87 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1418, allocations: 0 / 0.5652 GB, free: 11.87 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/0.1608, allocations: 2.735 MB / 0.5679 GB, free: 9.188 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.776/7.937, allocations: 4.062 kB / 0.5679 GB, free: 9.184 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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: 10.97049865295412]