Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2",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.001107/0.001107, allocations: 101.7 kB / 16.27 MB, free: 5.969 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.001054/0.001054, allocations: 187.8 kB / 17.19 MB, free: 5.605 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.433/1.433, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2122/0.2122, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.00142/0.00142, allocations: 68.14 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1238, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002551/0.1264, allocations: 1.543 MB / 442.2 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005162/0.1269, allocations: 323.5 kB / 442.5 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.909e-05/0.127, allocations: 0 / 442.5 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002353/0.1273, allocations: 27.84 kB / 442.5 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.1274, allocations: 35.84 kB / 442.5 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.1277, allocations: 67.78 kB / 442.6 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.1278, allocations: 51.91 kB / 442.7 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1279, allocations: 15.98 kB / 442.7 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.963e-05/0.1279, allocations: 15.94 kB / 442.7 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.39e-05/0.128, allocations: 23.86 kB / 442.7 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.128, allocations: 0 / 442.7 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.987e-05/0.1281, allocations: 35.97 kB / 442.8 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.08e-05/0.1282, allocations: 15.88 kB / 442.8 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.1282, allocations: 19.86 kB / 442.8 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.1283, allocations: 67.8 kB / 442.9 MB, free: 4.555 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1283, allocations: 0 / 442.9 MB, free: 4.555 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1284, allocations: 0 / 442.9 MB, free: 4.555 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1284, allocations: 0 / 442.9 MB, free: 4.555 MB / 318.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.0004624/0.1288, allocations: 379.2 kB / 443.2 MB, free: 4.137 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.1289, allocations: 11.89 kB / 443.2 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.784e-05/0.1289, allocations: 38.73 kB / 443.3 MB, free: 4.078 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.129, allocations: 4.844 kB / 443.3 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.1291, allocations: 187.5 kB / 443.5 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.331e-06/0.1291, allocations: 4.375 kB / 443.5 MB, free: 3.852 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.1291, allocations: 8.312 kB / 443.5 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.1293, allocations: 49.62 kB / 443.5 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1293, allocations: 7.984 kB / 443.5 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1293, allocations: 0 / 443.5 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.1293, allocations: 0 / 443.5 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.991e-05/0.1294, allocations: 23.98 kB / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002868/0.1297, allocations: 280.8 kB / 443.8 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.1299, allocations: 46.5 kB / 443.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.518e-05/0.13, allocations: 16.84 kB / 443.9 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.13, allocations: 4 kB / 443.9 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.303e-05/0.13, allocations: 34.5 kB / 443.9 MB, free: 3.312 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.13, allocations: 0 / 443.9 MB, free: 3.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005062/0.1305, allocations: 129.5 kB / 444.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/0.1306, allocations: 63.39 kB / 444.1 MB, free: 3.105 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.914e-05/0.1307, allocations: 138.1 kB / 444.2 MB, free: 2.957 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.1307, allocations: 25.7 kB / 444.3 MB, free: 2.926 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.93e-05/0.1307, allocations: 96.05 kB / 444.4 MB, free: 2.828 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.1308, allocations: 19.73 kB / 444.4 MB, free: 2.809 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.1308, allocations: 13.72 kB / 444.4 MB, free: 2.789 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.106e-05/0.1309, allocations: 326.8 kB / 444.7 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.267e-05/0.1309, allocations: 19.98 kB / 444.7 MB, free: 2.441 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.241e-05/0.131, allocations: 19.98 kB / 444.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.1311, allocations: 44.78 kB / 444.8 MB, free: 2.375 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1311, allocations: 0 / 444.8 MB, free: 2.375 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001498/0.1313, allocations: 85.56 kB / 444.9 MB, free: 2.285 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1313, allocations: 5.25 kB / 444.9 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1313, allocations: 0 / 444.9 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.1313, allocations: 4 kB / 444.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.571e-05/0.1314, allocations: 11.94 kB / 444.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1314, allocations: 4 kB / 444.9 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.458e-05/0.1314, allocations: 3.984 kB / 444.9 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.1314, allocations: 7.938 kB / 444.9 MB, free: 2.25 MB / 318.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 6.107e-05/0.1315, allocations: 121.7 kB / 445 MB, free: 2.121 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.1315, allocations: 4 kB / 445 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.1318, allocations: 90.19 kB / 445.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1318, allocations: 8 kB / 445.1 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1318, allocations: 0 / 445.1 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1318, allocations: 3.984 kB / 445.1 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.1321, allocations: 346.4 kB / 445.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1321, allocations: 0 / 445.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.587e-05/0.1322, allocations: 12 kB / 445.5 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1322, allocations: 4 kB / 445.5 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.1322, allocations: 0 / 445.5 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1322, allocations: 3.938 kB / 445.5 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.1322, allocations: 3.984 kB / 445.5 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.1324, allocations: 171.4 kB / 445.7 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.316e-05/0.1324, allocations: 81.11 kB / 445.8 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.1324, allocations: 4 kB / 445.8 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.181e-05/0.1325, allocations: 15.86 kB / 445.8 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.1325, allocations: 0 / 445.8 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.1325, allocations: 8 kB / 445.8 MB, free: 1.289 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.256e-05/0.1326, allocations: 111.2 kB / 445.9 MB, free: 1.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1326, allocations: 3.938 kB / 445.9 MB, free: 1.176 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002314/0.1328, allocations: 12 kB / 445.9 MB, free: 1.164 MB / 318.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.001076/0.1339, allocations: 1.003 MB / 446.9 MB, free: 232 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.1341, allocations: 51.89 kB / 447 MB, free: 180 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1341, allocations: 0 / 447 MB, free: 180 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.298e-05/0.1342, allocations: 23.98 kB / 447 MB, free: 156 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.1346, allocations: 21.97 kB / 447 MB, free: 136 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.1361, allocations: 1.403 MB / 448.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.1365, allocations: 0.6963 MB / 449.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.747e-05/0.1366, allocations: 8.234 kB / 449.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.022e-05/0.1366, allocations: 19.44 kB / 449.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1366, allocations: 0 / 449.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0206/0.1573, allocations: 2.39 MB / 451.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.723/7.881, allocations: 8.047 kB / 451.5 MB, free: 11.48 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches