Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4",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.0008746/0.0008748, allocations: 96.94 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.0009711/0.0009712, allocations: 184.9 kB / 16.92 MB, free: 6.934 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.78/1.78, allocations: 205.4 MB / 223.1 MB, free: 5.531 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.3743/0.3743, allocations: 43.57 MB / 315 MB, free: 8.805 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.0005097/0.0005097, allocations: 12.56 kB / 384.7 MB, free: 7.562 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.123, allocations: 58.87 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.00201/0.125, allocations: 1.291 MB / 444.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006264/0.1257, allocations: 319.7 kB / 445.2 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.722e-05/0.1258, allocations: 0 / 445.2 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.126, allocations: 99.73 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001599/0.1262, allocations: 55.88 kB / 445.3 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.1265, allocations: 91.81 kB / 445.4 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.1266, allocations: 75.81 kB / 445.5 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.665e-05/0.1267, allocations: 32.36 kB / 445.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.901e-05/0.1268, allocations: 27.92 kB / 445.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.1269, allocations: 55.81 kB / 445.6 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.1269, allocations: 3.938 kB / 445.6 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.706e-05/0.127, allocations: 31.98 kB / 445.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.082e-05/0.1271, allocations: 19.92 kB / 445.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.166e-05/0.1272, allocations: 65.38 kB / 445.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.1273, allocations: 95.62 kB / 445.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1273, allocations: 8 kB / 445.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1273, allocations: 0 / 445.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1273, allocations: 0 / 445.8 MB, free: 10.32 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004427/0.1278, allocations: 395.1 kB / 446.2 MB, free: 9.883 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1278, allocations: 12.03 kB / 446.2 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.208e-05/0.1279, allocations: 38.75 kB / 446.2 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.1279, allocations: 12.75 kB / 446.2 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.1281, allocations: 200.8 kB / 446.4 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.1281, allocations: 4.375 kB / 446.4 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.1282, allocations: 16.12 kB / 446.5 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.1283, allocations: 75.38 kB / 446.5 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1283, allocations: 0 / 446.5 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1284, allocations: 7.938 kB / 446.5 MB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1284, allocations: 0 / 446.5 MB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.1285, allocations: 35.97 kB / 446.6 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004606/0.129, allocations: 404.9 kB / 447 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.1292, allocations: 97.14 kB / 447.1 MB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.044e-05/0.1293, allocations: 33.8 kB / 447.1 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.1294, allocations: 3.984 kB / 447.1 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.1294, allocations: 34.5 kB / 447.1 MB, free: 8.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.1294, allocations: 0 / 447.1 MB, free: 8.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007533/0.1302, allocations: 252.8 kB / 447.4 MB, free: 8.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.1302, allocations: 92.98 kB / 447.5 MB, free: 8.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.1304, allocations: 230.3 kB / 447.7 MB, free: 8.184 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1305, allocations: 29.7 kB / 447.7 MB, free: 8.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.1305, allocations: 112 kB / 447.8 MB, free: 8.035 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.1306, allocations: 27.56 kB / 447.9 MB, free: 8.008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.1306, allocations: 17.7 kB / 447.9 MB, free: 7.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1307, allocations: 326.8 kB / 448.2 MB, free: 7.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.36e-05/0.1308, allocations: 35.98 kB / 448.2 MB, free: 7.621 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.513e-05/0.1309, allocations: 53.62 kB / 448.3 MB, free: 7.562 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.1312, allocations: 93.61 kB / 448.4 MB, free: 7.465 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1312, allocations: 4 kB / 448.4 MB, free: 7.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002479/0.1314, allocations: 133.5 kB / 448.5 MB, free: 7.324 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1315, allocations: 4 kB / 448.5 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1315, allocations: 256 / 448.5 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1315, allocations: 3.984 kB / 448.5 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.322e-05/0.1316, allocations: 31.94 kB / 448.6 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1316, allocations: 7.922 kB / 448.6 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.371e-05/0.1317, allocations: 8 kB / 448.6 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.1317, allocations: 0 / 448.6 MB, free: 7.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.834e-05/0.1318, allocations: 133.8 kB / 448.7 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.1318, allocations: 15.81 kB / 448.7 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003258/0.1322, allocations: 159.1 kB / 448.9 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1322, allocations: 0 / 448.9 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.1322, allocations: 3.938 kB / 448.9 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1322, allocations: 4 kB / 448.9 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006079/0.1328, allocations: 0.5141 MB / 449.4 MB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1328, allocations: 3.938 kB / 449.4 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.043e-05/0.1329, allocations: 27.98 kB / 449.4 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1329, allocations: 0 / 449.4 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.1329, allocations: 3.938 kB / 449.4 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.1329, allocations: 4 kB / 449.4 MB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.133, allocations: 8.016 kB / 449.4 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.1333, allocations: 303.4 kB / 449.7 MB, free: 6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.1333, allocations: 97.12 kB / 449.8 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.1334, allocations: 8 kB / 449.8 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.1335, allocations: 8 kB / 449.9 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.238e-05/0.1336, allocations: 7.984 kB / 449.9 MB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.1336, allocations: 7.938 kB / 449.9 MB, free: 5.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.1337, allocations: 176.2 kB / 450 MB, free: 5.684 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1337, allocations: 0 / 450 MB, free: 5.684 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002937/0.134, allocations: 20 kB / 450.1 MB, free: 5.664 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001478/0.1355, allocations: 1.137 MB / 451.2 MB, free: 4.531 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002661/0.1358, allocations: 91.88 kB / 451.3 MB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1358, allocations: 0 / 451.3 MB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.1359, allocations: 56.22 kB / 451.3 MB, free: 4.387 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.1364, allocations: 23.92 kB / 451.4 MB, free: 4.363 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.1386, allocations: 1.893 MB / 453.3 MB, free: 2.379 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.139, allocations: 0.716 MB / 454 MB, free: 1.637 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.454e-05/0.1391, allocations: 24.41 kB / 454 MB, free: 1.613 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.277e-05/0.1392, allocations: 39.42 kB / 454 MB, free: 1.574 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1392, allocations: 0 / 454 MB, free: 1.574 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2014/0.3406, allocations: 2.711 MB / 456.7 MB, free: 45.59 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/0.3409, allocations: 228.7 kB / 457 MB, free: 45.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/2.071, allocations: 2.531 kB / 457 MB, free: 45.34 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches