Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.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.CombiTable1D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20",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.0008478/0.000848, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 180 kB / 16.92 MB, free: 6.922 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.778/1.778, allocations: 205.4 MB / 223.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4235/0.4235, allocations: 43.58 MB / 315 MB, free: 9.031 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.0005105/0.0005107, allocations: 16 kB / 384.7 MB, free: 7.773 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1392, allocations: 58.86 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test20): time 0.002255/0.1415, allocations: 1.279 MB / 444.8 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.143, allocations: 0.9104 MB / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.278e-05/0.1431, allocations: 0 / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.1433, allocations: 23.91 kB / 445.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.1435, allocations: 39.8 kB / 445.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.1438, allocations: 83.83 kB / 445.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.1439, allocations: 47.91 kB / 445.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.144, allocations: 16.27 kB / 445.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.089e-05/0.1441, allocations: 27.84 kB / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.1443, allocations: 23.86 kB / 446 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.1443, allocations: 0 / 446 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.1444, allocations: 47.97 kB / 446 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.1445, allocations: 15.92 kB / 446.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.156e-05/0.1445, allocations: 41.58 kB / 446.1 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.1447, allocations: 91.69 kB / 446.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1447, allocations: 0 / 446.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1447, allocations: 0 / 446.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1448, allocations: 4 kB / 446.2 MB, free: 10.15 MB / 382.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.0005732/0.1453, allocations: 367.3 kB / 446.5 MB, free: 9.742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.1454, allocations: 8.031 kB / 446.6 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.753e-05/0.1455, allocations: 38.69 kB / 446.6 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.1455, allocations: 4.844 kB / 446.6 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.1457, allocations: 188.2 kB / 446.8 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.1457, allocations: 8.375 kB / 446.8 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.1458, allocations: 384 / 446.8 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.1459, allocations: 79.31 kB / 446.9 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.146, allocations: 0 / 446.9 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.146, allocations: 0 / 446.9 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.146, allocations: 0 / 446.9 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.944e-05/0.1461, allocations: 31.92 kB / 446.9 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.1466, allocations: 288.9 kB / 447.2 MB, free: 9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.1468, allocations: 42.56 kB / 447.2 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.79e-05/0.1469, allocations: 20.94 kB / 447.2 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.1469, allocations: 0 / 447.2 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.1469, allocations: 38.5 kB / 447.3 MB, free: 8.879 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1469, allocations: 0 / 447.3 MB, free: 8.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006081/0.1476, allocations: 161.3 kB / 447.4 MB, free: 8.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.1476, allocations: 81.05 kB / 447.5 MB, free: 8.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.1478, allocations: 137.8 kB / 447.6 MB, free: 8.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.1478, allocations: 25.7 kB / 447.7 MB, free: 8.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.1479, allocations: 92.12 kB / 447.8 MB, free: 8.348 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.1479, allocations: 11.81 kB / 447.8 MB, free: 8.336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.1479, allocations: 9.719 kB / 447.8 MB, free: 8.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1481, allocations: 330.8 kB / 448.1 MB, free: 7.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.498e-05/0.1481, allocations: 23.98 kB / 448.1 MB, free: 7.965 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.247e-05/0.1482, allocations: 33.7 kB / 448.2 MB, free: 7.926 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.1484, allocations: 76.97 kB / 448.2 MB, free: 7.848 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1484, allocations: 0 / 448.2 MB, free: 7.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001891/0.1486, allocations: 93.52 kB / 448.3 MB, free: 7.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1486, allocations: 4 kB / 448.3 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1486, allocations: 3.938 kB / 448.3 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1487, allocations: 8 kB / 448.3 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.218e-05/0.1487, allocations: 11.98 kB / 448.4 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.1487, allocations: 4 kB / 448.4 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.473e-05/0.1488, allocations: 7.984 kB / 448.4 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.1488, allocations: 3.938 kB / 448.4 MB, free: 7.707 MB / 382.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.906e-05/0.1489, allocations: 113.8 kB / 448.5 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.1489, allocations: 7.906 kB / 448.5 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.1492, allocations: 109.5 kB / 448.6 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.1492, allocations: 4 kB / 448.6 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1492, allocations: 3.984 kB / 448.6 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1492, allocations: 0 / 448.6 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004257/0.1497, allocations: 362.5 kB / 449 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1497, allocations: 0 / 449 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-05/0.1497, allocations: 12 kB / 449 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1497, allocations: 4 kB / 449 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.1498, allocations: 0 / 449 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.1498, allocations: 12.05 kB / 449 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1498, allocations: 8 kB / 449 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.15, allocations: 183.4 kB / 449.2 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.966e-05/0.1501, allocations: 89 kB / 449.3 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.1501, allocations: 0 / 449.3 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.664e-05/0.1502, allocations: 19.92 kB / 449.3 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.1502, allocations: 0 / 449.3 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.1502, allocations: 4 kB / 449.3 MB, free: 6.688 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.112e-05/0.1503, allocations: 99.27 kB / 449.4 MB, free: 6.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1503, allocations: 0 / 449.4 MB, free: 6.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.1506, allocations: 27.98 kB / 449.4 MB, free: 6.562 MB / 382.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.001371/0.152, allocations: 1.079 MB / 450.5 MB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.1522, allocations: 51.97 kB / 450.5 MB, free: 5.441 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1522, allocations: 4 kB / 450.5 MB, free: 5.438 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.441e-05/0.1523, allocations: 35.92 kB / 450.6 MB, free: 5.402 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.1527, allocations: 27.52 kB / 450.6 MB, free: 5.379 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.1543, allocations: 1.428 MB / 452 MB, free: 3.867 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.1546, allocations: 0.6848 MB / 452.7 MB, free: 3.156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.074e-05/0.1547, allocations: 11.98 kB / 452.7 MB, free: 3.145 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.962e-05/0.1547, allocations: 31.42 kB / 452.8 MB, free: 3.117 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1547, allocations: 0 / 452.8 MB, free: 3.117 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.177, allocations: 2.313 MB / 455.1 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/0.1772, allocations: 239.9 kB / 455.3 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/1.943, allocations: 0 / 455.3 MB, free: 0.5352 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches