Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001697/0.001697, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.002008/0.002008, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.542/1.542, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2336/0.2336, allocations: 46.9 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.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 79.86 kB / 0.4913 GB, free: 8.266 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1465, allocations: 65.99 MB / 0.5557 GB, free: 6.148 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003163/0.1497, allocations: 1.606 MB / 0.5573 GB, free: 4.527 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.1508, allocations: 0.5372 MB / 0.5578 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.96e-05/0.1508, allocations: 0 / 0.5578 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000229/0.1511, allocations: 27.8 kB / 0.5578 GB, free: 3.961 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003148/0.1514, allocations: 71.69 kB / 0.5579 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.1517, allocations: 102.6 kB / 0.558 GB, free: 3.793 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.1519, allocations: 63.77 kB / 0.5581 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.152, allocations: 11.98 kB / 0.5581 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.487e-05/0.1521, allocations: 19.94 kB / 0.5581 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.265e-05/0.1522, allocations: 23.8 kB / 0.5581 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1522, allocations: 4 kB / 0.5581 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.972e-05/0.1523, allocations: 31.97 kB / 0.5581 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.709e-05/0.1523, allocations: 11.94 kB / 0.5582 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.412e-05/0.1523, allocations: 27.8 kB / 0.5582 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.1525, allocations: 79.61 kB / 0.5583 GB, free: 3.523 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1525, allocations: 4 kB / 0.5583 GB, free: 3.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1525, allocations: 0 / 0.5583 GB, free: 3.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1525, allocations: 0 / 0.5583 GB, free: 3.52 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.0005599/0.1531, allocations: 391 kB / 0.5586 GB, free: 3.086 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1531, allocations: 8.031 kB / 0.5586 GB, free: 3.078 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.544e-05/0.1532, allocations: 30.75 kB / 0.5587 GB, free: 3.039 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.1532, allocations: 8.891 kB / 0.5587 GB, free: 3.031 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.1534, allocations: 192.2 kB / 0.5589 GB, free: 2.805 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1535, allocations: 4.375 kB / 0.5589 GB, free: 2.801 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.1535, allocations: 8.375 kB / 0.5589 GB, free: 2.793 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.1536, allocations: 54.19 kB / 0.5589 GB, free: 2.734 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.1536, allocations: 3.938 kB / 0.5589 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1537, allocations: 3.984 kB / 0.5589 GB, free: 2.727 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1537, allocations: 0 / 0.5589 GB, free: 2.727 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.978e-05/0.1538, allocations: 19.98 kB / 0.559 GB, free: 2.707 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/0.1542, allocations: 276.9 kB / 0.5592 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.1544, allocations: 46.5 kB / 0.5593 GB, free: 2.332 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.375e-05/0.1544, allocations: 16.94 kB / 0.5593 GB, free: 2.312 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.1544, allocations: 4 kB / 0.5593 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.1545, allocations: 30.56 kB / 0.5593 GB, free: 2.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1545, allocations: 0 / 0.5593 GB, free: 2.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005807/0.155, allocations: 141.4 kB / 0.5594 GB, free: 2.125 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.1551, allocations: 55.41 kB / 0.5595 GB, free: 2.059 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.1553, allocations: 152.7 kB / 0.5596 GB, free: 1.898 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1553, allocations: 25.7 kB / 0.5597 GB, free: 1.867 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.586e-05/0.1554, allocations: 96.08 kB / 0.5598 GB, free: 1.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.1554, allocations: 23.83 kB / 0.5598 GB, free: 1.746 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.1554, allocations: 17.72 kB / 0.5598 GB, free: 1.723 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1556, allocations: 330.8 kB / 0.5601 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.542e-05/0.1557, allocations: 15.98 kB / 0.5601 GB, free: 1.375 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.705e-05/0.1557, allocations: 15.98 kB / 0.5601 GB, free: 1.359 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.1558, allocations: 48.83 kB / 0.5602 GB, free: 1.309 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1558, allocations: 0 / 0.5602 GB, free: 1.309 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001839/0.156, allocations: 85.56 kB / 0.5603 GB, free: 1.219 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.156, allocations: 6.031 kB / 0.5603 GB, free: 1.215 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1561, allocations: 0 / 0.5603 GB, free: 1.215 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1561, allocations: 3.938 kB / 0.5603 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.605e-05/0.1561, allocations: 15.98 kB / 0.5603 GB, free: 1.195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1561, allocations: 0 / 0.5603 GB, free: 1.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.944e-05/0.1562, allocations: 4 kB / 0.5603 GB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.1562, allocations: 4 kB / 0.5603 GB, free: 1.188 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 0.0001194/0.1563, allocations: 125.8 kB / 0.5604 GB, free: 1.055 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.1563, allocations: 12.14 kB / 0.5604 GB, free: 1.043 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.1566, allocations: 93.91 kB / 0.5605 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.1566, allocations: 0 / 0.5605 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1566, allocations: 0 / 0.5605 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1566, allocations: 0 / 0.5605 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/0.157, allocations: 346.8 kB / 0.5609 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.157, allocations: 4 kB / 0.5609 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.563e-05/0.1571, allocations: 15.94 kB / 0.5609 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1571, allocations: 0 / 0.5609 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1571, allocations: 3.984 kB / 0.5609 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1571, allocations: 0 / 0.5609 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.1571, allocations: 7.922 kB / 0.5609 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.1574, allocations: 171.5 kB / 0.5611 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.1575, allocations: 89.06 kB / 0.5611 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.1575, allocations: 0 / 0.5611 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.1576, allocations: 7.984 kB / 0.5611 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.1576, allocations: 7.938 kB / 0.5612 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.1576, allocations: 4 kB / 0.5612 GB, free: 212 kB / 414.1 MB Notification: Performance of sorting global known variables: time 9.9e-05/0.1577, allocations: 115.2 kB / 0.5613 GB, free: 96 kB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1577, allocations: 0 / 0.5613 GB, free: 96 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.158, allocations: 15.94 kB / 0.5613 GB, free: 80 kB / 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.002037/0.16, allocations: 1.016 MB / 0.5623 GB, free: 15.19 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.1602, allocations: 43.97 kB / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1602, allocations: 0 / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.237e-05/0.1603, allocations: 27.92 kB / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.1607, allocations: 26.73 kB / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.1626, allocations: 1.437 MB / 0.5638 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.163, allocations: 0.6962 MB / 0.5645 GB, free: 12.85 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.546e-05/0.163, allocations: 15.77 kB / 0.5645 GB, free: 12.83 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.476e-05/0.1631, allocations: 27.42 kB / 0.5645 GB, free: 12.8 MB / 430.1 MB Notification: Performance of SimCode: time 1.953e-06/0.1631, allocations: 0 / 0.5645 GB, free: 12.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/0.1928, allocations: 2.553 MB / 0.567 GB, free: 10.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.301, allocations: 0 / 0.567 GB, free: 10.29 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.510421387851238]