Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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 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.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001777/0.001777, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001491/0.001491, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.483/1.483, allocations: 222.9 MB / 242.3 MB, free: 15.23 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.2122/0.2122, allocations: 44.19 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 72.08 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1197, allocations: 60.81 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003404/0.1231, allocations: 1.584 MB / 470.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000801/0.1239, allocations: 399.3 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.485e-05/0.124, allocations: 0 / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.1243, allocations: 103.6 kB / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.1246, allocations: 67.8 kB / 471.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.125, allocations: 95.14 kB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.1251, allocations: 71.88 kB / 471.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.1253, allocations: 20.17 kB / 471.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.467e-05/0.1254, allocations: 39.83 kB / 471.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.1255, allocations: 47.84 kB / 471.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.1255, allocations: 4 kB / 471.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.1257, allocations: 51.91 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.676e-05/0.1257, allocations: 23.86 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.404e-05/0.1258, allocations: 27.75 kB / 471.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.126, allocations: 107.9 kB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.126, allocations: 0 / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.126, allocations: 0 / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.126, allocations: 4 kB / 472 MB, free: 11.66 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.0005385/0.1266, allocations: 407 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1266, allocations: 12.03 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.037e-05/0.1267, allocations: 34.73 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.1267, allocations: 8.844 kB / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.1269, allocations: 202.6 kB / 472.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.127, allocations: 8.344 kB / 472.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.127, allocations: 12.12 kB / 472.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.1271, allocations: 49.69 kB / 472.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1272, allocations: 0 / 472.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1272, allocations: 4 kB / 472.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1272, allocations: 7.938 kB / 472.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.875e-05/0.1273, allocations: 27.95 kB / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.1277, allocations: 296.7 kB / 473 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.1278, allocations: 46.56 kB / 473.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.875e-05/0.1279, allocations: 12.86 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.1279, allocations: 4.078 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.128, allocations: 38.56 kB / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.128, allocations: 0 / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008746/0.1288, allocations: 213.1 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.1289, allocations: 67.27 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.1291, allocations: 222.7 kB / 473.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.1291, allocations: 25.7 kB / 473.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.214e-05/0.1292, allocations: 112.1 kB / 473.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.1293, allocations: 31.55 kB / 473.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.1293, allocations: 21.72 kB / 473.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1294, allocations: 322.8 kB / 474.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.896e-05/0.1295, allocations: 23.98 kB / 474.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.412e-05/0.1296, allocations: 23.98 kB / 474.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.1297, allocations: 60.83 kB / 474.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1297, allocations: 0 / 474.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002106/0.13, allocations: 105.5 kB / 474.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.13, allocations: 8 kB / 474.3 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.13, allocations: 7.938 kB / 474.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.13, allocations: 3.938 kB / 474.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.585e-05/0.1301, allocations: 15.98 kB / 474.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.1301, allocations: 7.938 kB / 474.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.863e-05/0.1302, allocations: 0 / 474.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.1302, allocations: 4 kB / 474.4 MB, free: 9.02 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.436e-05/0.1303, allocations: 133.8 kB / 474.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.1303, allocations: 11.81 kB / 474.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002557/0.1306, allocations: 119.3 kB / 474.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1306, allocations: 7.938 kB / 474.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1306, allocations: 3.938 kB / 474.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1306, allocations: 432 / 474.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005056/0.1311, allocations: 407.3 kB / 475 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1312, allocations: 3.938 kB / 475 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.735e-05/0.1312, allocations: 19.98 kB / 475.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1312, allocations: 0 / 475.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.1313, allocations: 0 / 475.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1313, allocations: 0 / 475.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1313, allocations: 4 kB / 475.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.1315, allocations: 212.1 kB / 475.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/0.1316, allocations: 88.95 kB / 475.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.1316, allocations: 4 kB / 475.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.1317, allocations: 3.984 kB / 475.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.1317, allocations: 4 kB / 475.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.1317, allocations: 8 kB / 475.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001704/0.1319, allocations: 176.7 kB / 475.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1319, allocations: 0 / 475.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.1322, allocations: 20 kB / 475.6 MB, free: 7.711 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.001405/0.1336, allocations: 1.093 MB / 476.7 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.1338, allocations: 67.95 kB / 476.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1338, allocations: 0 / 476.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.233e-05/0.1339, allocations: 39.91 kB / 476.8 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.1343, allocations: 12 kB / 476.8 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.136, allocations: 1.666 MB / 478.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.1363, allocations: 0.7041 MB / 479.2 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.053e-05/0.1364, allocations: 20.64 kB / 479.2 MB, free: 4.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.861e-05/0.1365, allocations: 31.44 kB / 479.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1365, allocations: 0 / 479.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.1553, allocations: 3.02 MB / 482.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.993/8.148, allocations: 4.234 kB / 482.2 MB, free: 1.164 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches