Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002129/0.002129, allocations: 110.3 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003431/0.003431, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.561/1.561, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2466/0.2466, allocations: 46.92 MB / 357.8 MB, free: 10.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003225/0.003225, allocations: 67.91 kB / 0.4916 GB, free: 7.902 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1551, allocations: 65.99 MB / 0.5561 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.00349/0.1586, allocations: 1.628 MB / 0.5577 GB, free: 4.148 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1597, allocations: 0.5416 MB / 0.5582 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.886e-05/0.1598, allocations: 0 / 0.5582 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.1601, allocations: 75.72 kB / 0.5583 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003681/0.1604, allocations: 103.6 kB / 0.5584 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.1607, allocations: 87.75 kB / 0.5585 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.1609, allocations: 87.75 kB / 0.5585 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1611, allocations: 15.98 kB / 0.5586 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.556e-05/0.1611, allocations: 35.78 kB / 0.5586 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.1613, allocations: 59.81 kB / 0.5586 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.1613, allocations: 4 kB / 0.5587 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.1614, allocations: 43.98 kB / 0.5587 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.709e-05/0.1614, allocations: 15.94 kB / 0.5587 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.018e-05/0.1615, allocations: 35.72 kB / 0.5587 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.1617, allocations: 99.58 kB / 0.5588 GB, free: 2.949 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1617, allocations: 0 / 0.5588 GB, free: 2.949 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1617, allocations: 4 kB / 0.5588 GB, free: 2.945 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1617, allocations: 0 / 0.5588 GB, free: 2.945 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.0005862/0.1623, allocations: 414.7 kB / 0.5592 GB, free: 2.492 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1624, allocations: 12.03 kB / 0.5592 GB, free: 2.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.558e-05/0.1624, allocations: 4.188 kB / 0.5593 GB, free: 2.477 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.217e-05/0.1624, allocations: 30.75 kB / 0.5593 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.1625, allocations: 12.84 kB / 0.5593 GB, free: 2.426 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.1627, allocations: 198.4 kB / 0.5595 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1627, allocations: 8.359 kB / 0.5595 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.1627, allocations: 16.06 kB / 0.5595 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.1629, allocations: 49.67 kB / 0.5596 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.1629, allocations: 7.938 kB / 0.5596 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.1629, allocations: 0 / 0.5596 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.1629, allocations: 0 / 0.5596 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.163, allocations: 27.97 kB / 0.5596 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.1635, allocations: 292.8 kB / 0.5599 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.1636, allocations: 46.5 kB / 0.5599 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.72e-05/0.1637, allocations: 20.94 kB / 0.5599 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.1637, allocations: 0 / 0.5599 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.1637, allocations: 30.56 kB / 0.56 GB, free: 1.629 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1637, allocations: 0 / 0.56 GB, free: 1.629 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009416/0.1647, allocations: 221.2 kB / 0.5602 GB, free: 1.406 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.1647, allocations: 67.27 kB / 0.5602 GB, free: 1.328 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.165, allocations: 197.7 kB / 0.5604 GB, free: 1.121 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.165, allocations: 29.7 kB / 0.5605 GB, free: 1.086 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.118e-05/0.1651, allocations: 100.1 kB / 0.5605 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.1651, allocations: 39.8 kB / 0.5606 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.1652, allocations: 17.72 kB / 0.5606 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1653, allocations: 322.8 kB / 0.5609 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.242e-05/0.1654, allocations: 31.97 kB / 0.5609 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.068e-05/0.1655, allocations: 19.98 kB / 0.561 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.1657, allocations: 64.77 kB / 0.561 GB, free: 492 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1657, allocations: 4 kB / 0.561 GB, free: 488 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002398/0.1659, allocations: 101.6 kB / 0.5611 GB, free: 380 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.1659, allocations: 4 kB / 0.5611 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1659, allocations: 0 / 0.5611 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.1659, allocations: 0 / 0.5611 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.166, allocations: 19.98 kB / 0.5611 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.1661, allocations: 3.938 kB / 0.5612 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.937e-05/0.1661, allocations: 7.984 kB / 0.5612 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.1661, allocations: 4 kB / 0.5612 GB, free: 340 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 (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 0.0001319/0.1662, allocations: 133.7 kB / 0.5613 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-05/0.1663, allocations: 11.91 kB / 0.5613 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003168/0.1666, allocations: 119.3 kB / 0.5614 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1666, allocations: 0 / 0.5614 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.1666, allocations: 7.938 kB / 0.5614 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.1666, allocations: 3.984 kB / 0.5614 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006478/0.1673, allocations: 399.8 kB / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1673, allocations: 3.938 kB / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.599e-05/0.1673, allocations: 23.92 kB / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1673, allocations: 0 / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.1674, allocations: 4 kB / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1674, allocations: 0 / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1674, allocations: 0 / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.1677, allocations: 212.3 kB / 0.562 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.546e-05/0.1677, allocations: 89 kB / 0.5621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.1678, allocations: 4 kB / 0.5621 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.521e-05/0.1678, allocations: 4 kB / 0.5621 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.1679, allocations: 11.92 kB / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.1679, allocations: 4 kB / 0.5621 GB, free: 15.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001655/0.1681, allocations: 157.8 kB / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1681, allocations: 0 / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.1683, allocations: 19.94 kB / 0.5623 GB, free: 15.03 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.002334/0.1707, allocations: 1.099 MB / 0.5634 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002447/0.1709, allocations: 67.89 kB / 0.5635 GB, free: 14.03 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1709, allocations: 4 kB / 0.5635 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.395e-05/0.171, allocations: 31.92 kB / 0.5635 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.1714, allocations: 24.23 kB / 0.5635 GB, free: 13.97 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.1736, allocations: 1.64 MB / 0.5651 GB, free: 12.24 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.174, allocations: 0.7041 MB / 0.5658 GB, free: 11.51 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.325e-05/0.174, allocations: 12.66 kB / 0.5658 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.577e-05/0.1741, allocations: 35.42 kB / 0.5658 GB, free: 11.46 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1741, allocations: 0 / 0.5658 GB, free: 11.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.1937, allocations: 3.105 MB / 0.5689 GB, free: 8.418 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.471/8.664, allocations: 19.05 kB / 0.5689 GB, free: 8.402 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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: 12.070833022997249]