Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",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.001113/0.001113, allocations: 107.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.001118/0.001118, 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.434/1.434, allocations: 222.9 MB / 241.8 MB, free: 15.55 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.2318/0.2318, allocations: 44.16 MB / 336.1 MB, free: 3.02 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 59.28 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1427, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.004035/0.1468, allocations: 1.621 MB / 470.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.1484, allocations: 0.9998 MB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.312e-05/0.1485, allocations: 0 / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002604/0.1488, allocations: 23.91 kB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.149, allocations: 35.92 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003344/0.1494, allocations: 94.56 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.1496, allocations: 59.83 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1497, allocations: 15.98 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.43e-05/0.1497, allocations: 19.86 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.1499, allocations: 27.91 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.1499, allocations: 7.938 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.1501, allocations: 43.92 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.413e-05/0.1502, allocations: 15.91 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.453e-05/0.1502, allocations: 19.88 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.1504, allocations: 84.06 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1504, allocations: 0 / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1505, allocations: 0 / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.1505, allocations: 0 / 471.7 MB, free: 11.67 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005585/0.151, allocations: 379.3 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.1511, allocations: 16.03 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.238e-05/0.1511, allocations: 34.75 kB / 472.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.1512, allocations: 8.844 kB / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.1514, allocations: 192.1 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.1514, allocations: 4.375 kB / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.1514, allocations: 384 / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.1516, allocations: 63.34 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1516, allocations: 4 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.1517, allocations: 4 kB / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1517, allocations: 0 / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.685e-05/0.1518, allocations: 23.97 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.1522, allocations: 280.8 kB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.1524, allocations: 42.55 kB / 472.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.484e-05/0.1525, allocations: 20.86 kB / 472.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.1525, allocations: 0 / 472.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.1525, allocations: 34.56 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1525, allocations: 0 / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005809/0.1531, allocations: 145.4 kB / 472.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/0.1532, allocations: 85.11 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.1534, allocations: 136.6 kB / 473.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.1534, allocations: 25.7 kB / 473.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/0.1535, allocations: 96.08 kB / 473.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.1535, allocations: 11.8 kB / 473.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.1535, allocations: 21.72 kB / 473.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1537, allocations: 322.8 kB / 473.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.45e-05/0.1538, allocations: 27.92 kB / 473.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.371e-05/0.1538, allocations: 33.7 kB / 473.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.154, allocations: 49.02 kB / 473.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.154, allocations: 4 kB / 473.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002118/0.1542, allocations: 89.56 kB / 473.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.1542, allocations: 4 kB / 473.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1542, allocations: 4.031 kB / 473.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.1543, allocations: 0 / 473.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.322e-05/0.1543, allocations: 23.8 kB / 473.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.1543, allocations: 4 kB / 473.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.94e-05/0.1544, allocations: 0 / 473.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.1544, allocations: 7.938 kB / 473.8 MB, free: 9.266 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 (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 8.447e-05/0.1545, allocations: 117.8 kB / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.1545, allocations: 7.906 kB / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.1548, allocations: 93.62 kB / 474.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1548, allocations: 0 / 474.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1548, allocations: 0 / 474.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1548, allocations: 4 kB / 474.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004152/0.1552, allocations: 354.4 kB / 474.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1552, allocations: 0 / 474.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.256e-05/0.1553, allocations: 19.98 kB / 474.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1553, allocations: 0 / 474.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1553, allocations: 0 / 474.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1553, allocations: 3.938 kB / 474.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1553, allocations: 288 / 474.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.1556, allocations: 187.6 kB / 474.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.509e-05/0.1557, allocations: 89 kB / 474.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.1557, allocations: 8 kB / 474.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.1558, allocations: 11.92 kB / 474.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.1558, allocations: 0 / 474.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.1558, allocations: 0 / 474.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.455e-05/0.1559, allocations: 107.2 kB / 474.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1559, allocations: 0 / 474.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.1562, allocations: 24 kB / 474.8 MB, free: 8.152 MB / 350.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.001434/0.1576, allocations: 1.054 MB / 475.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.1578, allocations: 59.95 kB / 476 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1578, allocations: 0 / 476 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.199e-05/0.1579, allocations: 23.98 kB / 476 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.1583, allocations: 23.86 kB / 476 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.1599, allocations: 1.418 MB / 477.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.1602, allocations: 0.6887 MB / 478.1 MB, free: 4.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.669e-05/0.1603, allocations: 11.98 kB / 478.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/0.1603, allocations: 23.42 kB / 478.1 MB, free: 4.895 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1604, allocations: 8 kB / 478.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01463/0.175, allocations: 2.542 MB / 480.7 MB, free: 2.441 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/0.1753, allocations: 241.7 kB / 480.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/2.011, allocations: 0 / 480.9 MB, free: 2.18 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches