Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.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.001323/0.001323, allocations: 124.3 kB / 18.5 MB, free: 4.656 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.00141/0.00141, allocations: 214.3 kB / 21.46 MB, free: 1.707 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.435/1.435, allocations: 230.5 MB / 254.7 MB, free: 15.02 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.2362/0.2362, allocations: 46.92 MB / 357.7 MB, free: 10.17 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.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 83.88 kB / 0.4917 GB, free: 7.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1289, allocations: 66.05 MB / 0.5562 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003429/0.1324, allocations: 1.602 MB / 0.5577 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1334, allocations: 0.5371 MB / 0.5583 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.948e-05/0.1335, allocations: 4 kB / 0.5583 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.1337, allocations: 23.84 kB / 0.5583 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003304/0.1341, allocations: 79.62 kB / 0.5584 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.1344, allocations: 93.19 kB / 0.5585 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.1345, allocations: 71.78 kB / 0.5585 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1346, allocations: 11.98 kB / 0.5585 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.674e-05/0.1347, allocations: 23.91 kB / 0.5586 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.479e-05/0.1348, allocations: 19.88 kB / 0.5586 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.1348, allocations: 0 / 0.5586 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.737e-05/0.1349, allocations: 27.98 kB / 0.5586 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.323e-05/0.1349, allocations: 19.92 kB / 0.5586 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.659e-05/0.135, allocations: 27.8 kB / 0.5586 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.1352, allocations: 83.55 kB / 0.5587 GB, free: 2.879 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1352, allocations: 3.984 kB / 0.5587 GB, free: 2.875 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1352, allocations: 4 kB / 0.5587 GB, free: 2.871 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1352, allocations: 0 / 0.5587 GB, free: 2.871 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.0005713/0.1358, allocations: 386.9 kB / 0.5591 GB, free: 2.441 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.1358, allocations: 12.02 kB / 0.5591 GB, free: 2.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.607e-05/0.1358, allocations: 192 / 0.5591 GB, free: 2.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.618e-05/0.1359, allocations: 34.75 kB / 0.5591 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.1359, allocations: 8.891 kB / 0.5592 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.1361, allocations: 192.2 kB / 0.5593 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1362, allocations: 8.375 kB / 0.5593 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.1362, allocations: 4.375 kB / 0.5594 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.1363, allocations: 49.94 kB / 0.5594 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.1364, allocations: 3.984 kB / 0.5594 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.1364, allocations: 0 / 0.5594 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1364, allocations: 4 kB / 0.5594 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.1365, allocations: 19.98 kB / 0.5594 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.1369, allocations: 280.9 kB / 0.5597 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.1371, allocations: 54.48 kB / 0.5597 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.194e-05/0.1372, allocations: 8.859 kB / 0.5598 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.1372, allocations: 0 / 0.5598 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.1372, allocations: 34.56 kB / 0.5598 GB, free: 1.617 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1372, allocations: 3.938 kB / 0.5598 GB, free: 1.613 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005911/0.1378, allocations: 153.4 kB / 0.5599 GB, free: 1.457 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.1378, allocations: 51.41 kB / 0.56 GB, free: 1.395 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.138, allocations: 164.9 kB / 0.5601 GB, free: 1.227 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.138, allocations: 29.7 kB / 0.5602 GB, free: 1.191 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.829e-05/0.1381, allocations: 92.14 kB / 0.5603 GB, free: 1.098 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.1381, allocations: 23.78 kB / 0.5603 GB, free: 1.074 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.1382, allocations: 21.72 kB / 0.5603 GB, free: 1.047 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1383, allocations: 326.8 kB / 0.5606 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.13e-05/0.1384, allocations: 15.98 kB / 0.5606 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.064e-05/0.1384, allocations: 15.98 kB / 0.5606 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.1386, allocations: 52.77 kB / 0.5607 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1386, allocations: 0 / 0.5607 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001953/0.1388, allocations: 81.62 kB / 0.5608 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1388, allocations: 6.031 kB / 0.5608 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1388, allocations: 0 / 0.5608 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1388, allocations: 0 / 0.5608 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.048e-05/0.1389, allocations: 15.98 kB / 0.5608 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1389, allocations: 0 / 0.5608 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.454e-05/0.1389, allocations: 11.94 kB / 0.5608 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.1389, allocations: 0 / 0.5608 GB, free: 0.5156 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 (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.727e-05/0.139, allocations: 125.8 kB / 0.5609 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.1391, allocations: 7.953 kB / 0.5609 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.1393, allocations: 85.91 kB / 0.561 GB, free: 288 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1393, allocations: 4 kB / 0.561 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1393, allocations: 0 / 0.561 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1393, allocations: 4.25 kB / 0.561 GB, free: 280 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/0.1398, allocations: 354.5 kB / 0.5614 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1398, allocations: 4 kB / 0.5614 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.793e-05/0.1399, allocations: 15.98 kB / 0.5614 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1399, allocations: 0 / 0.5614 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1399, allocations: 3.938 kB / 0.5614 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1399, allocations: 0 / 0.5614 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.1399, allocations: 0 / 0.5614 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.1401, allocations: 179.5 kB / 0.5616 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.095e-05/0.1402, allocations: 85.06 kB / 0.5616 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.1402, allocations: 7.938 kB / 0.5616 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.806e-05/0.1403, allocations: 4 kB / 0.5616 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.1403, allocations: 7.922 kB / 0.5617 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.1403, allocations: 7.938 kB / 0.5617 GB, free: 15.53 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.1404, allocations: 123.2 kB / 0.5618 GB, free: 15.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1404, allocations: 0 / 0.5618 GB, free: 15.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.1407, allocations: 23.89 kB / 0.5618 GB, free: 15.38 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.002009/0.1427, allocations: 1.008 MB / 0.5628 GB, free: 14.49 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.143, allocations: 47.91 kB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.143, allocations: 4 kB / 0.5628 GB, free: 14.44 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.531e-05/0.143, allocations: 19.98 kB / 0.5629 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.1434, allocations: 22.48 kB / 0.5629 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.1452, allocations: 1.464 MB / 0.5643 GB, free: 12.85 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.1455, allocations: 0.7002 MB / 0.565 GB, free: 12.12 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.18e-05/0.1456, allocations: 19.83 kB / 0.565 GB, free: 12.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.585e-05/0.1456, allocations: 19.44 kB / 0.565 GB, free: 12.09 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1457, allocations: 0 / 0.565 GB, free: 12.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.1638, allocations: 2.643 MB / 0.5676 GB, free: 9.492 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.954/8.117, allocations: 16.72 kB / 0.5676 GB, free: 9.477 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.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: 11.163996910967398]