Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",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.001348/0.001348, 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.001308/0.001308, 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.459/1.459, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2124/0.2124, allocations: 44.17 MB / 336.6 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 64.25 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1041, allocations: 60.83 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003425/0.1076, allocations: 1.58 MB / 470.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008279/0.1085, allocations: 411.3 kB / 471.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.793e-05/0.1085, allocations: 7.938 kB / 471.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.1088, allocations: 87.75 kB / 471.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.109, allocations: 79.72 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.1093, allocations: 107.2 kB / 471.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.1095, allocations: 75.81 kB / 471.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.905e-05/0.1096, allocations: 20.17 kB / 471.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.739e-05/0.1097, allocations: 35.84 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.707e-05/0.1098, allocations: 51.88 kB / 471.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.1098, allocations: 7.938 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.028e-05/0.1099, allocations: 39.98 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.216e-05/0.1099, allocations: 19.94 kB / 471.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.11, allocations: 35.72 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.1101, allocations: 103.9 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1102, allocations: 0 / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1102, allocations: 3.938 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1102, allocations: 0 / 472 MB, free: 11.62 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.000432/0.1106, allocations: 418.9 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.1107, allocations: 8.031 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.982e-05/0.1107, allocations: 34.75 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.1107, allocations: 8.844 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.1109, allocations: 198.7 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.1109, allocations: 8.375 kB / 472.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.111, allocations: 4.125 kB / 472.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.1111, allocations: 65.59 kB / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1111, allocations: 4 kB / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.1111, allocations: 3.938 kB / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1112, allocations: 0 / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.866e-05/0.1112, allocations: 23.98 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.1116, allocations: 304.7 kB / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.1117, allocations: 50.5 kB / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.064e-05/0.1118, allocations: 20.94 kB / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.1118, allocations: 4 kB / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.1119, allocations: 30.56 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1119, allocations: 0 / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008418/0.1127, allocations: 237.3 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.1128, allocations: 55.34 kB / 473.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.113, allocations: 226.2 kB / 473.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.113, allocations: 25.7 kB / 473.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.113, allocations: 108.1 kB / 473.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.1131, allocations: 31.55 kB / 473.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.1131, allocations: 25.72 kB / 473.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1132, allocations: 322.8 kB / 474.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.988e-05/0.1133, allocations: 35.91 kB / 474.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.766e-05/0.1134, allocations: 23.98 kB / 474.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.1136, allocations: 76.88 kB / 474.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1136, allocations: 0 / 474.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002823/0.1139, allocations: 113.6 kB / 474.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1139, allocations: 4 kB / 474.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1139, allocations: 4.094 kB / 474.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1139, allocations: 3.984 kB / 474.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.061e-05/0.114, allocations: 23.92 kB / 474.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.114, allocations: 3.938 kB / 474.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.933e-05/0.1141, allocations: 4 kB / 474.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.1141, allocations: 3.984 kB / 474.5 MB, free: 8.922 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.0001075/0.1142, allocations: 129.8 kB / 474.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.1142, allocations: 15.81 kB / 474.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.1145, allocations: 143.2 kB / 474.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1145, allocations: 0 / 474.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1145, allocations: 3.938 kB / 474.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1145, allocations: 0 / 474.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004753/0.115, allocations: 423.2 kB / 475.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.115, allocations: 3.938 kB / 475.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.543e-05/0.1151, allocations: 19.98 kB / 475.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1151, allocations: 0 / 475.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.1151, allocations: 0 / 475.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1151, allocations: 4 kB / 475.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1151, allocations: 0 / 475.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.1154, allocations: 216.2 kB / 475.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.1154, allocations: 96.88 kB / 475.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.1155, allocations: 4 kB / 475.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.759e-05/0.1155, allocations: 4 kB / 475.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.1156, allocations: 7.984 kB / 475.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.1156, allocations: 4 kB / 475.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.1157, allocations: 169.5 kB / 475.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1157, allocations: 0 / 475.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.116, allocations: 20 kB / 475.7 MB, free: 7.578 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.001423/0.1174, allocations: 1.105 MB / 476.8 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.1176, allocations: 75.95 kB / 476.9 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1176, allocations: 4 kB / 476.9 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.837e-05/0.1177, allocations: 43.91 kB / 476.9 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.1181, allocations: 19.98 kB / 476.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.1199, allocations: 1.703 MB / 478.7 MB, free: 4.703 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.1203, allocations: 0.7119 MB / 479.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.021e-05/0.1204, allocations: 16.66 kB / 479.4 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.327e-05/0.1204, allocations: 39.42 kB / 479.4 MB, free: 3.91 MB / 350.1 MB Notification: Performance of SimCode: time 2.344e-06/0.1205, allocations: 0 / 479.4 MB, free: 3.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2254/0.3459, allocations: 3.07 MB / 482.5 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.841/8.187, allocations: 8.297 kB / 482.5 MB, free: 0.8906 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches