Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.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.001344/0.001344, allocations: 112.4 kB / 18.5 MB, free: 4.582 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.00156/0.00156, allocations: 204.9 kB / 21.46 MB, free: 1.629 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.548/1.548, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.2257/0.2257, allocations: 46.91 MB / 357.4 MB, free: 10.46 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.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 83.84 kB / 0.4913 GB, free: 8.293 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1392, allocations: 65.99 MB / 0.5557 GB, free: 6.172 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003179/0.1423, allocations: 1.613 MB / 0.5573 GB, free: 4.543 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00095/0.1433, allocations: 0.5411 MB / 0.5578 GB, free: 4 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.447e-05/0.1433, allocations: 3.938 kB / 0.5578 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005582/0.1439, allocations: 455.1 kB / 0.5582 GB, free: 3.551 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004465/0.1443, allocations: 287.3 kB / 0.5585 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.1447, allocations: 126.3 kB / 0.5586 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.1449, allocations: 163.6 kB / 0.5588 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.145, allocations: 12.17 kB / 0.5588 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.1451, allocations: 107.8 kB / 0.5589 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003107/0.1454, allocations: 243.5 kB / 0.5591 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.1454, allocations: 4 kB / 0.5591 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.616e-05/0.1455, allocations: 31.92 kB / 0.5592 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.1456, allocations: 87.67 kB / 0.5593 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.338e-05/0.1457, allocations: 95 kB / 0.5594 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.146, allocations: 254.6 kB / 0.5596 GB, free: 2.164 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.146, allocations: 0 / 0.5596 GB, free: 2.164 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.146, allocations: 0 / 0.5596 GB, free: 2.164 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.146, allocations: 4 kB / 0.5596 GB, free: 2.16 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.0007602/0.1468, allocations: 0.653 MB / 0.5602 GB, free: 1.457 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.1468, allocations: 12.03 kB / 0.5602 GB, free: 1.445 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.096e-05/0.1468, allocations: 34.69 kB / 0.5603 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.487e-05/0.1469, allocations: 48.61 kB / 0.5603 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.1472, allocations: 308.5 kB / 0.5606 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.1472, allocations: 384 / 0.5606 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-06/0.1472, allocations: 384 / 0.5606 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.1474, allocations: 54 kB / 0.5607 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.1474, allocations: 4 kB / 0.5607 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.1474, allocations: 0 / 0.5607 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1474, allocations: 0 / 0.5607 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.098e-05/0.1475, allocations: 23.98 kB / 0.5607 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004784/0.1479, allocations: 384.7 kB / 0.5611 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.725e-05/0.148, allocations: 26.56 kB / 0.5611 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.282e-05/0.1481, allocations: 12.92 kB / 0.5611 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.1481, allocations: 4 kB / 0.5611 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.1481, allocations: 34.56 kB / 0.5611 GB, free: 416 kB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1481, allocations: 0 / 0.5611 GB, free: 416 kB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.000271/0.1484, allocations: 101.3 kB / 0.5612 GB, free: 308 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.1484, allocations: 51.41 kB / 0.5613 GB, free: 244 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009342/0.1494, allocations: 0.8738 MB / 0.5621 GB, free: 15.35 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.1494, allocations: 25.7 kB / 0.5622 GB, free: 15.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.1496, allocations: 232.2 kB / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.1496, allocations: 7.953 kB / 0.5624 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.1496, allocations: 13.72 kB / 0.5624 GB, free: 15.06 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.1498, allocations: 366.7 kB / 0.5628 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.393e-05/0.1498, allocations: 8 kB / 0.5628 GB, free: 14.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.332e-05/0.1499, allocations: 11.92 kB / 0.5628 GB, free: 14.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.696e-05/0.15, allocations: 28.91 kB / 0.5628 GB, free: 14.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.15, allocations: 0 / 0.5628 GB, free: 14.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001555/0.1501, allocations: 93.34 kB / 0.5629 GB, free: 14.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1501, allocations: 8 kB / 0.5629 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1501, allocations: 0 / 0.5629 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1501, allocations: 0 / 0.5629 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.427e-05/0.1502, allocations: 4 kB / 0.5629 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1502, allocations: 0 / 0.5629 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.554e-05/0.1503, allocations: 11.92 kB / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.1503, allocations: 0 / 0.5629 GB, free: 14.52 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 (2): * Single equations (assignments): 2 * 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.0001911/0.1505, allocations: 213.8 kB / 0.5631 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.1505, allocations: 43.72 kB / 0.5632 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002053/0.1507, allocations: 108.7 kB / 0.5633 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1507, allocations: 0 / 0.5633 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1507, allocations: 0 / 0.5633 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1507, allocations: 0 / 0.5633 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002938/0.151, allocations: 293.4 kB / 0.5635 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.151, allocations: 32 / 0.5635 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.388e-05/0.1511, allocations: 8 kB / 0.5636 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1511, allocations: 0 / 0.5636 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.1511, allocations: 3.984 kB / 0.5636 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1511, allocations: 4 kB / 0.5636 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1511, allocations: 0 / 0.5636 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.1513, allocations: 183.2 kB / 0.5637 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.1514, allocations: 124.8 kB / 0.5639 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.1514, allocations: 4 kB / 0.5639 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.1515, allocations: 7.938 kB / 0.5639 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-06/0.1515, allocations: 0 / 0.5639 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.1515, allocations: 4 kB / 0.5639 GB, free: 13.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006703/0.1522, allocations: 0.6589 MB / 0.5645 GB, free: 12.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1522, allocations: 0 / 0.5645 GB, free: 12.79 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.1524, allocations: 12 kB / 0.5645 GB, free: 12.78 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 (2): * Single equations (assignments): 2 * 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.001696/0.1541, allocations: 0.9815 MB / 0.5655 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001424/0.1543, allocations: 27.92 kB / 0.5655 GB, free: 11.87 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1543, allocations: 0 / 0.5655 GB, free: 11.87 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.476e-05/0.1543, allocations: 4 kB / 0.5655 GB, free: 11.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.1547, allocations: 34.17 kB / 0.5655 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003611/0.1583, allocations: 3.155 MB / 0.5686 GB, free: 8.582 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/0.1588, allocations: 0.8221 MB / 0.5694 GB, free: 7.734 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.01e-05/0.1588, allocations: 11.81 kB / 0.5694 GB, free: 7.723 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.1589, allocations: 111.4 kB / 0.5695 GB, free: 7.613 MB / 430.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1589, allocations: 0 / 0.5695 GB, free: 7.613 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0285/0.1874, allocations: 5.761 MB / 0.5752 GB, free: 1.887 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.684/8.871, allocations: 7.922 kB / 0.5752 GB, free: 1.879 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.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: 12.016757923644036]