Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.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.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8",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.001273/0.001273, allocations: 96.14 kB / 15.87 MB, free: 16 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.001364/0.001364, allocations: 206.3 kB / 16.79 MB, free: 6.84 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.538/1.538, allocations: 205.1 MB / 222.6 MB, free: 4.98 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.3451/0.3451, allocations: 43.5 MB / 313.5 MB, free: 8.34 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.00133/0.00133, allocations: 67.91 kB / 382.1 MB, free: 8.711 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1182, allocations: 57.78 MB / 439.9 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003203/0.1214, allocations: 1.629 MB / 441.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006484/0.1221, allocations: 331.6 kB / 441.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/0.1222, allocations: 0 / 441.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005498/0.1227, allocations: 447.2 kB / 442.3 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.123, allocations: 247.5 kB / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.1233, allocations: 143.8 kB / 442.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.1235, allocations: 155.6 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.171e-05/0.1236, allocations: 15.97 kB / 442.9 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.108e-05/0.1237, allocations: 95.8 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.124, allocations: 207.6 kB / 443.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.124, allocations: 0 / 443.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.733e-05/0.1241, allocations: 23.97 kB / 443.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.1242, allocations: 83.69 kB / 443.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.384e-05/0.1243, allocations: 95.06 kB / 443.3 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.1245, allocations: 243.2 kB / 443.6 MB, free: 11.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1245, allocations: 3.938 kB / 443.6 MB, free: 11.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1245, allocations: 0 / 443.6 MB, free: 11.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1245, allocations: 0 / 443.6 MB, free: 11.13 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.0006714/0.1252, allocations: 0.6336 MB / 444.2 MB, free: 10.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1253, allocations: 15.97 kB / 444.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.1253, allocations: 34.75 kB / 444.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.412e-05/0.1254, allocations: 40.38 kB / 444.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.1256, allocations: 296.2 kB / 444.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.1257, allocations: 384 / 444.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.1257, allocations: 384 / 444.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.1258, allocations: 53.62 kB / 444.7 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1258, allocations: 3.938 kB / 444.7 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.1259, allocations: 0 / 444.7 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.1259, allocations: 4 kB / 444.7 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.551e-05/0.126, allocations: 27.97 kB / 444.7 MB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.1264, allocations: 380.8 kB / 445.1 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.226e-05/0.1265, allocations: 34.56 kB / 445.1 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.755e-05/0.1266, allocations: 24.83 kB / 445.1 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.1266, allocations: 11.98 kB / 445.1 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1266, allocations: 30.56 kB / 445.2 MB, free: 9.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1266, allocations: 0 / 445.2 MB, free: 9.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002543/0.1269, allocations: 97.11 kB / 445.3 MB, free: 9.281 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.127, allocations: 55.41 kB / 445.3 MB, free: 9.215 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007859/0.1277, allocations: 0.8653 MB / 446.2 MB, free: 8.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.1278, allocations: 25.83 kB / 446.2 MB, free: 8.309 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.1279, allocations: 224.1 kB / 446.4 MB, free: 8.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.128, allocations: 7.844 kB / 446.4 MB, free: 8.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.128, allocations: 13.72 kB / 446.4 MB, free: 8.059 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1282, allocations: 366.7 kB / 446.8 MB, free: 7.691 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.621e-05/0.1282, allocations: 15.92 kB / 446.8 MB, free: 7.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.583e-05/0.1282, allocations: 12 kB / 446.8 MB, free: 7.664 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.839e-05/0.1283, allocations: 32.91 kB / 446.9 MB, free: 7.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1283, allocations: 0 / 446.9 MB, free: 7.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001412/0.1285, allocations: 93.11 kB / 446.9 MB, free: 7.531 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.1285, allocations: 4 kB / 447 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1285, allocations: 3.938 kB / 447 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1285, allocations: 4 kB / 447 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.231e-05/0.1286, allocations: 4 kB / 447 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1286, allocations: 0 / 447 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.309e-05/0.1287, allocations: 3.969 kB / 447 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.1287, allocations: 11.98 kB / 447 MB, free: 7.5 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 (2): * Single equations (assignments): 2 * 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.0001617/0.1289, allocations: 217.7 kB / 447.2 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/0.1289, allocations: 35.53 kB / 447.2 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.1291, allocations: 108.6 kB / 447.3 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1291, allocations: 0 / 447.3 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1291, allocations: 0 / 447.3 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1292, allocations: 7.938 kB / 447.3 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/0.1294, allocations: 293.4 kB / 447.6 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1294, allocations: 0 / 447.6 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.127e-05/0.1295, allocations: 4 kB / 447.6 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1295, allocations: 4 kB / 447.6 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.1295, allocations: 0 / 447.6 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1295, allocations: 0 / 447.6 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1295, allocations: 0 / 447.6 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.1297, allocations: 198.9 kB / 447.8 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.812e-05/0.1298, allocations: 112.5 kB / 447.9 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.1298, allocations: 0 / 447.9 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.1299, allocations: 4 kB / 447.9 MB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.1299, allocations: 0 / 447.9 MB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.1299, allocations: 0 / 447.9 MB, free: 6.434 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005242/0.1304, allocations: 0.6589 MB / 448.6 MB, free: 5.777 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1304, allocations: 0 / 448.6 MB, free: 5.777 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.1307, allocations: 15.94 kB / 448.6 MB, free: 5.762 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 (2): * Single equations (assignments): 2 * 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.001076/0.1318, allocations: 0.9779 MB / 449.6 MB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.1319, allocations: 23.97 kB / 449.6 MB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1319, allocations: 0 / 449.6 MB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.436e-05/0.132, allocations: 12 kB / 449.6 MB, free: 4.754 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.1323, allocations: 26.16 kB / 449.7 MB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/0.1354, allocations: 3.245 MB / 452.9 MB, free: 1.387 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.1358, allocations: 0.8185 MB / 453.7 MB, free: 0.543 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.711e-05/0.1358, allocations: 11.98 kB / 453.7 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.1359, allocations: 103.4 kB / 453.8 MB, free: 440 kB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1359, allocations: 4 kB / 453.8 MB, free: 436 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2095/0.3454, allocations: 5.458 MB / 459.3 MB, free: 48.51 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/0.3456, allocations: 235.3 kB / 459.5 MB, free: 48.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.017, allocations: 0 / 459.5 MB, free: 48.25 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches