Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.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.00139/0.00139, allocations: 118.3 kB / 18.49 MB, free: 4.559 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.001387/0.001387, allocations: 214.3 kB / 21.46 MB, free: 1.605 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.417/1.417, allocations: 230.4 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.2224/0.2224, allocations: 46.91 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.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 75.89 kB / 0.4917 GB, free: 7.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1238, allocations: 66.05 MB / 0.5562 GB, free: 5.492 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002971/0.1268, allocations: 1.629 MB / 0.5578 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009776/0.1278, allocations: 0.5411 MB / 0.5583 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.564e-05/0.1278, allocations: 0 / 0.5583 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.1281, allocations: 75.77 kB / 0.5584 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.1284, allocations: 103.6 kB / 0.5585 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.1287, allocations: 90.77 kB / 0.5586 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.1289, allocations: 83.75 kB / 0.5586 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.129, allocations: 23.92 kB / 0.5587 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.384e-05/0.1291, allocations: 39.83 kB / 0.5587 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.1293, allocations: 59.81 kB / 0.5588 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.1293, allocations: 4 kB / 0.5588 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1294, allocations: 39.98 kB / 0.5588 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.399e-05/0.1294, allocations: 23.92 kB / 0.5588 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.088e-05/0.1295, allocations: 31.75 kB / 0.5589 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.1297, allocations: 107.5 kB / 0.559 GB, free: 2.637 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.1297, allocations: 0 / 0.559 GB, free: 2.637 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1297, allocations: 0 / 0.559 GB, free: 2.637 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.1297, allocations: 4 kB / 0.559 GB, free: 2.633 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006094/0.1304, allocations: 422.7 kB / 0.5594 GB, free: 2.168 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1304, allocations: 8.031 kB / 0.5594 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.628e-05/0.1304, allocations: 4.188 kB / 0.5594 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.574e-05/0.1304, allocations: 34.75 kB / 0.5594 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.1305, allocations: 16.84 kB / 0.5594 GB, free: 2.098 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.1307, allocations: 204.8 kB / 0.5596 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-06/0.1307, allocations: 384 / 0.5596 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.1308, allocations: 12.38 kB / 0.5596 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.1309, allocations: 57.92 kB / 0.5597 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1309, allocations: 0 / 0.5597 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1309, allocations: 0 / 0.5597 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.131, allocations: 0 / 0.5597 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.1311, allocations: 23.98 kB / 0.5597 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000422/0.1315, allocations: 296.8 kB / 0.56 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.1316, allocations: 46.59 kB / 0.56 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.252e-05/0.1317, allocations: 16.84 kB / 0.5601 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.1317, allocations: 4 kB / 0.5601 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1317, allocations: 30.56 kB / 0.5601 GB, free: 1.301 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1317, allocations: 0 / 0.5601 GB, free: 1.301 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009141/0.1326, allocations: 229.6 kB / 0.5603 GB, free: 1.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.1327, allocations: 51.41 kB / 0.5604 GB, free: 1.008 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.1329, allocations: 222.2 kB / 0.5606 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.1329, allocations: 33.7 kB / 0.5606 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/0.133, allocations: 104.1 kB / 0.5607 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.133, allocations: 35.69 kB / 0.5607 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.133, allocations: 21.7 kB / 0.5608 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1332, allocations: 330.8 kB / 0.5611 GB, free: 248 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.04e-05/0.1333, allocations: 24.06 kB / 0.5611 GB, free: 224 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.101e-05/0.1334, allocations: 23.97 kB / 0.5611 GB, free: 200 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.1335, allocations: 60.83 kB / 0.5612 GB, free: 136 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1335, allocations: 4 kB / 0.5612 GB, free: 132 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002126/0.1337, allocations: 101.6 kB / 0.5613 GB, free: 24 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1337, allocations: 4 kB / 0.5613 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1337, allocations: 96 / 0.5613 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1338, allocations: 3.984 kB / 0.5613 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1339, allocations: 23.97 kB / 0.5613 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1339, allocations: 0 / 0.5613 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.1339, allocations: 7.938 kB / 0.5613 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1339, allocations: 4 kB / 0.5613 GB, free: 15.98 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 (8): * Single equations (assignments): 8 * 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.828e-05/0.134, allocations: 129.8 kB / 0.5614 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.1341, allocations: 11.91 kB / 0.5614 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.1344, allocations: 119.4 kB / 0.5616 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1344, allocations: 3.938 kB / 0.5616 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1344, allocations: 0 / 0.5616 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1344, allocations: 3.938 kB / 0.5616 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005282/0.1349, allocations: 411.3 kB / 0.562 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1349, allocations: 0 / 0.562 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.541e-05/0.135, allocations: 23.98 kB / 0.562 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.135, allocations: 3.938 kB / 0.562 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.135, allocations: 0 / 0.562 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.135, allocations: 0 / 0.562 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.19e-05/0.135, allocations: 7.984 kB / 0.562 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.1353, allocations: 208.3 kB / 0.5622 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.124e-05/0.1353, allocations: 89 kB / 0.5623 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.1354, allocations: 7.938 kB / 0.5623 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.265e-05/0.1354, allocations: 4 kB / 0.5623 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.1355, allocations: 11.92 kB / 0.5623 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.1355, allocations: 4 kB / 0.5623 GB, free: 14.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001898/0.1357, allocations: 168.2 kB / 0.5625 GB, free: 14.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1357, allocations: 0 / 0.5625 GB, free: 14.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.1359, allocations: 19.94 kB / 0.5625 GB, free: 14.66 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002112/0.138, allocations: 1.074 MB / 0.5635 GB, free: 13.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.1382, allocations: 59.95 kB / 0.5636 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1382, allocations: 8 kB / 0.5636 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.9e-05/0.1383, allocations: 31.92 kB / 0.5636 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.1387, allocations: 22.33 kB / 0.5637 GB, free: 13.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.1406, allocations: 1.68 MB / 0.5653 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.1409, allocations: 0.7119 MB / 0.566 GB, free: 11.1 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.568e-05/0.1409, allocations: 8.969 kB / 0.566 GB, free: 11.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.994e-05/0.141, allocations: 35.42 kB / 0.566 GB, free: 11.05 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.141, allocations: 0 / 0.566 GB, free: 11.05 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.1586, allocations: 3.166 MB / 0.5691 GB, free: 7.949 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.941/8.1, allocations: 14.02 kB / 0.5691 GB, free: 7.938 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.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.124890043982305]