Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",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.001227/0.001227, allocations: 105.5 kB / 17.63 MB, free: 5.344 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.00119/0.00119, allocations: 192 kB / 18.56 MB, free: 4.434 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.398/1.398, allocations: 222.9 MB / 242.3 MB, free: 15.17 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.2161/0.2161, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 70.89 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1165, allocations: 60.81 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003137/0.1197, allocations: 1.584 MB / 470.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007661/0.1205, allocations: 411.3 kB / 471.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.169e-05/0.1206, allocations: 0 / 471.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.1208, allocations: 71.72 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.1211, allocations: 71.73 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.1215, allocations: 114.4 kB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.1217, allocations: 75.88 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1218, allocations: 16.17 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.39e-05/0.1219, allocations: 35.84 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.122, allocations: 51.88 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.122, allocations: 0 / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.1221, allocations: 51.92 kB / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.75e-05/0.1222, allocations: 19.92 kB / 471.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.1223, allocations: 35.73 kB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.1224, allocations: 95.92 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1225, allocations: 4 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1225, allocations: 0 / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1225, 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.0004612/0.1229, allocations: 403 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.123, allocations: 12.03 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.051e-05/0.123, allocations: 42.73 kB / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.1231, allocations: 8.844 kB / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.1233, allocations: 196.1 kB / 472.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.1233, allocations: 384 / 472.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.1233, allocations: 20.02 kB / 472.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.1235, allocations: 49.69 kB / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1235, allocations: 0 / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.1235, allocations: 0 / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1235, allocations: 4 kB / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.877e-05/0.1236, allocations: 31.95 kB / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000392/0.124, allocations: 304.7 kB / 473 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.1241, allocations: 42.55 kB / 473.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.826e-05/0.1242, allocations: 16.86 kB / 473.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.1242, allocations: 8 kB / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.1242, allocations: 30.56 kB / 473.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1242, allocations: 0 / 473.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009022/0.1252, allocations: 233.1 kB / 473.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.1252, allocations: 59.34 kB / 473.4 MB, free: 10 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.1254, allocations: 210.2 kB / 473.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.1254, allocations: 25.7 kB / 473.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.1255, allocations: 104 kB / 473.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.1255, allocations: 31.7 kB / 473.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.1256, allocations: 21.72 kB / 473.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1257, allocations: 322.8 kB / 474.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.716e-05/0.1258, allocations: 35.97 kB / 474.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.045e-05/0.1259, allocations: 27.98 kB / 474.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.1261, allocations: 72.81 kB / 474.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1261, allocations: 0 / 474.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000223/0.1263, allocations: 117.6 kB / 474.3 MB, free: 9.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1263, allocations: 7.938 kB / 474.4 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1263, allocations: 0 / 474.4 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1264, allocations: 4 kB / 474.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.1265, allocations: 19.98 kB / 474.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1265, allocations: 3.938 kB / 474.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.25e-05/0.1265, allocations: 8 kB / 474.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.1265, allocations: 0 / 474.4 MB, free: 8.965 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 9.11e-05/0.1266, allocations: 125.8 kB / 474.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.1267, allocations: 8.328 kB / 474.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002838/0.127, allocations: 142.3 kB / 474.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.127, allocations: 0 / 474.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.127, allocations: 7.875 kB / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.127, allocations: 3.984 kB / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000532/0.1275, allocations: 411.2 kB / 475.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1276, allocations: 7.969 kB / 475.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.861e-05/0.1276, allocations: 19.98 kB / 475.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1276, allocations: 0 / 475.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.1277, allocations: 4 kB / 475.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.1277, allocations: 4 kB / 475.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1277, allocations: 3.984 kB / 475.1 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.128, allocations: 216.2 kB / 475.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.246e-05/0.128, allocations: 84.95 kB / 475.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.128, allocations: 8 kB / 475.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.1281, allocations: 7.984 kB / 475.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.1282, allocations: 0 / 475.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.1282, allocations: 4 kB / 475.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.1283, allocations: 155.2 kB / 475.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1283, allocations: 0 / 475.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000261/0.1286, allocations: 23.98 kB / 475.6 MB, free: 7.641 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.00146/0.1301, allocations: 1.109 MB / 476.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002429/0.1303, allocations: 79.89 kB / 476.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1303, allocations: 0 / 476.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.882e-05/0.1304, allocations: 39.97 kB / 476.8 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.1308, allocations: 24.05 kB / 476.9 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.1327, allocations: 1.668 MB / 478.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.133, allocations: 0.7041 MB / 479.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.185e-05/0.1331, allocations: 20.95 kB / 479.2 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.21e-05/0.1332, allocations: 31.44 kB / 479.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1332, allocations: 0 / 479.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.1514, allocations: 2.998 MB / 482.3 MB, free: 1.082 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.586/7.737, allocations: 11.86 kB / 482.3 MB, free: 1.07 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches