Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",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.0007604/0.0007604, allocations: 91.12 kB / 17.35 MB, free: 6.352 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.0008406/0.0008405, allocations: 175 kB / 18.25 MB, free: 5.508 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.292/1.292, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1919/0.1919, allocations: 44.25 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003413, allocations: 8.5 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1186, allocations: 61.93 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002112/0.1207, allocations: 1.325 MB / 473.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000821/0.1216, allocations: 415.3 kB / 474.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.949e-05/0.1217, allocations: 0 / 474.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003213/0.122, allocations: 95.8 kB / 474.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.1222, allocations: 63.8 kB / 474.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.1226, allocations: 98.69 kB / 474.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.1228, allocations: 91.8 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1229, allocations: 24.22 kB / 474.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.539e-05/0.123, allocations: 39.78 kB / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.1231, allocations: 55.81 kB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.1231, allocations: 4 kB / 474.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.1232, allocations: 47.97 kB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.621e-05/0.1233, allocations: 19.92 kB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.073e-05/0.1234, allocations: 61.39 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.1236, allocations: 115.6 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1236, allocations: 4 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1236, allocations: 0 / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1236, allocations: 0 / 474.8 MB, free: 10.79 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005032/0.1241, allocations: 414.9 kB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.1242, allocations: 12.03 kB / 475.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.052e-05/0.1242, allocations: 34.75 kB / 475.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.1243, allocations: 12.75 kB / 475.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.1245, allocations: 212.1 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.1245, allocations: 384 / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.1245, allocations: 8.375 kB / 475.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.1247, allocations: 81.59 kB / 475.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.1247, allocations: 3.984 kB / 475.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1247, allocations: 0 / 475.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1247, allocations: 11.94 kB / 475.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.1249, allocations: 43.97 kB / 475.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.1253, allocations: 340.6 kB / 475.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.1255, allocations: 74.48 kB / 476 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.054e-05/0.1256, allocations: 24.84 kB / 476 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.1256, allocations: 4.156 kB / 476 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.1256, allocations: 38.55 kB / 476.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.1256, allocations: 3.938 kB / 476.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00109/0.1267, allocations: 360.3 kB / 476.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.1268, allocations: 59.34 kB / 476.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.127, allocations: 231.5 kB / 476.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.127, allocations: 25.7 kB / 476.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.289e-05/0.1271, allocations: 116 kB / 476.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.1271, allocations: 51.38 kB / 476.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.1272, allocations: 17.72 kB / 476.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1273, allocations: 326.8 kB / 477.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.1274, allocations: 47.97 kB / 477.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.416e-05/0.1275, allocations: 47.97 kB / 477.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.1278, allocations: 124.9 kB / 477.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1278, allocations: 0 / 477.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002656/0.128, allocations: 157.5 kB / 477.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.1281, allocations: 4 kB / 477.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1281, allocations: 7.875 kB / 477.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1281, allocations: 4 kB / 477.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.1282, allocations: 27.98 kB / 477.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1283, allocations: 4 kB / 477.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.682e-05/0.1283, allocations: 11.98 kB / 477.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.1283, allocations: 4 kB / 477.7 MB, free: 7.672 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 (13): * Single equations (assignments): 13 * 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.0001012/0.1284, allocations: 137.8 kB / 477.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.1285, allocations: 15.81 kB / 477.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003616/0.1288, allocations: 193.3 kB / 478 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1288, allocations: 4 kB / 478 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1289, allocations: 7.938 kB / 478 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.1289, allocations: 0 / 478 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006294/0.1295, allocations: 0.499 MB / 478.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1295, allocations: 4.031 kB / 478.5 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.249e-05/0.1296, allocations: 35.92 kB / 478.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1296, allocations: 0 / 478.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.1296, allocations: 0 / 478.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.1296, allocations: 4 kB / 478.6 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1296, allocations: 0 / 478.6 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.13, allocations: 264.1 kB / 478.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.13, allocations: 85.02 kB / 478.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.1301, allocations: 8 kB / 478.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.411e-05/0.1302, allocations: 7.984 kB / 478.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.1302, allocations: 11.92 kB / 478.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.1302, allocations: 12 kB / 479 MB, free: 6.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.1304, allocations: 175.2 kB / 479.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1304, allocations: 0 / 479.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.1306, allocations: 27.98 kB / 479.2 MB, free: 6.094 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 (13): * Single equations (assignments): 13 * 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.001446/0.1321, allocations: 1.138 MB / 480.3 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002659/0.1324, allocations: 119.9 kB / 480.4 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1324, allocations: 3.938 kB / 480.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.1325, allocations: 63.91 kB / 480.5 MB, free: 4.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.1328, allocations: 31.62 kB / 480.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.1351, allocations: 1.94 MB / 482.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.1354, allocations: 0.72 MB / 483.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.004e-05/0.1355, allocations: 28.48 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.967e-05/0.1356, allocations: 47.41 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1356, allocations: 0 / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01427/0.1499, allocations: 3.064 MB / 486.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/0.1501, allocations: 239.4 kB / 486.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/1.82, allocations: 3.75 kB / 486.5 MB, free: 14.84 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches