Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test3",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.0007733/0.0007733, allocations: 96.78 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008651/0.0008651, allocations: 176.3 kB / 16.92 MB, free: 6.68 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.717/1.717, allocations: 205.4 MB / 223.1 MB, free: 5.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.3645/0.3645, allocations: 43.57 MB / 315 MB, free: 9.066 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.0005359/0.0005361, allocations: 12 kB / 384.7 MB, free: 7.785 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1244, allocations: 58.87 MB / 443.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.001898/0.1263, allocations: 1.275 MB / 444.8 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006617/0.127, allocations: 303.7 kB / 445.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.232e-05/0.1271, allocations: 0 / 445.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002736/0.1273, allocations: 67.84 kB / 445.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.1275, allocations: 55.86 kB / 445.2 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.1277, allocations: 59.88 kB / 445.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.1279, allocations: 63.81 kB / 445.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.128, allocations: 16.27 kB / 445.4 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.507e-05/0.1281, allocations: 27.84 kB / 445.4 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.1282, allocations: 43.89 kB / 445.4 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.1282, allocations: 0 / 445.4 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.316e-05/0.1283, allocations: 24 kB / 445.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.341e-05/0.1283, allocations: 19.92 kB / 445.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.226e-05/0.1284, allocations: 45.52 kB / 445.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.1286, allocations: 95.52 kB / 445.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1286, allocations: 0 / 445.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1286, allocations: 0 / 445.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1286, allocations: 4 kB / 445.6 MB, free: 10.71 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.0004995/0.1291, allocations: 387.2 kB / 446 MB, free: 10.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.1292, allocations: 11.97 kB / 446 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.1292, allocations: 34.73 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.1293, allocations: 12.75 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.1295, allocations: 188.2 kB / 446.2 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.1295, allocations: 384 / 446.3 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.1295, allocations: 384 / 446.3 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.1296, allocations: 69.55 kB / 446.3 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.1297, allocations: 7.906 kB / 446.3 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.1297, allocations: 0 / 446.3 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1297, allocations: 0 / 446.3 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.78e-05/0.1298, allocations: 23.98 kB / 446.3 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.1302, allocations: 280.9 kB / 446.6 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.1304, allocations: 46.5 kB / 446.7 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.528e-05/0.1304, allocations: 20.94 kB / 446.7 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.1305, allocations: 0 / 446.7 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.1305, allocations: 30.56 kB / 446.7 MB, free: 9.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1305, allocations: 4 kB / 446.7 MB, free: 9.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005404/0.131, allocations: 165.2 kB / 446.9 MB, free: 9.273 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.1311, allocations: 55.41 kB / 446.9 MB, free: 9.207 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.1313, allocations: 190.2 kB / 447.1 MB, free: 9.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1313, allocations: 25.7 kB / 447.1 MB, free: 8.977 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.1314, allocations: 100 kB / 447.2 MB, free: 8.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.1314, allocations: 15.8 kB / 447.3 MB, free: 8.859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.1314, allocations: 13.72 kB / 447.3 MB, free: 8.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1315, allocations: 326.8 kB / 447.6 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.959e-05/0.1316, allocations: 23.98 kB / 447.6 MB, free: 8.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.246e-05/0.1317, allocations: 23.98 kB / 447.6 MB, free: 8.465 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.1318, allocations: 48.83 kB / 447.7 MB, free: 8.414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1318, allocations: 4 kB / 447.7 MB, free: 8.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001713/0.132, allocations: 93.52 kB / 447.8 MB, free: 8.312 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.132, allocations: 4 kB / 447.8 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.132, allocations: 0 / 447.8 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.132, allocations: 4 kB / 447.8 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.302e-05/0.1321, allocations: 15.98 kB / 447.8 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.1321, allocations: 7.938 kB / 447.8 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.842e-05/0.1322, allocations: 4 kB / 447.8 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.1322, allocations: 3.938 kB / 447.8 MB, free: 8.273 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.169e-05/0.1323, allocations: 125.8 kB / 447.9 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.1323, allocations: 7.906 kB / 448 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.1325, allocations: 106.2 kB / 448.1 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.1325, allocations: 4 kB / 448.1 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1325, allocations: 0 / 448.1 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1326, allocations: 4 kB / 448.1 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004145/0.133, allocations: 358.4 kB / 448.4 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.133, allocations: 3.938 kB / 448.4 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.162e-05/0.133, allocations: 16 kB / 448.4 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1331, allocations: 0 / 448.4 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.1331, allocations: 4 kB / 448.4 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.1331, allocations: 3.938 kB / 448.4 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1331, allocations: 3.984 kB / 448.4 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.1333, allocations: 183.4 kB / 448.6 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.1334, allocations: 85.02 kB / 448.7 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.1334, allocations: 3.984 kB / 448.7 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.655e-05/0.1335, allocations: 7.938 kB / 448.7 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.1335, allocations: 12 kB / 448.7 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-06/0.1335, allocations: 3.984 kB / 448.7 MB, free: 7.254 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.1336, allocations: 147.9 kB / 448.9 MB, free: 7.109 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.214e-06/0.1337, allocations: 0 / 448.9 MB, free: 7.109 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002236/0.1339, allocations: 11.94 kB / 448.9 MB, free: 7.098 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.001552/0.1354, allocations: 1.033 MB / 449.9 MB, free: 6.078 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.1356, allocations: 51.97 kB / 450 MB, free: 6.027 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1357, allocations: 7.938 kB / 450 MB, free: 6.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.568e-05/0.1357, allocations: 27.98 kB / 450 MB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.1361, allocations: 19.92 kB / 450 MB, free: 5.973 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.1379, allocations: 1.544 MB / 451.6 MB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.1384, allocations: 0.7004 MB / 452.3 MB, free: 3.621 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.251e-05/0.1384, allocations: 12 kB / 452.3 MB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.316e-05/0.1385, allocations: 27.42 kB / 452.3 MB, free: 3.582 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1385, allocations: 4 kB / 452.3 MB, free: 3.578 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01183/0.1503, allocations: 2.251 MB / 454.6 MB, free: 1.324 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.1506, allocations: 235.2 kB / 454.8 MB, free: 1.066 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/1.953, allocations: 0 / 454.8 MB, free: 1.066 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches