Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",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.001676/0.001676, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001743/0.001743, allocations: 192 kB / 18.56 MB, free: 4.434 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.309/1.309, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.1927/0.1927, allocations: 44.17 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 64.33 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1055, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002691/0.1083, allocations: 1.553 MB / 470.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006743/0.1089, allocations: 407.2 kB / 471.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.459e-05/0.109, allocations: 4 kB / 471.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.1092, allocations: 23.86 kB / 471.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.1093, allocations: 39.78 kB / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.1096, allocations: 119.3 kB / 471.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.1098, allocations: 59.78 kB / 471.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.1099, allocations: 8 kB / 471.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.91e-05/0.1099, allocations: 23.86 kB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.155e-05/0.11, allocations: 23.86 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.11, allocations: 0 / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.543e-05/0.1101, allocations: 31.98 kB / 471.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.482e-05/0.1101, allocations: 19.92 kB / 471.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.1102, allocations: 15.88 kB / 471.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.1103, allocations: 72.06 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1103, allocations: 0 / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1103, allocations: 0 / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1103, allocations: 4 kB / 471.7 MB, free: 11.88 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.0003865/0.1107, allocations: 371.2 kB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.1108, allocations: 12.03 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.213e-05/0.1108, allocations: 30.75 kB / 472.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.1108, allocations: 12.84 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.111, allocations: 189.2 kB / 472.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.111, allocations: 4.375 kB / 472.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.111, allocations: 8.375 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.1112, allocations: 53.55 kB / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1112, allocations: 0 / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.1112, allocations: 0 / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.1112, allocations: 4 kB / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.751e-05/0.1113, allocations: 27.91 kB / 472.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.1116, allocations: 284.9 kB / 472.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.1118, allocations: 38.56 kB / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.14e-05/0.1119, allocations: 20.94 kB / 472.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.1119, allocations: 3.938 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.1119, allocations: 34.56 kB / 472.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.112, allocations: 0 / 472.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005154/0.1125, allocations: 153.2 kB / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.1125, allocations: 51.41 kB / 473 MB, free: 10.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.1126, allocations: 149.8 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.1127, allocations: 25.7 kB / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.1127, allocations: 92.14 kB / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.1127, allocations: 23.73 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.1128, allocations: 13.72 kB / 473.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1129, allocations: 322.8 kB / 473.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.114e-05/0.113, allocations: 23.97 kB / 473.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.171e-05/0.113, allocations: 19.98 kB / 473.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.1132, allocations: 52.83 kB / 473.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1132, allocations: 0 / 473.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001867/0.1134, allocations: 93.5 kB / 473.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.1134, allocations: 4 kB / 473.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1134, allocations: 3.938 kB / 473.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.1134, allocations: 0 / 473.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.788e-05/0.1135, allocations: 8 kB / 473.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1135, allocations: 4 kB / 473.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.866e-05/0.1135, allocations: 8.234 kB / 473.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-06/0.1135, allocations: 7.938 kB / 473.8 MB, free: 9.543 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 6.916e-05/0.1136, allocations: 113.8 kB / 474 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.1137, allocations: 7.906 kB / 474 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.1139, allocations: 101.9 kB / 474.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.1139, allocations: 4 kB / 474.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1139, allocations: 3.938 kB / 474.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1139, allocations: 4 kB / 474.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003907/0.1143, allocations: 350.5 kB / 474.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1143, allocations: 0 / 474.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.232e-05/0.1144, allocations: 8 kB / 474.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1144, allocations: 0 / 474.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.1144, allocations: 3.938 kB / 474.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1144, allocations: 11.92 kB / 474.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1144, allocations: 0 / 474.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.1147, allocations: 179.4 kB / 474.6 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.737e-05/0.1147, allocations: 89 kB / 474.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.1148, allocations: 0 / 474.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.818e-05/0.1148, allocations: 7.938 kB / 474.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.1149, allocations: 3.984 kB / 474.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.1149, allocations: 4 kB / 474.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.996e-05/0.115, allocations: 115.3 kB / 474.8 MB, free: 8.449 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.115, allocations: 0 / 474.8 MB, free: 8.449 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.1152, allocations: 12 kB / 474.8 MB, free: 8.438 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.001199/0.1164, allocations: 1.017 MB / 475.9 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.1166, allocations: 55.95 kB / 475.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1167, allocations: 0 / 475.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.457e-05/0.1167, allocations: 27.92 kB / 475.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.1171, allocations: 23.58 kB / 476 MB, free: 7.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.1185, allocations: 1.419 MB / 477.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.1188, allocations: 0.6885 MB / 478.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.314e-05/0.1189, allocations: 20.44 kB / 478.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.41e-05/0.1189, allocations: 27.42 kB / 478.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1189, allocations: 0 / 478.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.1373, allocations: 2.405 MB / 480.5 MB, free: 2.848 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/7.886, allocations: 10.7 kB / 480.5 MB, free: 2.84 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches