Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.0008708/0.0008708, allocations: 80.34 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001344/0.001344, allocations: 160.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8592/0.8592, allocations: 177 MB / 204.1 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] 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.2432/0.2432, allocations: 34.23 MB / 294.8 MB, free: 0.7109 MB / 266.7 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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 442.2 MB, free: 1.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804e-05/1.957e-05, allocations: 6.219 kB / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.1524/0.1524, allocations: 1.662 MB / 443.8 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007102/0.1532, allocations: 0.5394 MB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.154e-05/0.1532, allocations: 3.094 kB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003503/0.1536, allocations: 458.8 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003143/0.1539, allocations: 291.8 kB / 445.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.1541, allocations: 133.2 kB / 445.3 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.1543, allocations: 178.8 kB / 445.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1544, allocations: 16.02 kB / 445.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.1545, allocations: 119 kB / 445.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.1547, allocations: 241.9 kB / 445.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.1547, allocations: 5.781 kB / 445.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.592e-05/0.1548, allocations: 56.73 kB / 445.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.381e-05/0.1549, allocations: 84.89 kB / 445.9 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.1549, allocations: 46.89 kB / 446 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.1551, allocations: 256.8 kB / 446.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1551, allocations: 0 / 446.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1551, allocations: 0 / 446.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1551, allocations: 0 / 446.2 MB, free: 43.04 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004611/0.1556, allocations: 0.5897 MB / 446.8 MB, free: 42.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1556, allocations: 9.156 kB / 446.8 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.355e-05/0.1556, allocations: 37.59 kB / 446.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.1557, allocations: 48.55 kB / 446.9 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.1558, allocations: 250.9 kB / 447.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.1558, allocations: 3.812 kB / 447.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.1558, allocations: 7.094 kB / 447.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.976e-05/0.1559, allocations: 59.38 kB / 447.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1559, allocations: 192 / 447.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.156, allocations: 384 / 447.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.156, allocations: 7.031 kB / 447.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.635e-05/0.156, allocations: 33.67 kB / 447.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.1563, allocations: 359.2 kB / 447.6 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.589e-05/0.1564, allocations: 47.72 kB / 447.7 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.522e-05/0.1564, allocations: 16.89 kB / 447.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.1564, allocations: 6.906 kB / 447.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.298e-05/0.1564, allocations: 40 kB / 447.7 MB, free: 41.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.1564, allocations: 0 / 447.7 MB, free: 41.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005692/0.157, allocations: 309.5 kB / 448 MB, free: 41.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/0.157, allocations: 55.48 kB / 448.1 MB, free: 41.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004396/0.1574, allocations: 0.8734 MB / 449 MB, free: 41.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.1575, allocations: 28.52 kB / 449 MB, free: 41.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.819e-05/0.1575, allocations: 233 kB / 449.2 MB, free: 41.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.1576, allocations: 22.66 kB / 449.2 MB, free: 41.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.1576, allocations: 25.25 kB / 449.3 MB, free: 41.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.336e-05/0.1576, allocations: 364.9 kB / 449.6 MB, free: 41.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.501e-05/0.1577, allocations: 24.73 kB / 449.6 MB, free: 41.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.492e-05/0.1577, allocations: 25.67 kB / 449.7 MB, free: 41.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.475e-05/0.1578, allocations: 74.8 kB / 449.7 MB, free: 40.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1578, allocations: 0 / 449.7 MB, free: 40.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001198/0.1579, allocations: 141.2 kB / 449.9 MB, free: 40.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.1579, allocations: 2.938 kB / 449.9 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1579, allocations: 3.469 kB / 449.9 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1579, allocations: 2.906 kB / 449.9 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.116e-05/0.158, allocations: 17.83 kB / 449.9 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.158, allocations: 0 / 449.9 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.19e-05/0.158, allocations: 6.938 kB / 449.9 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.158, allocations: 6.844 kB / 449.9 MB, free: 40.9 MB / 410.7 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.427e-05/0.1581, allocations: 218.8 kB / 450.1 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.1582, allocations: 47.77 kB / 450.2 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.1583, allocations: 159.5 kB / 450.3 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1583, allocations: 0 / 450.3 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1583, allocations: 2.75 kB / 450.3 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1583, allocations: 6.312 kB / 450.3 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/0.1586, allocations: 477 kB / 450.8 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1586, allocations: 0 / 450.8 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.414e-05/0.1587, allocations: 21.66 kB / 450.8 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1587, allocations: 2.75 kB / 450.8 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.1587, allocations: 0 / 450.8 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1587, allocations: 3.938 kB / 450.8 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1587, allocations: 2.906 kB / 450.8 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.1588, allocations: 241.2 kB / 451.1 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.203e-05/0.1588, allocations: 37.8 kB / 451.1 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.1588, allocations: 7.234 kB / 451.1 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.548e-05/0.1589, allocations: 9.531 kB / 451.1 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.383e-05/0.1589, allocations: 10.08 kB / 451.1 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.1589, allocations: 2.812 kB / 451.1 MB, free: 40.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002992/0.1592, allocations: 0.6581 MB / 451.8 MB, free: 39.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1592, allocations: 0 / 451.8 MB, free: 39.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001708/0.1594, allocations: 27 kB / 451.8 MB, free: 39.83 MB / 410.7 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.0008099/0.1602, allocations: 1.16 MB / 453 MB, free: 39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.1603, allocations: 66.61 kB / 453.1 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1603, allocations: 0 / 453.1 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.138e-05/0.1604, allocations: 35.31 kB / 453.1 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.1606, allocations: 30.05 kB / 453.1 MB, free: 38.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.1625, allocations: 3.335 MB / 456.5 MB, free: 37.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.1626, allocations: 225.5 kB / 456.7 MB, free: 37.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.852e-05/0.1626, allocations: 17.08 kB / 456.7 MB, free: 37.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.125e-05/0.1627, allocations: 110.5 kB / 456.8 MB, free: 36.95 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1627, allocations: 0 / 456.8 MB, free: 36.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/0.1801, allocations: 7.052 MB / 463.8 MB, free: 35.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.881/7.061, allocations: 6.25 kB / 463.9 MB, free: 35.23 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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: 8.954682511277497]