Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",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.001601/0.001601, allocations: 104.7 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.001605/0.001605, 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.15 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.2115/0.2115, allocations: 44.18 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 65.02 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.121, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003602/0.1246, allocations: 1.564 MB / 470.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007197/0.1254, allocations: 423.2 kB / 471.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.049e-05/0.1254, allocations: 4 kB / 471.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.1256, allocations: 71.77 kB / 471.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.1258, allocations: 63.8 kB / 471.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.1261, allocations: 115.5 kB / 471.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.1262, allocations: 67.89 kB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.528e-05/0.1263, allocations: 28.14 kB / 471.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.541e-05/0.1264, allocations: 31.86 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.519e-05/0.1265, allocations: 55.81 kB / 471.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.1265, allocations: 4 kB / 471.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.371e-05/0.1266, allocations: 43.98 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.1266, allocations: 23.91 kB / 471.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.926e-05/0.1267, allocations: 31.75 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.1269, allocations: 99.94 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1269, allocations: 0 / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1269, allocations: 3.938 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1269, allocations: 0 / 472 MB, free: 11.63 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.0004669/0.1274, allocations: 403.1 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.1274, allocations: 11.97 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.727e-05/0.1275, allocations: 34.75 kB / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.1275, allocations: 12.84 kB / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.1277, allocations: 196 kB / 472.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.1277, allocations: 8.375 kB / 472.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.1277, allocations: 8.031 kB / 472.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.1279, allocations: 61.66 kB / 472.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1279, allocations: 0 / 472.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.1279, allocations: 0 / 472.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.1279, allocations: 0 / 472.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.297e-05/0.128, allocations: 23.98 kB / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.1284, allocations: 316.7 kB / 473 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.956e-05/0.1285, allocations: 38.56 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.192e-05/0.1285, allocations: 20.94 kB / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.1286, allocations: 0 / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.1286, allocations: 30.56 kB / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.325e-06/0.1286, allocations: 8 kB / 473.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008194/0.1294, allocations: 229 kB / 473.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.1295, allocations: 55.34 kB / 473.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.1296, allocations: 210.2 kB / 473.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.1297, allocations: 29.7 kB / 473.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.1297, allocations: 108 kB / 473.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.1298, allocations: 23.66 kB / 473.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.1298, allocations: 21.7 kB / 473.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1299, allocations: 318.8 kB / 474.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.092e-05/0.13, allocations: 31.97 kB / 474.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.244e-05/0.1301, allocations: 27.98 kB / 474.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.1302, allocations: 84.88 kB / 474.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1303, allocations: 4 kB / 474.2 MB, free: 9.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002078/0.1305, allocations: 109.4 kB / 474.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1305, allocations: 8 kB / 474.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-06/0.1305, allocations: 3.938 kB / 474.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.1305, allocations: 0 / 474.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.329e-05/0.1306, allocations: 19.98 kB / 474.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.1306, allocations: 7.938 kB / 474.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.1307, allocations: 7.984 kB / 474.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.1307, allocations: 4 kB / 474.4 MB, free: 8.969 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 0.0001281/0.1308, allocations: 125.8 kB / 474.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.453e-05/0.1308, allocations: 11.89 kB / 474.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.1311, allocations: 131 kB / 474.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1311, allocations: 4 kB / 474.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.1311, allocations: 7.938 kB / 474.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1311, allocations: 0 / 474.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005091/0.1317, allocations: 423.2 kB / 475.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1317, allocations: 3.938 kB / 475.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.779e-05/0.1318, allocations: 15.98 kB / 475.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.1318, allocations: 4.031 kB / 475.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.1318, allocations: 4 kB / 475.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1318, allocations: 0 / 475.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1318, allocations: 0 / 475.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.1321, allocations: 212.2 kB / 475.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.1321, allocations: 92.95 kB / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.1321, allocations: 7.984 kB / 475.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.1322, allocations: 4 kB / 475.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.1323, allocations: 7.984 kB / 475.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.1323, allocations: 4 kB / 475.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.1324, allocations: 155.2 kB / 475.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1324, allocations: 0 / 475.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.1327, allocations: 16 kB / 475.6 MB, free: 7.652 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.001485/0.1342, allocations: 1.112 MB / 476.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.1344, allocations: 79.88 kB / 476.8 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1344, allocations: 0 / 476.8 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.91e-05/0.1345, allocations: 35.98 kB / 476.8 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.1348, allocations: 23.92 kB / 476.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.1365, allocations: 1.676 MB / 478.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.1368, allocations: 0.7119 MB / 479.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.161e-05/0.1369, allocations: 16.66 kB / 479.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.018e-05/0.1369, allocations: 31.42 kB / 479.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1369, allocations: 0 / 479.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.1564, allocations: 2.993 MB / 482.3 MB, free: 1.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/7.785, allocations: 19.2 kB / 482.3 MB, free: 1.074 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches