Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test12",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.001361/0.001361, allocations: 99.91 kB / 15.98 MB, free: 6.352 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.00144/0.001441, allocations: 197.3 kB / 16.91 MB, free: 6.191 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.411/1.411, allocations: 205.1 MB / 222.8 MB, free: 4.711 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.3375/0.3375, allocations: 43.49 MB / 313.6 MB, free: 8.531 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.001514/0.001514, allocations: 63.91 kB / 382.3 MB, free: 8.535 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1184, allocations: 57.78 MB / 440.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test12): time 0.003543/0.122, allocations: 1.614 MB / 441.7 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000646/0.1227, allocations: 315.6 kB / 442 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.849e-05/0.1228, allocations: 7.938 kB / 442 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.1231, allocations: 23.91 kB / 442.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.1233, allocations: 31.92 kB / 442.1 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.1236, allocations: 87.83 kB / 442.2 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.1237, allocations: 59.83 kB / 442.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1238, allocations: 12.27 kB / 442.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.124, allocations: 27.84 kB / 442.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.919e-05/0.124, allocations: 15.94 kB / 442.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.124, allocations: 8 kB / 442.3 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.233e-05/0.1241, allocations: 27.98 kB / 442.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.414e-05/0.1242, allocations: 19.92 kB / 442.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.176e-05/0.1243, allocations: 23.8 kB / 442.4 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.1244, allocations: 79.73 kB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.1244, allocations: 0 / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1245, allocations: 3.938 kB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.902e-06/0.1245, allocations: 0 / 442.4 MB, free: 12.29 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.0004889/0.125, allocations: 383 kB / 442.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.125, allocations: 15.89 kB / 442.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.755e-05/0.1251, allocations: 38.75 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.1251, allocations: 8.844 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.1253, allocations: 192.2 kB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1254, allocations: 384 / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.1254, allocations: 8.375 kB / 443.1 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1256, allocations: 57.61 kB / 443.1 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1256, allocations: 3.938 kB / 443.1 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1256, allocations: 4 kB / 443.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1256, allocations: 0 / 443.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.1257, allocations: 23.98 kB / 443.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004079/0.1261, allocations: 284.8 kB / 443.4 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.1264, allocations: 50.48 kB / 443.5 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.939e-05/0.1264, allocations: 16.86 kB / 443.5 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.1265, allocations: 4 kB / 443.5 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.1265, allocations: 34.64 kB / 443.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1265, allocations: 0 / 443.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005657/0.1271, allocations: 145.6 kB / 443.7 MB, free: 10.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.1271, allocations: 51.41 kB / 443.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.1273, allocations: 165.8 kB / 443.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.1273, allocations: 25.7 kB / 443.9 MB, free: 10.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.1274, allocations: 100.1 kB / 444 MB, free: 10.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.1274, allocations: 15.75 kB / 444 MB, free: 10.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.1274, allocations: 17.72 kB / 444.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1276, allocations: 326.8 kB / 444.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.863e-05/0.1276, allocations: 23.92 kB / 444.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.769e-05/0.1277, allocations: 23.97 kB / 444.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.1278, allocations: 52.83 kB / 444.5 MB, free: 10.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1279, allocations: 0 / 444.5 MB, free: 10.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001853/0.128, allocations: 93.5 kB / 444.6 MB, free: 9.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1281, allocations: 4 kB / 444.6 MB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1281, allocations: 3.938 kB / 444.6 MB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1281, allocations: 0 / 444.6 MB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.795e-05/0.1282, allocations: 15.98 kB / 444.6 MB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1282, allocations: 4 kB / 444.6 MB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.896e-05/0.1282, allocations: 7.984 kB / 444.6 MB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.1282, allocations: 4.188 kB / 444.6 MB, free: 9.895 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.0001444/0.1284, allocations: 117.8 kB / 444.7 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.1284, allocations: 7.906 kB / 444.7 MB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.1287, allocations: 101.9 kB / 444.8 MB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1287, allocations: 8 kB / 444.8 MB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1287, allocations: 0 / 444.8 MB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1287, allocations: 0 / 444.8 MB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004035/0.1291, allocations: 354.4 kB / 445.2 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1291, allocations: 0 / 445.2 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.407e-05/0.1292, allocations: 19.92 kB / 445.2 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1292, allocations: 0 / 445.2 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.1292, allocations: 0 / 445.2 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1292, allocations: 7.938 kB / 445.2 MB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1292, allocations: 0 / 445.2 MB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.1294, allocations: 183.4 kB / 445.4 MB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.812e-05/0.1295, allocations: 81.11 kB / 445.5 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.1295, allocations: 0 / 445.5 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.459e-05/0.1296, allocations: 7.938 kB / 445.5 MB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.1297, allocations: 7.984 kB / 445.5 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.1297, allocations: 8 kB / 445.5 MB, free: 8.898 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.555e-05/0.1298, allocations: 126.5 kB / 445.6 MB, free: 8.777 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1298, allocations: 0 / 445.6 MB, free: 8.777 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.13, allocations: 19.91 kB / 445.6 MB, free: 8.758 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.001346/0.1314, allocations: 1.026 MB / 446.7 MB, free: 7.738 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.1316, allocations: 51.97 kB / 446.7 MB, free: 7.688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1316, allocations: 3.938 kB / 446.7 MB, free: 7.684 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.537e-05/0.1317, allocations: 27.97 kB / 446.7 MB, free: 7.656 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.1321, allocations: 23.08 kB / 446.8 MB, free: 7.637 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.1338, allocations: 1.492 MB / 448.3 MB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.1342, allocations: 0.6924 MB / 449 MB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.456e-05/0.1343, allocations: 23.92 kB / 449 MB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.1343, allocations: 27.42 kB / 449 MB, free: 5.293 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1343, allocations: 0 / 449 MB, free: 5.293 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2215/0.3558, allocations: 2.402 MB / 451.4 MB, free: 2.871 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/0.356, allocations: 236.3 kB / 451.6 MB, free: 2.613 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.106/2.462, allocations: 0 / 451.6 MB, free: 2.613 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches