Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 108.7 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 222.9 MB / 241.8 MB, free: 15.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2315/0.2315, allocations: 44.17 MB / 336.1 MB, free: 2.977 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 63.45 kB / 407.8 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1448, allocations: 60.82 MB / 468.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.0051/0.1499, allocations: 1.639 MB / 470.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.1511, allocations: 403.3 kB / 470.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.831e-05/0.1512, allocations: 3.938 kB / 470.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003756/0.1516, allocations: 79.77 kB / 470.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.1519, allocations: 55.88 kB / 470.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.1523, allocations: 75.84 kB / 470.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.1525, allocations: 63.89 kB / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.1527, allocations: 24.09 kB / 471 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.1528, allocations: 31.86 kB / 471 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.1529, allocations: 43.83 kB / 471 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.1529, allocations: 4 kB / 471 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.1531, allocations: 35.98 kB / 471.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.046e-05/0.1532, allocations: 15.92 kB / 471.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.611e-05/0.1532, allocations: 27.81 kB / 471.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.1535, allocations: 99.92 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1535, allocations: 0 / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.326e-06/0.1535, allocations: 4 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1536, allocations: 3.938 kB / 471.2 MB, free: 12.18 MB / 350.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.000621/0.1542, allocations: 397.5 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.1542, allocations: 8.031 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.643e-05/0.1543, allocations: 38.75 kB / 471.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.1544, allocations: 8.844 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.1546, allocations: 199.8 kB / 471.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.1546, allocations: 4.375 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.1546, allocations: 12.05 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.1548, allocations: 49.69 kB / 471.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.1548, allocations: 11.94 kB / 471.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.1549, allocations: 0 / 471.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.1549, allocations: 0 / 471.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.155, allocations: 27.97 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004912/0.1555, allocations: 288.7 kB / 472.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.1557, allocations: 50.5 kB / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.829e-05/0.1558, allocations: 12.95 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.1558, allocations: 3.984 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.1559, allocations: 34.56 kB / 472.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.734e-06/0.1559, allocations: 0 / 472.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001151/0.157, allocations: 225.1 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.1571, allocations: 55.34 kB / 472.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.1573, allocations: 190.2 kB / 472.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.1574, allocations: 25.7 kB / 472.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.081e-05/0.1575, allocations: 100.1 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.1575, allocations: 31.55 kB / 472.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-05/0.1576, allocations: 25.72 kB / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1577, allocations: 322.8 kB / 473.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.1578, allocations: 23.98 kB / 473.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.335e-05/0.1579, allocations: 23.92 kB / 473.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.1581, allocations: 64.77 kB / 473.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1581, allocations: 0 / 473.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000299/0.1584, allocations: 109.5 kB / 473.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.1585, allocations: 6.344 kB / 473.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1585, allocations: 0 / 473.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1585, allocations: 0 / 473.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.1587, allocations: 19.98 kB / 473.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1587, allocations: 3.938 kB / 473.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.906e-05/0.1587, allocations: 4 kB / 473.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.1588, allocations: 7.938 kB / 473.5 MB, free: 9.613 MB / 350.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.000118/0.1589, allocations: 129.8 kB / 473.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.966e-05/0.1589, allocations: 11.91 kB / 473.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003596/0.1593, allocations: 106.4 kB / 473.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.1593, allocations: 3.984 kB / 473.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.1594, allocations: 3.938 kB / 473.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.1594, allocations: 4 kB / 473.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007121/0.1601, allocations: 403.6 kB / 474.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.1601, allocations: 7.938 kB / 474.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.449e-05/0.1602, allocations: 19.92 kB / 474.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1602, allocations: 432 / 474.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.1602, allocations: 4 kB / 474.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1603, allocations: 0 / 474.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1603, allocations: 0 / 474.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.1607, allocations: 204.4 kB / 474.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.69e-05/0.1607, allocations: 92.94 kB / 474.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.1608, allocations: 7.984 kB / 474.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.1609, allocations: 4 kB / 474.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.1609, allocations: 11.92 kB / 474.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.1609, allocations: 0 / 474.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.1611, allocations: 149.1 kB / 474.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1611, allocations: 0 / 474.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003667/0.1615, allocations: 23.98 kB / 474.7 MB, free: 8.34 MB / 350.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.03439/0.1959, allocations: 1.091 MB / 475.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003163/0.1962, allocations: 63.89 kB / 475.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1963, allocations: 4 kB / 475.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.736e-05/0.1964, allocations: 39.92 kB / 475.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.1968, allocations: 15.98 kB / 475.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.199, allocations: 1.618 MB / 477.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.1994, allocations: 0.7043 MB / 478.2 MB, free: 4.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.302e-05/0.1995, allocations: 12.97 kB / 478.3 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.084e-05/0.1995, allocations: 31.42 kB / 478.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1995, allocations: 0 / 478.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.2136, allocations: 2.719 MB / 481 MB, free: 2.16 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002211/0.2138, allocations: 235.5 kB / 481.2 MB, free: 1.906 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/2.009, allocations: 7.562 kB / 481.2 MB, free: 1.902 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches