Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001787/0.001787, allocations: 116.9 kB / 18.5 MB, free: 4.543 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.002177/0.002177, allocations: 212.9 kB / 21.46 MB, free: 1.586 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.585/1.585, 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.2363/0.2363, allocations: 46.9 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.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 79.88 kB / 0.4913 GB, free: 8.301 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1482, allocations: 65.99 MB / 0.5557 GB, free: 6.184 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003284/0.1515, allocations: 1.61 MB / 0.5573 GB, free: 4.559 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.1537, allocations: 1.167 MB / 0.5584 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.526e-05/0.1538, allocations: 0 / 0.5584 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003008/0.1541, allocations: 23.84 kB / 0.5584 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.1544, allocations: 79.62 kB / 0.5585 GB, free: 3.285 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.1547, allocations: 95.69 kB / 0.5586 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.1549, allocations: 71.77 kB / 0.5587 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.155, allocations: 7.984 kB / 0.5587 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.777e-05/0.1551, allocations: 23.92 kB / 0.5587 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.1552, allocations: 31.84 kB / 0.5587 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1552, allocations: 8 kB / 0.5587 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.1554, allocations: 107.9 kB / 0.5588 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.712e-05/0.1555, allocations: 15.92 kB / 0.5589 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.316e-05/0.1555, allocations: 23.81 kB / 0.5589 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.1558, allocations: 135.5 kB / 0.559 GB, free: 2.773 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1558, allocations: 4 kB / 0.559 GB, free: 2.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1558, allocations: 0 / 0.559 GB, free: 2.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.1559, allocations: 0 / 0.559 GB, free: 2.77 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.0006355/0.1565, allocations: 398.8 kB / 0.5594 GB, free: 2.328 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1565, allocations: 11.97 kB / 0.5594 GB, free: 2.316 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.23e-05/0.1566, allocations: 38.75 kB / 0.5594 GB, free: 2.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.1566, allocations: 8.891 kB / 0.5595 GB, free: 2.262 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.1569, allocations: 196.2 kB / 0.5596 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1569, allocations: 384 / 0.5596 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.1569, allocations: 4.375 kB / 0.5596 GB, free: 2.027 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.1571, allocations: 67.89 kB / 0.5597 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.1571, allocations: 3.938 kB / 0.5597 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.1571, allocations: 0 / 0.5597 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.1571, allocations: 4 kB / 0.5597 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.358e-05/0.1572, allocations: 23.92 kB / 0.5597 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004059/0.1576, allocations: 276.9 kB / 0.56 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.1578, allocations: 42.55 kB / 0.56 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.678e-05/0.1579, allocations: 20.94 kB / 0.5601 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.1579, allocations: 4 kB / 0.5601 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.1579, allocations: 34.5 kB / 0.5601 GB, free: 1.477 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.1579, allocations: 0 / 0.5601 GB, free: 1.477 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006078/0.1586, allocations: 141.4 kB / 0.5602 GB, free: 1.332 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.126e-05/0.1586, allocations: 81.11 kB / 0.5603 GB, free: 1.234 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.1589, allocations: 152.2 kB / 0.5605 GB, free: 1.078 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.1589, allocations: 29.7 kB / 0.5605 GB, free: 1.043 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.026e-05/0.159, allocations: 88.14 kB / 0.5606 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.159, allocations: 23.78 kB / 0.5606 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.159, allocations: 17.72 kB / 0.5606 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.1592, allocations: 326.8 kB / 0.5609 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.591e-05/0.1593, allocations: 15.98 kB / 0.5609 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.586e-05/0.1594, allocations: 33.7 kB / 0.561 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.1595, allocations: 49.02 kB / 0.561 GB, free: 484 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1595, allocations: 0 / 0.561 GB, free: 484 kB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001893/0.1597, allocations: 89.5 kB / 0.5611 GB, free: 388 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1597, allocations: 4 kB / 0.5611 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1597, allocations: 0 / 0.5611 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.1597, allocations: 4 kB / 0.5611 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.484e-05/0.1598, allocations: 16.02 kB / 0.5611 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.1598, allocations: 0 / 0.5611 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.1599, allocations: 4 kB / 0.5611 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1599, allocations: 0 / 0.5611 GB, free: 360 kB / 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.0001282/0.16, allocations: 121.8 kB / 0.5612 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.16, allocations: 7.953 kB / 0.5613 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/0.1603, allocations: 97.91 kB / 0.5613 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1603, allocations: 0 / 0.5613 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1603, allocations: 0 / 0.5613 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1603, allocations: 0 / 0.5613 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004947/0.1608, allocations: 346.5 kB / 0.5617 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1608, allocations: 4 kB / 0.5617 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.784e-05/0.1609, allocations: 11.98 kB / 0.5617 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1609, allocations: 0 / 0.5617 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.1609, allocations: 0 / 0.5617 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1609, allocations: 11.88 kB / 0.5617 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.1609, allocations: 7.938 kB / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.1611, allocations: 183.7 kB / 0.5619 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.658e-05/0.1612, allocations: 81.06 kB / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.1612, allocations: 0 / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.747e-05/0.1613, allocations: 7.984 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.1614, allocations: 15.94 kB / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.1614, allocations: 0 / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.1615, allocations: 117.1 kB / 0.5621 GB, free: 15.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1615, allocations: 0 / 0.5621 GB, free: 15.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002993/0.1618, allocations: 39.86 kB / 0.5621 GB, free: 15.21 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 (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.002359/0.1641, allocations: 1.099 MB / 0.5632 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002392/0.1644, allocations: 43.97 kB / 0.5633 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1644, allocations: 0 / 0.5633 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.1645, allocations: 27.92 kB / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.1649, allocations: 23.86 kB / 0.5633 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.1668, allocations: 1.421 MB / 0.5647 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.1671, allocations: 0.6885 MB / 0.5654 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.173e-05/0.1672, allocations: 16.25 kB / 0.5654 GB, free: 11.94 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.219e-05/0.1672, allocations: 31.42 kB / 0.5654 GB, free: 11.91 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1672, allocations: 0 / 0.5654 GB, free: 11.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.1939, allocations: 3.235 MB / 0.5686 GB, free: 8.684 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.145/8.339, allocations: 7.938 kB / 0.5686 GB, free: 8.676 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.622897279914469]