Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2",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.00145/0.00145, allocations: 105 kB / 15.98 MB, free: 5.867 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.001523/0.001523, allocations: 195.3 kB / 16.91 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.1 MB / 222.8 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3197/0.3197, allocations: 43.49 MB / 313.6 MB, free: 8.66 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 63.91 kB / 382.3 MB, free: 8.523 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1222, allocations: 57.78 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003126/0.1253, allocations: 1.614 MB / 441.7 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005701/0.1259, allocations: 311.6 kB / 442 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5e-05/0.126, allocations: 4 kB / 442 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.1262, allocations: 19.92 kB / 442 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.1264, allocations: 23.92 kB / 442.1 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.1266, allocations: 67.84 kB / 442.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.1267, allocations: 55.84 kB / 442.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.748e-05/0.1269, allocations: 16.25 kB / 442.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.363e-05/0.1269, allocations: 23.88 kB / 442.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.17e-05/0.127, allocations: 27.84 kB / 442.3 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.127, allocations: 0 / 442.3 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.094e-05/0.1271, allocations: 27.98 kB / 442.3 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.604e-05/0.1271, allocations: 8 kB / 442.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.483e-05/0.1272, allocations: 19.81 kB / 442.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.1273, allocations: 83.66 kB / 442.4 MB, free: 12.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1273, allocations: 0 / 442.4 MB, free: 12.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1273, allocations: 0 / 442.4 MB, free: 12.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1273, allocations: 0 / 442.4 MB, free: 12.33 MB / 382.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.0004479/0.1278, allocations: 379.2 kB / 442.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1278, allocations: 19.83 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.805e-05/0.1279, allocations: 34.75 kB / 442.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.1279, allocations: 8.844 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.1281, allocations: 176.3 kB / 443 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.1281, allocations: 8.375 kB / 443 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.1281, allocations: 384 / 443 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.1283, allocations: 49.62 kB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1283, allocations: 0 / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.1283, allocations: 8 kB / 443.1 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1283, allocations: 0 / 443.1 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.014e-05/0.1284, allocations: 27.91 kB / 443.1 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.1287, allocations: 272.8 kB / 443.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.1289, allocations: 38.56 kB / 443.4 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.871e-05/0.129, allocations: 24.94 kB / 443.4 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.129, allocations: 0 / 443.4 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1291, allocations: 34.56 kB / 443.4 MB, free: 11.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.1291, allocations: 3.938 kB / 443.5 MB, free: 11.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005074/0.1296, allocations: 129.4 kB / 443.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.1296, allocations: 59.41 kB / 443.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.1298, allocations: 149.7 kB / 443.8 MB, free: 10.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.1298, allocations: 33.64 kB / 443.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.1298, allocations: 88.14 kB / 443.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.1299, allocations: 19.66 kB / 443.9 MB, free: 10.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.1299, allocations: 21.7 kB / 443.9 MB, free: 10.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.13, allocations: 322.8 kB / 444.3 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.1301, allocations: 15.98 kB / 444.3 MB, free: 10.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.397e-05/0.1302, allocations: 19.98 kB / 444.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.1303, allocations: 44.83 kB / 444.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1303, allocations: 0 / 444.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001574/0.1305, allocations: 77.67 kB / 444.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1305, allocations: 4 kB / 444.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.1305, allocations: 0 / 444.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1305, allocations: 3.938 kB / 444.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.698e-05/0.1306, allocations: 19.98 kB / 444.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1306, allocations: 0 / 444.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.708e-05/0.1306, allocations: 7.891 kB / 444.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.1307, allocations: 7.938 kB / 444.5 MB, free: 10.03 MB / 382.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 8.047e-05/0.1307, allocations: 117.8 kB / 444.6 MB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.1308, allocations: 4 kB / 444.6 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.131, allocations: 94.22 kB / 444.7 MB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.131, allocations: 4 kB / 444.7 MB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/0.131, allocations: 0 / 444.7 MB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.131, allocations: 4.219 kB / 444.7 MB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004053/0.1314, allocations: 342.4 kB / 445 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1315, allocations: 4 kB / 445 MB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.12e-05/0.1315, allocations: 11.98 kB / 445 MB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1315, allocations: 3.984 kB / 445 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.1315, allocations: 4 kB / 445 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1315, allocations: 3.938 kB / 445 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1315, allocations: 4 kB / 445 MB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.1318, allocations: 175.4 kB / 445.2 MB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.1318, allocations: 81.11 kB / 445.3 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.1318, allocations: 0 / 445.3 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.685e-05/0.1319, allocations: 15.94 kB / 445.3 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.1319, allocations: 3.984 kB / 445.3 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.132, allocations: 7.938 kB / 445.3 MB, free: 9.059 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.407e-05/0.132, allocations: 107.3 kB / 445.4 MB, free: 8.953 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.132, allocations: 0 / 445.4 MB, free: 8.953 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.1323, allocations: 15.98 kB / 445.4 MB, free: 8.938 MB / 382.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.001275/0.1336, allocations: 1.011 MB / 446.4 MB, free: 7.934 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.1338, allocations: 43.97 kB / 446.5 MB, free: 7.891 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1338, allocations: 0 / 446.5 MB, free: 7.891 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.993e-05/0.1339, allocations: 27.92 kB / 446.5 MB, free: 7.863 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.1342, allocations: 31.06 kB / 446.5 MB, free: 7.836 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.1356, allocations: 1.42 MB / 448 MB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.1359, allocations: 0.6924 MB / 448.7 MB, free: 5.617 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.966e-05/0.136, allocations: 16.31 kB / 448.7 MB, free: 5.602 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.528e-05/0.136, allocations: 23.42 kB / 448.7 MB, free: 5.582 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.136, allocations: 0 / 448.7 MB, free: 5.582 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3135/0.4496, allocations: 2.267 MB / 451 MB, free: 3.297 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.4498, allocations: 232.2 kB / 451.2 MB, free: 3.043 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.318, allocations: 0 / 451.2 MB, free: 3.043 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches