Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.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.001255/0.001255, allocations: 118.2 kB / 18.49 MB, free: 4.566 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.001291/0.001291, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.396/1.396, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2305/0.2305, allocations: 46.92 MB / 357.7 MB, free: 10.2 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.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 79.88 kB / 0.4917 GB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.125, allocations: 66.05 MB / 0.5562 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.002923/0.128, allocations: 1.597 MB / 0.5577 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.1297, allocations: 1.171 MB / 0.5589 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.424e-05/0.1298, allocations: 0 / 0.5589 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.13, allocations: 27.78 kB / 0.5589 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002601/0.1303, allocations: 87.61 kB / 0.559 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.1305, allocations: 80.66 kB / 0.5591 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.1306, allocations: 71.75 kB / 0.5591 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.313e-05/0.1307, allocations: 8 kB / 0.5591 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.891e-05/0.1308, allocations: 27.86 kB / 0.5592 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003767/0.1312, allocations: 43.83 kB / 0.5592 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.1312, allocations: 4 kB / 0.5592 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.1313, allocations: 95.94 kB / 0.5593 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.435e-05/0.1314, allocations: 19.86 kB / 0.5593 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.1314, allocations: 23.81 kB / 0.5593 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.1317, allocations: 135.5 kB / 0.5595 GB, free: 2.125 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1317, allocations: 4 kB / 0.5595 GB, free: 2.121 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1317, allocations: 0 / 0.5595 GB, free: 2.121 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1317, allocations: 0 / 0.5595 GB, free: 2.121 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.0005424/0.1322, allocations: 402.8 kB / 0.5599 GB, free: 1.676 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1323, allocations: 8.031 kB / 0.5599 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.912e-05/0.1323, allocations: 8.188 kB / 0.5599 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.54e-05/0.1323, allocations: 38.67 kB / 0.5599 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.1323, allocations: 8.891 kB / 0.5599 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.1326, allocations: 194 kB / 0.5601 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.1326, allocations: 384 / 0.5601 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.1326, allocations: 8.375 kB / 0.5601 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.1328, allocations: 67.66 kB / 0.5602 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.1328, allocations: 0 / 0.5602 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1328, allocations: 0 / 0.5602 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1328, allocations: 0 / 0.5602 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.59e-05/0.1329, allocations: 31.91 kB / 0.5602 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.1332, allocations: 280.9 kB / 0.5605 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.1334, allocations: 42.56 kB / 0.5605 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.1335, allocations: 20.94 kB / 0.5605 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.1335, allocations: 0 / 0.5605 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.1335, allocations: 34.5 kB / 0.5606 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.1335, allocations: 0 / 0.5606 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005476/0.1341, allocations: 141.5 kB / 0.5607 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.557e-05/0.1342, allocations: 85.05 kB / 0.5608 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.1343, allocations: 141.8 kB / 0.5609 GB, free: 436 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.1343, allocations: 25.7 kB / 0.561 GB, free: 404 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.847e-05/0.1344, allocations: 92.12 kB / 0.561 GB, free: 308 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.1344, allocations: 23.8 kB / 0.5611 GB, free: 284 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.1345, allocations: 17.72 kB / 0.5611 GB, free: 260 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1346, allocations: 322.8 kB / 0.5614 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.16e-05/0.1347, allocations: 23.92 kB / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.834e-05/0.1348, allocations: 33.7 kB / 0.5614 GB, free: 15.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.1349, allocations: 44.83 kB / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.1349, allocations: 0 / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001984/0.1351, allocations: 81.56 kB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1351, allocations: 8.031 kB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1351, allocations: 4 kB / 0.5616 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1351, allocations: 0 / 0.5616 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.95e-05/0.1352, allocations: 11.98 kB / 0.5616 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1352, allocations: 0 / 0.5616 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.858e-05/0.1352, allocations: 7.984 kB / 0.5616 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1353, allocations: 8 kB / 0.5616 GB, free: 15.7 MB / 430.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.096e-05/0.1354, allocations: 121.8 kB / 0.5617 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.1354, allocations: 7.953 kB / 0.5617 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.1356, allocations: 93.89 kB / 0.5618 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1356, allocations: 0 / 0.5618 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.85e-06/0.1356, allocations: 4.312 kB / 0.5618 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.1356, allocations: 0 / 0.5618 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.1361, allocations: 354.5 kB / 0.5622 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1361, allocations: 0 / 0.5622 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.414e-05/0.1361, allocations: 12 kB / 0.5622 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1361, allocations: 4.266 kB / 0.5622 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.1361, allocations: 0 / 0.5622 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1362, allocations: 11.88 kB / 0.5622 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1362, allocations: 0 / 0.5622 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.1364, allocations: 175.4 kB / 0.5623 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-05/0.1365, allocations: 93.03 kB / 0.5624 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.1365, allocations: 8 kB / 0.5624 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.534e-05/0.1366, allocations: 3.938 kB / 0.5624 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.1366, allocations: 4 kB / 0.5625 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.1366, allocations: 3.984 kB / 0.5625 GB, free: 14.71 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.1367, allocations: 113.1 kB / 0.5626 GB, free: 14.6 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1367, allocations: 0 / 0.5626 GB, free: 14.6 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000283/0.137, allocations: 43.8 kB / 0.5626 GB, free: 14.55 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.002173/0.1392, allocations: 1.088 MB / 0.5637 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.1394, allocations: 47.97 kB / 0.5637 GB, free: 13.56 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1394, allocations: 0 / 0.5637 GB, free: 13.56 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.947e-05/0.1395, allocations: 31.91 kB / 0.5637 GB, free: 13.53 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.1398, allocations: 29.48 kB / 0.5638 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.1415, allocations: 1.424 MB / 0.5652 GB, free: 12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.1419, allocations: 0.6885 MB / 0.5658 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.513e-05/0.1419, allocations: 23.83 kB / 0.5659 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.852e-05/0.142, allocations: 23.42 kB / 0.5659 GB, free: 11.24 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.142, allocations: 0 / 0.5659 GB, free: 11.24 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.1632, allocations: 3.281 MB / 0.5691 GB, free: 7.973 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.855/8.018, allocations: 11.48 kB / 0.5691 GB, free: 7.965 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test33_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.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.030189175973646]