Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19",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.001043/0.001043, allocations: 112.3 kB / 17.33 MB, free: 5.672 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.001187/0.001187, allocations: 193.3 kB / 18.25 MB, free: 4.977 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.36/1.36, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.261/0.261, allocations: 44.18 MB / 336.3 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.00131, allocations: 64.75 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1254, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.003451/0.1289, allocations: 1.618 MB / 470.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1305, allocations: 0.996 MB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.283e-05/0.1306, allocations: 4 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.131, allocations: 23.84 kB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003754/0.1314, allocations: 43.78 kB / 471.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005612/0.132, allocations: 98.83 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.1323, allocations: 51.91 kB / 471.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.1325, allocations: 11.98 kB / 471.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.813e-05/0.1325, allocations: 27.86 kB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.1328, allocations: 27.84 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.1328, allocations: 4 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001942/0.133, allocations: 51.97 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.524e-05/0.1331, allocations: 15.92 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.909e-05/0.1332, allocations: 19.88 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.1334, allocations: 88.05 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1334, allocations: 0 / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.1335, allocations: 0 / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.1335, allocations: 0 / 471.9 MB, free: 11.53 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.0006536/0.1341, allocations: 379.2 kB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.1342, allocations: 12.03 kB / 472.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.426e-05/0.1343, allocations: 34.75 kB / 472.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/0.1343, allocations: 12.84 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.1346, allocations: 192.2 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1346, allocations: 384 / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.1346, allocations: 384 / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.1348, allocations: 71.28 kB / 472.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.1349, allocations: 0 / 472.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.1349, allocations: 3.938 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.1349, allocations: 0 / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.135, allocations: 27.97 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.1355, allocations: 276.9 kB / 472.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.1358, allocations: 42.56 kB / 472.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.624e-05/0.1358, allocations: 20.88 kB / 472.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.1359, allocations: 4 kB / 472.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.1359, allocations: 34.56 kB / 473 MB, free: 10.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1359, allocations: 0 / 473 MB, free: 10.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006265/0.1365, allocations: 145.3 kB / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.1366, allocations: 81.11 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.1368, allocations: 139 kB / 473.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.1368, allocations: 25.7 kB / 473.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.1369, allocations: 96.08 kB / 473.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.1369, allocations: 19.78 kB / 473.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.1369, allocations: 17.72 kB / 473.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1371, allocations: 322.8 kB / 473.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.446e-05/0.1372, allocations: 19.98 kB / 473.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.964e-05/0.1372, allocations: 37.7 kB / 473.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.1374, allocations: 52.95 kB / 473.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1374, allocations: 4 kB / 473.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001944/0.1376, allocations: 93.5 kB / 474 MB, free: 9.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1376, allocations: 4 kB / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1376, allocations: 0 / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1377, allocations: 0 / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.783e-05/0.1377, allocations: 20.02 kB / 474 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.1377, allocations: 3.984 kB / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.36e-05/0.1378, allocations: 4 kB / 474 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.1378, allocations: 3.938 kB / 474 MB, free: 9.125 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.421e-05/0.1379, allocations: 117.8 kB / 474.2 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.1379, allocations: 7.906 kB / 474.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.1382, allocations: 97.56 kB / 474.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1382, allocations: 0 / 474.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1382, allocations: 7.938 kB / 474.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1382, allocations: 0 / 474.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004515/0.1387, allocations: 350.5 kB / 474.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1387, allocations: 0 / 474.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.829e-05/0.1388, allocations: 15.92 kB / 474.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1388, allocations: 0 / 474.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1388, allocations: 8 kB / 474.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.1388, allocations: 3.938 kB / 474.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1388, allocations: 4 kB / 474.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.1391, allocations: 175.6 kB / 474.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.1391, allocations: 85.36 kB / 474.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.1392, allocations: 4 kB / 474.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.908e-05/0.1392, allocations: 15.92 kB / 474.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.1393, allocations: 4 kB / 474.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.1393, allocations: 7.984 kB / 474.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.873e-05/0.1394, allocations: 106.4 kB / 475 MB, free: 8.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1394, allocations: 0 / 475 MB, free: 8.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002863/0.1397, allocations: 20 kB / 475.1 MB, free: 8.012 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.001526/0.1412, allocations: 1.056 MB / 476.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002399/0.1415, allocations: 63.89 kB / 476.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1415, allocations: 0 / 476.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.745e-05/0.1416, allocations: 23.98 kB / 476.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.142, allocations: 19.92 kB / 476.2 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.144, allocations: 1.421 MB / 477.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.1444, allocations: 0.6885 MB / 478.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.939e-05/0.1445, allocations: 16.05 kB / 478.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.974e-05/0.1445, allocations: 31.36 kB / 478.4 MB, free: 4.742 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1445, allocations: 0 / 478.4 MB, free: 4.742 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01529/0.1598, allocations: 2.599 MB / 481 MB, free: 2.23 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/0.1601, allocations: 237.7 kB / 481.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.066/2.226, allocations: 3.938 kB / 481.2 MB, free: 1.969 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches