Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.00129/0.00129, allocations: 117.8 kB / 18.5 MB, free: 4.602 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.001405/0.001405, allocations: 208.9 kB / 21.46 MB, free: 1.648 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.568/1.568, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2357/0.2357, allocations: 46.91 MB / 357.4 MB, free: 10.48 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.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 83.86 kB / 0.4913 GB, free: 8.312 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1331, allocations: 65.99 MB / 0.5557 GB, free: 6.191 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.00334/0.1364, allocations: 1.708 MB / 0.5574 GB, free: 4.469 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.1376, allocations: 0.5917 MB / 0.558 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.285e-05/0.1376, allocations: 0 / 0.558 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.1378, allocations: 31.78 kB / 0.558 GB, free: 3.844 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.1381, allocations: 75.62 kB / 0.5581 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004965/0.1386, allocations: 182.2 kB / 0.5582 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.1388, allocations: 103.7 kB / 0.5583 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.1389, allocations: 23.97 kB / 0.5584 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.583e-05/0.139, allocations: 31.86 kB / 0.5584 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.363e-05/0.1391, allocations: 51.69 kB / 0.5584 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.1391, allocations: 8 kB / 0.5585 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.1394, allocations: 99.94 kB / 0.5585 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.288e-05/0.1395, allocations: 27.91 kB / 0.5586 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.965e-05/0.1396, allocations: 43.72 kB / 0.5586 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000429/0.14, allocations: 175.4 kB / 0.5588 GB, free: 3.039 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.14, allocations: 0 / 0.5588 GB, free: 3.039 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.14, allocations: 0 / 0.5588 GB, free: 3.039 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.14, allocations: 0 / 0.5588 GB, free: 3.039 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.0007865/0.1408, allocations: 458.5 kB / 0.5592 GB, free: 2.539 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.1408, allocations: 8.031 kB / 0.5592 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.365e-05/0.1409, allocations: 38.75 kB / 0.5593 GB, free: 2.484 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.1409, allocations: 8.891 kB / 0.5593 GB, free: 2.477 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.1413, allocations: 204.1 kB / 0.5595 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1413, allocations: 4.375 kB / 0.5595 GB, free: 2.234 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.1413, allocations: 4.375 kB / 0.5595 GB, free: 2.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/0.1416, allocations: 95.92 kB / 0.5596 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.1416, allocations: 3.938 kB / 0.5596 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1416, allocations: 0 / 0.5596 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1416, allocations: 0 / 0.5596 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002919/0.1419, allocations: 71.92 kB / 0.5596 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007063/0.1426, allocations: 356.6 kB / 0.56 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.1429, allocations: 70.53 kB / 0.56 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.143, allocations: 56.94 kB / 0.5601 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.1431, allocations: 4 kB / 0.5601 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.1431, allocations: 30.56 kB / 0.5601 GB, free: 1.473 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.1431, allocations: 0 / 0.5601 GB, free: 1.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001711/0.1448, allocations: 412.9 kB / 0.5605 GB, free: 1.062 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001562/0.145, allocations: 81.05 kB / 0.5606 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.1452, allocations: 170.2 kB / 0.5608 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.1452, allocations: 29.7 kB / 0.5608 GB, free: 0.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.333e-05/0.1453, allocations: 100.1 kB / 0.5609 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.1453, allocations: 31.73 kB / 0.5609 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.575e-05/0.1454, allocations: 25.7 kB / 0.5609 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.1456, allocations: 326.8 kB / 0.5613 GB, free: 264 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.1459, allocations: 79.91 kB / 0.5613 GB, free: 184 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.1462, allocations: 101.7 kB / 0.5614 GB, free: 76 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005571/0.1467, allocations: 168.8 kB / 0.5616 GB, free: 15.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1467, allocations: 0 / 0.5616 GB, free: 15.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000638/0.1474, allocations: 213.5 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1474, allocations: 4 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.1474, allocations: 0 / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.1474, allocations: 4 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.1476, allocations: 39.95 kB / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1476, allocations: 0 / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.1478, allocations: 27.92 kB / 0.5619 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.1478, allocations: 7.938 kB / 0.5619 GB, free: 15.61 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 (10): * Single equations (assignments): 10 * 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.0001238/0.148, allocations: 126.4 kB / 0.562 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.148, allocations: 7.953 kB / 0.562 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007234/0.1487, allocations: 226.2 kB / 0.5622 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1487, allocations: 0 / 0.5622 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1487, allocations: 0 / 0.5622 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1487, allocations: 3.938 kB / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.1498, allocations: 0.5297 MB / 0.5627 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1498, allocations: 0 / 0.5627 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.15, allocations: 39.95 kB / 0.5628 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.15, allocations: 0 / 0.5628 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.1501, allocations: 7.938 kB / 0.5628 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1501, allocations: 0 / 0.5628 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1501, allocations: 0 / 0.5628 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006812/0.1507, allocations: 307.6 kB / 0.5631 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.315e-05/0.1508, allocations: 89 kB / 0.5632 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.1508, allocations: 11.94 kB / 0.5632 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.151, allocations: 23.97 kB / 0.5632 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.1511, allocations: 15.98 kB / 0.5632 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.1511, allocations: 4 kB / 0.5632 GB, free: 14.13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.1512, allocations: 128 kB / 0.5633 GB, free: 14 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1512, allocations: 0 / 0.5633 GB, free: 14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003203/0.1516, allocations: 47.88 kB / 0.5634 GB, free: 13.96 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 (9): * Single equations (assignments): 9 * 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.002747/0.1543, allocations: 1.236 MB / 0.5646 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006677/0.155, allocations: 179.8 kB / 0.5648 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.155, allocations: 0 / 0.5648 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002934/0.1553, allocations: 83.92 kB / 0.5648 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.1557, allocations: 18.61 kB / 0.5649 GB, free: 12.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/0.1589, allocations: 1.941 MB / 0.5668 GB, free: 10.58 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.1594, allocations: 0.7041 MB / 0.5674 GB, free: 9.848 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001651/0.1595, allocations: 32.62 kB / 0.5675 GB, free: 9.812 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.377e-05/0.1596, allocations: 39.36 kB / 0.5675 GB, free: 9.773 MB / 430.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1596, allocations: 4 kB / 0.5675 GB, free: 9.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02803/0.1877, allocations: 4.415 MB / 0.5718 GB, free: 5.379 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.242/8.43, allocations: 2.344 kB / 0.5718 GB, free: 5.379 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.663768685888499]