Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24",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.001115/0.001115, 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.001172/0.001172, 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.352/1.352, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2081/0.2081, allocations: 44.18 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 61.75 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1196, allocations: 60.83 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.003123/0.1228, allocations: 1.564 MB / 470.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.1243, allocations: 1.016 MB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.83e-05/0.1244, allocations: 0 / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.1247, allocations: 23.84 kB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.1249, allocations: 51.7 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.1252, allocations: 114.9 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.1253, allocations: 51.91 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1254, allocations: 12 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.704e-05/0.1255, allocations: 19.92 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.1257, allocations: 27.84 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.1257, allocations: 8 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.1259, allocations: 55.91 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.267e-05/0.126, allocations: 15.92 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.338e-05/0.126, allocations: 15.88 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.1263, allocations: 92.05 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1263, allocations: 0 / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1263, allocations: 3.938 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1263, allocations: 0 / 472.4 MB, free: 11.2 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005761/0.1269, allocations: 378.2 kB / 472.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.127, allocations: 8.031 kB / 472.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.13e-05/0.127, allocations: 38.75 kB / 472.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.1271, allocations: 4.844 kB / 472.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.1273, allocations: 192.1 kB / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.1273, allocations: 4.375 kB / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.1273, allocations: 4.375 kB / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.1275, allocations: 63.33 kB / 473.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1275, allocations: 3.938 kB / 473.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.1275, allocations: 4 kB / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.1275, allocations: 8 kB / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.29e-05/0.1276, allocations: 19.98 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.1281, allocations: 280.8 kB / 473.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.1283, allocations: 42.56 kB / 473.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.38e-05/0.1283, allocations: 24.94 kB / 473.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.1284, allocations: 0 / 473.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.1284, allocations: 30.56 kB / 473.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1284, allocations: 0 / 473.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005527/0.129, allocations: 149.3 kB / 473.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.129, allocations: 77.11 kB / 473.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.1292, allocations: 144 kB / 473.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.1292, allocations: 25.7 kB / 473.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/0.1293, allocations: 96.06 kB / 474 MB, free: 9.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.1293, allocations: 15.8 kB / 474 MB, free: 9.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.1293, allocations: 21.66 kB / 474 MB, free: 9.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1295, allocations: 322.8 kB / 474.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.446e-05/0.1296, allocations: 19.98 kB / 474.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.957e-05/0.1297, allocations: 41.69 kB / 474.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.1298, allocations: 57.02 kB / 474.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.1298, allocations: 0 / 474.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002036/0.13, allocations: 77.58 kB / 474.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.13, allocations: 8 kB / 474.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1301, allocations: 0 / 474.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1301, allocations: 8.016 kB / 474.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.47e-05/0.1301, allocations: 11.94 kB / 474.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1302, allocations: 0 / 474.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.738e-05/0.1302, allocations: 11.98 kB / 474.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.1302, allocations: 7.938 kB / 474.6 MB, free: 8.801 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 (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 9.048e-05/0.1303, allocations: 113.8 kB / 474.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.1304, allocations: 3.906 kB / 474.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.1306, allocations: 109.8 kB / 474.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1306, allocations: 0 / 474.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1306, allocations: 0 / 474.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1307, allocations: 7.922 kB / 474.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004351/0.1311, allocations: 354.4 kB / 475.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1311, allocations: 0 / 475.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-05/0.1312, allocations: 15.98 kB / 475.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1312, allocations: 4 kB / 475.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1312, allocations: 0 / 475.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1312, allocations: 4.125 kB / 475.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1312, allocations: 4 kB / 475.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.1314, allocations: 183.4 kB / 475.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/0.1315, allocations: 85.02 kB / 475.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.1315, allocations: 0 / 475.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.377e-05/0.1316, allocations: 11.94 kB / 475.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.1317, allocations: 7.984 kB / 475.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.1317, allocations: 0 / 475.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.76e-05/0.1317, allocations: 103.3 kB / 475.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1318, allocations: 0 / 475.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.132, allocations: 24 kB / 475.6 MB, free: 7.684 MB / 350.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.001506/0.1335, allocations: 1.045 MB / 476.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.1338, allocations: 55.95 kB / 476.7 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.1338, allocations: 4 kB / 476.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.1339, allocations: 27.92 kB / 476.7 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.1343, allocations: 23.8 kB / 476.7 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.1359, allocations: 1.397 MB / 478.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.1362, allocations: 0.6923 MB / 478.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.766e-05/0.1363, allocations: 20.05 kB / 478.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.596e-05/0.1363, allocations: 19.44 kB / 478.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1363, allocations: 0 / 478.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/0.1634, allocations: 2.695 MB / 481.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.65/7.813, allocations: 3.984 kB / 481.6 MB, free: 1.812 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches