Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",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.001313/0.001313, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001453/0.001453, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.452/1.452, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.212/0.212, allocations: 44.19 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 68.39 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1039, allocations: 60.82 MB / 469.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002937/0.1069, allocations: 1.611 MB / 471 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007664/0.1076, allocations: 427.1 kB / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.408e-05/0.1077, allocations: 4 kB / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002154/0.108, allocations: 91.73 kB / 471.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.1082, allocations: 75.72 kB / 471.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.1085, allocations: 118.9 kB / 471.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.1087, allocations: 91.81 kB / 471.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.37e-05/0.1088, allocations: 32.2 kB / 471.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.183e-05/0.1088, allocations: 39.84 kB / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.38e-05/0.1089, allocations: 59.81 kB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.1089, allocations: 4 kB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.343e-05/0.109, allocations: 47.92 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.1092, allocations: 35.84 kB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.552e-05/0.1092, allocations: 35.73 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.1094, allocations: 123.6 kB / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1094, allocations: 0 / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1094, allocations: 0 / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1094, allocations: 0 / 472.1 MB, free: 11.51 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.0004177/0.1098, allocations: 430.9 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.1099, allocations: 8.031 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.1099, allocations: 38.75 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.143e-05/0.11, allocations: 12.75 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.1102, allocations: 208 kB / 472.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-06/0.1102, allocations: 4.375 kB / 472.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.1102, allocations: 12.38 kB / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.1103, allocations: 73.59 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1104, allocations: 4 kB / 472.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.1104, allocations: 0 / 472.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.1104, allocations: 0 / 472.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.1105, allocations: 43.97 kB / 472.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.111, allocations: 352.5 kB / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.1111, allocations: 70.55 kB / 473.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.425e-05/0.1112, allocations: 24.84 kB / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.1112, allocations: 4 kB / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.1112, allocations: 34.5 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1112, allocations: 4 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001041/0.1123, allocations: 325.6 kB / 473.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.1123, allocations: 55.41 kB / 473.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.1125, allocations: 235.9 kB / 474 MB, free: 9.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.1125, allocations: 33.7 kB / 474.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.447e-05/0.1126, allocations: 112 kB / 474.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.1127, allocations: 47.3 kB / 474.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.1127, allocations: 29.7 kB / 474.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1128, allocations: 326.8 kB / 474.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.672e-05/0.1129, allocations: 43.97 kB / 474.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.217e-05/0.113, allocations: 47.97 kB / 474.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.1132, allocations: 111 kB / 474.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1132, allocations: 0 / 474.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003231/0.1136, allocations: 149.5 kB / 474.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.1136, allocations: 4 kB / 474.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1136, allocations: 11.88 kB / 474.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1136, allocations: 0 / 474.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.1137, allocations: 27.92 kB / 475 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.1137, allocations: 4 kB / 475 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.297e-05/0.1138, allocations: 7.984 kB / 475 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.1138, allocations: 4 kB / 475 MB, free: 8.434 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.0001025/0.1139, allocations: 133.8 kB / 475.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.1139, allocations: 15.81 kB / 475.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000341/0.1143, allocations: 182.8 kB / 475.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1143, allocations: 4 kB / 475.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.1143, allocations: 3.938 kB / 475.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1143, allocations: 3.984 kB / 475.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006001/0.1149, allocations: 0.4912 MB / 475.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.1149, allocations: 8.031 kB / 475.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.879e-05/0.115, allocations: 27.98 kB / 475.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1151, allocations: 0 / 475.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.1151, allocations: 0 / 475.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1151, allocations: 4 kB / 475.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.1151, allocations: 3.984 kB / 475.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.1154, allocations: 260.1 kB / 476.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.521e-05/0.1154, allocations: 85.02 kB / 476.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.1155, allocations: 4 kB / 476.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.969e-05/0.1156, allocations: 7.984 kB / 476.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.1156, allocations: 12 kB / 476.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.1156, allocations: 7.984 kB / 476.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001388/0.1158, allocations: 171.5 kB / 476.4 MB, free: 6.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1158, allocations: 0 / 476.4 MB, free: 6.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.116, allocations: 28 kB / 476.4 MB, free: 6.895 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.001625/0.1176, allocations: 1.148 MB / 477.5 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00026/0.1179, allocations: 119.5 kB / 477.7 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1179, allocations: 0 / 477.7 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.118, allocations: 63.91 kB / 477.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.1184, allocations: 23 kB / 477.8 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.1203, allocations: 1.875 MB / 479.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.1207, allocations: 0.7197 MB / 480.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.323e-05/0.1208, allocations: 24.53 kB / 480.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.18e-05/0.1208, allocations: 47.42 kB / 480.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1208, allocations: 0 / 480.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2171/0.3379, allocations: 3.427 MB / 483.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/8.229, allocations: 4.062 kB / 483.8 MB, free: 15.55 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches