Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",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.001727/0.001727, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.00298/0.002981, allocations: 194 kB / 18.12 MB, free: 5.363 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.554/1.554, allocations: 222.9 MB / 241.8 MB, free: 15.57 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.2438/0.2438, allocations: 44.17 MB / 336.1 MB, free: 3.043 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 65.34 kB / 407.8 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1285, allocations: 60.83 MB / 468.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003419/0.1319, allocations: 1.671 MB / 470.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009509/0.1329, allocations: 419.3 kB / 470.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.89e-05/0.133, allocations: 7.938 kB / 470.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003599/0.1334, allocations: 91.8 kB / 470.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.1337, allocations: 63.86 kB / 470.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003865/0.1341, allocations: 95.81 kB / 471 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.1343, allocations: 95.73 kB / 471.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.1345, allocations: 32.16 kB / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.52e-05/0.1346, allocations: 35.91 kB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.1347, allocations: 67.73 kB / 471.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.1348, allocations: 4 kB / 471.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.1349, allocations: 35.97 kB / 471.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.416e-05/0.135, allocations: 31.92 kB / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.929e-05/0.1351, allocations: 39.62 kB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.1353, allocations: 123.6 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1353, allocations: 0 / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1353, allocations: 0 / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1353, allocations: 0 / 471.4 MB, free: 11.96 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005456/0.1359, allocations: 419 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.136, allocations: 12.03 kB / 471.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.273e-05/0.136, allocations: 34.75 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.1361, allocations: 24.73 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.1363, allocations: 204.1 kB / 472.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1363, allocations: 12.31 kB / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.1363, allocations: 4.375 kB / 472.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.1365, allocations: 69.61 kB / 472.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1365, allocations: 7.906 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1365, allocations: 4 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1366, allocations: 0 / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.1367, allocations: 43.95 kB / 472.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.1372, allocations: 348.6 kB / 472.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.1373, allocations: 62.55 kB / 472.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.665e-05/0.1374, allocations: 20.86 kB / 472.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.1374, allocations: 12.12 kB / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.1375, allocations: 38.56 kB / 472.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.1375, allocations: 0 / 472.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001152/0.1386, allocations: 334.8 kB / 473 MB, free: 10.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.1387, allocations: 55.41 kB / 473.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.1389, allocations: 227.2 kB / 473.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.139, allocations: 25.7 kB / 473.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.202e-05/0.139, allocations: 120 kB / 473.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.1391, allocations: 47.3 kB / 473.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.1392, allocations: 29.7 kB / 473.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1393, allocations: 326.8 kB / 473.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.1394, allocations: 52.09 kB / 473.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.508e-05/0.1395, allocations: 43.97 kB / 473.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.1397, allocations: 104.8 kB / 474 MB, free: 9.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1397, allocations: 3.938 kB / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002696/0.14, allocations: 147.4 kB / 474.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.14, allocations: 7.938 kB / 474.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.1401, allocations: 15.92 kB / 474.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.1401, allocations: 4 kB / 474.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.1402, allocations: 23.98 kB / 474.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1402, allocations: 0 / 474.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.73e-05/0.1403, allocations: 8 kB / 474.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.1403, allocations: 4 kB / 474.3 MB, free: 8.891 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 (13): * Single equations (assignments): 13 * 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.0001017/0.1404, allocations: 133.8 kB / 474.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.131e-05/0.1404, allocations: 15.81 kB / 474.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000366/0.1408, allocations: 191.8 kB / 474.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1408, allocations: 4 kB / 474.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1408, allocations: 0 / 474.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1408, allocations: 0 / 474.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006265/0.1415, allocations: 0.4912 MB / 475.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.1415, allocations: 3.984 kB / 475.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.127e-05/0.1416, allocations: 23.98 kB / 475.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.1416, allocations: 4 kB / 475.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1416, allocations: 4 kB / 475.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1416, allocations: 3.984 kB / 475.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.1416, allocations: 4 kB / 475.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.142, allocations: 266.8 kB / 475.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.142, allocations: 85.02 kB / 475.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.142, allocations: 3.984 kB / 475.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.673e-05/0.1421, allocations: 8 kB / 475.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.1422, allocations: 7.984 kB / 475.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-06/0.1422, allocations: 4 kB / 475.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.1423, allocations: 175.2 kB / 475.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1423, allocations: 0 / 475.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1426, allocations: 27.98 kB / 475.7 MB, free: 7.348 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 (13): * Single equations (assignments): 13 * 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.001494/0.1441, allocations: 1.142 MB / 476.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.1444, allocations: 107.9 kB / 476.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1444, allocations: 4 kB / 476.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.1445, allocations: 67.89 kB / 477 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.1449, allocations: 15.88 kB / 477 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.1469, allocations: 1.915 MB / 478.9 MB, free: 4.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.1472, allocations: 0.7277 MB / 479.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.827e-05/0.1473, allocations: 28.53 kB / 479.7 MB, free: 3.391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.36e-05/0.1474, allocations: 39.42 kB / 479.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1474, allocations: 3.938 kB / 479.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01351/0.1609, allocations: 3.272 MB / 483 MB, free: 172 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002686/0.1612, allocations: 232.5 kB / 483.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/1.979, allocations: 0 / 483.2 MB, free: 15.91 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches