Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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 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.CombiTable1D.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_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.001099/0.001099, allocations: 97.33 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.001053/0.001053, allocations: 179 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.75/1.75, allocations: 205.4 MB / 223.1 MB, free: 5.551 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.3669/0.3669, allocations: 43.57 MB / 315 MB, free: 8.824 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.000539/0.0005389, allocations: 12 kB / 384.7 MB, free: 7.535 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1227, allocations: 58.86 MB / 443.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test5): time 0.002134/0.1249, allocations: 1.279 MB / 444.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007597/0.1257, allocations: 315.6 kB / 445.1 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.156e-05/0.1258, allocations: 0 / 445.1 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000324/0.1261, allocations: 95.8 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.1263, allocations: 63.86 kB / 445.3 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.1267, allocations: 87.81 kB / 445.4 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.1268, allocations: 59.89 kB / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.127, allocations: 20.25 kB / 445.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.213e-05/0.1271, allocations: 31.78 kB / 445.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.1272, allocations: 43.89 kB / 445.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.1272, allocations: 8 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.871e-05/0.1273, allocations: 27.98 kB / 445.6 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.876e-05/0.1274, allocations: 19.92 kB / 445.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.097e-05/0.1275, allocations: 49.45 kB / 445.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.1277, allocations: 95.64 kB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1277, allocations: 0 / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1277, allocations: 3.938 kB / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1277, allocations: 0 / 445.7 MB, free: 10.37 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.0005594/0.1283, allocations: 402.9 kB / 446.1 MB, free: 9.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.1283, allocations: 12.03 kB / 446.1 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.96e-05/0.1284, allocations: 34.75 kB / 446.2 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.1284, allocations: 12.83 kB / 446.2 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.1286, allocations: 200.7 kB / 446.4 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1287, allocations: 384 / 446.4 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.1287, allocations: 4.375 kB / 446.4 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.1289, allocations: 49.62 kB / 446.4 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.1289, allocations: 0 / 446.4 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1289, allocations: 0 / 446.4 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1289, allocations: 4 kB / 446.4 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.129, allocations: 27.92 kB / 446.5 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004509/0.1295, allocations: 296.9 kB / 446.7 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.1298, allocations: 54.55 kB / 446.8 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.432e-05/0.1298, allocations: 12.86 kB / 446.8 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.1299, allocations: 0 / 446.8 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.1299, allocations: 38.59 kB / 446.8 MB, free: 9.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.1299, allocations: 0 / 446.8 MB, free: 9.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006499/0.1306, allocations: 169.2 kB / 447 MB, free: 8.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.1306, allocations: 55.34 kB / 447.1 MB, free: 8.836 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.1309, allocations: 231.1 kB / 447.3 MB, free: 8.602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.1309, allocations: 25.7 kB / 447.3 MB, free: 8.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.958e-05/0.131, allocations: 108 kB / 447.4 MB, free: 8.461 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.131, allocations: 15.75 kB / 447.4 MB, free: 8.445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.1311, allocations: 13.72 kB / 447.5 MB, free: 8.426 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1312, allocations: 326.8 kB / 447.8 MB, free: 8.098 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.054e-05/0.1313, allocations: 23.98 kB / 447.8 MB, free: 8.074 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.018e-05/0.1314, allocations: 27.98 kB / 447.8 MB, free: 8.047 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.1315, allocations: 64.81 kB / 447.9 MB, free: 7.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1316, allocations: 0 / 447.9 MB, free: 7.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002134/0.1318, allocations: 93.58 kB / 448 MB, free: 7.883 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1318, allocations: 7.938 kB / 448 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1318, allocations: 7.938 kB / 448 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1318, allocations: 0 / 448 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.102e-05/0.1319, allocations: 15.98 kB / 448 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1319, allocations: 0 / 448 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.132, allocations: 12.23 kB / 448 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.132, allocations: 7.938 kB / 448 MB, free: 7.832 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 0.0001238/0.1321, allocations: 121.8 kB / 448.1 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.1322, allocations: 19.8 kB / 448.2 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.1324, allocations: 110.6 kB / 448.3 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.1325, allocations: 4 kB / 448.3 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1325, allocations: 3.938 kB / 448.3 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1325, allocations: 0 / 448.3 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005496/0.133, allocations: 366.5 kB / 448.6 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.1331, allocations: 4 kB / 448.6 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.399e-05/0.1331, allocations: 12 kB / 448.7 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.1331, allocations: 4 kB / 448.7 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1331, allocations: 4 kB / 448.7 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.1332, allocations: 3.938 kB / 448.7 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1332, allocations: 0 / 448.7 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.1335, allocations: 195.4 kB / 448.9 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.928e-05/0.1335, allocations: 93.19 kB / 448.9 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.1336, allocations: 0 / 448.9 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.96e-05/0.1336, allocations: 11.94 kB / 449 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.1337, allocations: 11.97 kB / 449 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.1337, allocations: 0 / 449 MB, free: 6.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.1339, allocations: 171.2 kB / 449.1 MB, free: 6.605 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1339, allocations: 4 kB / 449.1 MB, free: 6.602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.1341, allocations: 12 kB / 449.2 MB, free: 6.59 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.001449/0.1356, allocations: 1.037 MB / 450.2 MB, free: 5.566 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.1358, allocations: 55.95 kB / 450.2 MB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1358, allocations: 0 / 450.2 MB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.964e-05/0.136, allocations: 39.92 kB / 450.3 MB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.1363, allocations: 23.91 kB / 450.3 MB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.1384, allocations: 1.646 MB / 452 MB, free: 3.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.1388, allocations: 0.7118 MB / 452.7 MB, free: 2.992 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.286e-05/0.1388, allocations: 15.98 kB / 452.7 MB, free: 2.977 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.491e-05/0.1389, allocations: 27.44 kB / 452.7 MB, free: 2.949 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1389, allocations: 0 / 452.7 MB, free: 2.949 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01364/0.1526, allocations: 2.411 MB / 455.1 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002554/0.1529, allocations: 237.9 kB / 455.4 MB, free: 284 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/1.858, allocations: 0 / 455.4 MB, free: 284 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches