Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27",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.0007418/0.000742, allocations: 95.58 kB / 17.35 MB, free: 6.371 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.0009115/0.0009115, allocations: 175.3 kB / 18.26 MB, free: 5.52 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.209/1.209, allocations: 223.3 MB / 242.3 MB, free: 14.5 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.1706/0.1706, allocations: 44.24 MB / 337.7 MB, free: 2.445 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002989/0.0002989, allocations: 12 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1197, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.001852/0.1216, allocations: 1.297 MB / 473.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007217/0.1223, allocations: 407.4 kB / 474.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.694e-05/0.1224, allocations: 0 / 474.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002778/0.1226, allocations: 119.8 kB / 474.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.1228, allocations: 75.84 kB / 474.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.1231, allocations: 103 kB / 474.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.1232, allocations: 83.8 kB / 474.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.48e-05/0.1233, allocations: 20.17 kB / 474.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.575e-05/0.1234, allocations: 43.83 kB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.1235, allocations: 71.84 kB / 474.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.1235, allocations: 0 / 474.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.798e-05/0.1236, allocations: 47.92 kB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.1237, allocations: 27.92 kB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.844e-05/0.1237, allocations: 61.38 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.1239, allocations: 107.8 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1239, allocations: 0 / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.1239, allocations: 0 / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1239, allocations: 3.938 kB / 474.8 MB, free: 10.77 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.0004467/0.1244, allocations: 407.1 kB / 475.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1244, allocations: 12.03 kB / 475.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.423e-05/0.1245, allocations: 38.73 kB / 475.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.1245, allocations: 20.75 kB / 475.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.1247, allocations: 207.8 kB / 475.5 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.1248, allocations: 4.359 kB / 475.5 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.1248, allocations: 8.125 kB / 475.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.1249, allocations: 57.62 kB / 475.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.125, allocations: 0 / 475.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.125, allocations: 0 / 475.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.125, allocations: 0 / 475.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.1251, allocations: 39.95 kB / 475.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.1255, allocations: 312.7 kB / 475.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.1256, allocations: 50.5 kB / 475.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.237e-05/0.1257, allocations: 24.94 kB / 476 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.1257, allocations: 4 kB / 476 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.1257, allocations: 30.56 kB / 476 MB, free: 9.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1257, allocations: 0 / 476 MB, free: 9.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008797/0.1266, allocations: 269 kB / 476.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.1267, allocations: 55.34 kB / 476.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.1269, allocations: 274.2 kB / 476.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.1269, allocations: 25.7 kB / 476.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.19e-05/0.127, allocations: 112.1 kB / 476.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.127, allocations: 31.62 kB / 476.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.1271, allocations: 17.7 kB / 476.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1272, allocations: 326.8 kB / 477.1 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.85e-05/0.1273, allocations: 35.92 kB / 477.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.855e-05/0.1274, allocations: 35.97 kB / 477.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.1276, allocations: 80.83 kB / 477.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1276, allocations: 4 kB / 477.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002279/0.1278, allocations: 113.5 kB / 477.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1278, allocations: 11.98 kB / 477.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1278, allocations: 0 / 477.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1279, allocations: 0 / 477.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.741e-05/0.128, allocations: 23.94 kB / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.128, allocations: 7.922 kB / 477.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.273e-05/0.128, allocations: 4 kB / 477.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.128, allocations: 8 kB / 477.4 MB, free: 7.938 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.000108/0.1282, allocations: 129.8 kB / 477.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.1282, allocations: 19.81 kB / 477.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/0.1285, allocations: 151.3 kB / 477.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1285, allocations: 0 / 477.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1285, allocations: 3.938 kB / 477.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1285, allocations: 0 / 477.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000534/0.1291, allocations: 435.7 kB / 478.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1291, allocations: 7.875 kB / 478.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.661e-05/0.1292, allocations: 23.92 kB / 478.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1292, allocations: 0 / 478.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1292, allocations: 4 kB / 478.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1292, allocations: 4.031 kB / 478.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1292, allocations: 0 / 478.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.1295, allocations: 228.1 kB / 478.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.1296, allocations: 96.86 kB / 478.5 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.1296, allocations: 8 kB / 478.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.523e-05/0.1297, allocations: 11.92 kB / 478.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.1297, allocations: 7.938 kB / 478.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.1297, allocations: 0 / 478.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001611/0.1299, allocations: 203.2 kB / 478.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1299, allocations: 0 / 478.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.1301, allocations: 20 kB / 478.7 MB, free: 6.504 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.001424/0.1316, allocations: 1.096 MB / 479.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.1318, allocations: 87.89 kB / 479.9 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1318, allocations: 0 / 479.9 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.538e-05/0.1319, allocations: 48.06 kB / 480 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.1322, allocations: 20.14 kB / 480 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.1342, allocations: 1.871 MB / 481.8 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.1345, allocations: 0.72 MB / 482.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.544e-05/0.1346, allocations: 16.66 kB / 482.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.223e-05/0.1346, allocations: 43.41 kB / 482.6 MB, free: 2.645 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1346, allocations: 0 / 482.6 MB, free: 2.645 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01283/0.1475, allocations: 2.921 MB / 485.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002219/0.1477, allocations: 239.8 kB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.016, allocations: 0 / 485.8 MB, free: 15.57 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches