Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001253/0.001253, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001305/0.001305, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.494/1.494, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.2504/0.2504, allocations: 46.9 MB / 357.4 MB, free: 10.51 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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002319/0.002319, allocations: 81.08 kB / 0.4913 GB, free: 26.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1299, allocations: 65.98 MB / 0.5557 GB, free: 8.988 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003069/0.133, allocations: 1.609 MB / 0.5573 GB, free: 7.363 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.1348, allocations: 1.175 MB / 0.5584 GB, free: 6.184 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.359e-05/0.1348, allocations: 0 / 0.5584 GB, free: 6.184 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.1351, allocations: 31.8 kB / 0.5585 GB, free: 6.152 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.1353, allocations: 83.61 kB / 0.5585 GB, free: 6.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.1356, allocations: 118 kB / 0.5586 GB, free: 5.957 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.1358, allocations: 67.78 kB / 0.5587 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1359, allocations: 19.91 kB / 0.5587 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.22e-05/0.136, allocations: 19.92 kB / 0.5587 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.1361, allocations: 31.84 kB / 0.5588 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.1361, allocations: 4 kB / 0.5588 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.1363, allocations: 99.88 kB / 0.5589 GB, free: 5.719 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.595e-05/0.1363, allocations: 19.91 kB / 0.5589 GB, free: 5.699 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.1364, allocations: 23.88 kB / 0.5589 GB, free: 5.676 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.1366, allocations: 143.5 kB / 0.5591 GB, free: 5.535 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1366, allocations: 0 / 0.5591 GB, free: 5.535 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1366, allocations: 0 / 0.5591 GB, free: 5.535 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1366, allocations: 0 / 0.5591 GB, free: 5.535 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.0005696/0.1372, allocations: 402.8 kB / 0.5594 GB, free: 5.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.1372, allocations: 8.031 kB / 0.5594 GB, free: 5.082 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.316e-05/0.1373, allocations: 34.75 kB / 0.5595 GB, free: 5.039 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.1373, allocations: 8.891 kB / 0.5595 GB, free: 5.031 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.1376, allocations: 197.8 kB / 0.5597 GB, free: 4.801 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1376, allocations: 8.375 kB / 0.5597 GB, free: 4.793 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.1376, allocations: 384 / 0.5597 GB, free: 4.793 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.1377, allocations: 63.95 kB / 0.5597 GB, free: 4.719 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.1378, allocations: 7.875 kB / 0.5598 GB, free: 4.711 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.1378, allocations: 4 kB / 0.5598 GB, free: 4.707 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1378, allocations: 4 kB / 0.5598 GB, free: 4.703 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.111e-05/0.1379, allocations: 23.97 kB / 0.5598 GB, free: 4.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.1383, allocations: 288.9 kB / 0.5601 GB, free: 4.348 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.1385, allocations: 42.5 kB / 0.5601 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.222e-05/0.1386, allocations: 20.94 kB / 0.5601 GB, free: 4.273 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.1386, allocations: 0 / 0.5601 GB, free: 4.273 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.1386, allocations: 38.56 kB / 0.5602 GB, free: 4.227 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1386, allocations: 0 / 0.5602 GB, free: 4.227 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005826/0.1392, allocations: 153.6 kB / 0.5603 GB, free: 4.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.1393, allocations: 77.11 kB / 0.5604 GB, free: 3.977 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.1394, allocations: 143.7 kB / 0.5605 GB, free: 3.828 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.1394, allocations: 25.7 kB / 0.5605 GB, free: 3.797 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.913e-05/0.1395, allocations: 100.1 kB / 0.5606 GB, free: 3.695 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.1395, allocations: 19.84 kB / 0.5607 GB, free: 3.676 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.1396, allocations: 17.72 kB / 0.5607 GB, free: 3.652 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1397, allocations: 326.8 kB / 0.561 GB, free: 3.324 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.288e-05/0.1398, allocations: 19.98 kB / 0.561 GB, free: 3.305 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.59e-05/0.1399, allocations: 41.62 kB / 0.561 GB, free: 3.258 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.14, allocations: 56.86 kB / 0.5611 GB, free: 3.199 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.14, allocations: 0 / 0.5611 GB, free: 3.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001983/0.1402, allocations: 89.55 kB / 0.5612 GB, free: 3.105 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1402, allocations: 8 kB / 0.5612 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1402, allocations: 48 / 0.5612 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1403, allocations: 3.984 kB / 0.5612 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.565e-05/0.1403, allocations: 8 kB / 0.5612 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1403, allocations: 0 / 0.5612 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.06e-05/0.1404, allocations: 15.92 kB / 0.5612 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.1404, allocations: 4 kB / 0.5612 GB, free: 3.066 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.559e-05/0.1405, allocations: 121.7 kB / 0.5613 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.1405, allocations: 7.953 kB / 0.5613 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.1408, allocations: 98.14 kB / 0.5614 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1408, allocations: 0 / 0.5614 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.1408, allocations: 8.062 kB / 0.5614 GB, free: 2.816 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.1408, allocations: 4 kB / 0.5614 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.1413, allocations: 358.5 kB / 0.5618 GB, free: 2.406 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1413, allocations: 0 / 0.5618 GB, free: 2.406 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.163e-05/0.1414, allocations: 15.92 kB / 0.5618 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1414, allocations: 4 kB / 0.5618 GB, free: 2.387 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.1414, allocations: 0 / 0.5618 GB, free: 2.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1414, allocations: 0 / 0.5618 GB, free: 2.387 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1414, allocations: 3.938 kB / 0.5618 GB, free: 2.383 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.1416, allocations: 187.5 kB / 0.562 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.1417, allocations: 81.06 kB / 0.5621 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.1417, allocations: 0 / 0.5621 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.631e-05/0.1418, allocations: 7.984 kB / 0.5621 GB, free: 2.078 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.1418, allocations: 7.938 kB / 0.5621 GB, free: 2.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.1418, allocations: 0 / 0.5621 GB, free: 2.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1419, allocations: 120.8 kB / 0.5622 GB, free: 1.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1419, allocations: 0 / 0.5622 GB, free: 1.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.1422, allocations: 43.86 kB / 0.5622 GB, free: 1.91 MB / 414.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.002206/0.1444, allocations: 1.094 MB / 0.5633 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002416/0.1447, allocations: 59.95 kB / 0.5634 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1447, allocations: 0 / 0.5634 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.171e-05/0.1447, allocations: 27.92 kB / 0.5634 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.1451, allocations: 22.92 kB / 0.5634 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.1469, allocations: 1.432 MB / 0.5648 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.1473, allocations: 0.7002 MB / 0.5655 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.2e-05/0.1474, allocations: 23.92 kB / 0.5655 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.475e-05/0.1475, allocations: 31.41 kB / 0.5655 GB, free: 14.57 MB / 430.1 MB Notification: Performance of SimCode: time 5e-07/0.1475, allocations: 0 / 0.5655 GB, free: 14.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0274/0.1749, allocations: 3.261 MB / 0.5687 GB, free: 11.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.202, allocations: 5.812 kB / 0.5687 GB, free: 11.31 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.281421029008925]