Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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 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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_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.001243/0.001243, allocations: 96.14 kB / 15.87 MB, free: 16 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.001275/0.001275, allocations: 202.9 kB / 16.79 MB, free: 6.84 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.359/1.359, allocations: 205.1 MB / 222.6 MB, free: 4.77 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.3675/0.3675, allocations: 43.5 MB / 313.5 MB, free: 8.547 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.001478/0.001478, allocations: 70.56 kB / 382.1 MB, free: 8.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1267, allocations: 57.78 MB / 439.9 MB, free: 14.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test6): time 0.003624/0.1304, allocations: 1.645 MB / 441.6 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007658/0.1312, allocations: 331.6 kB / 441.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.207e-05/0.1313, allocations: 0 / 441.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.1317, allocations: 87.8 kB / 442 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.132, allocations: 67.8 kB / 442 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.1323, allocations: 87.89 kB / 442.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.1325, allocations: 79.75 kB / 442.2 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.1327, allocations: 24.39 kB / 442.2 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.153e-05/0.1327, allocations: 35.89 kB / 442.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.1329, allocations: 51.83 kB / 442.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.1329, allocations: 4 kB / 442.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.133, allocations: 35.91 kB / 442.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.946e-05/0.1331, allocations: 23.92 kB / 442.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.94e-05/0.1331, allocations: 31.75 kB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.1333, allocations: 103.6 kB / 442.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1334, allocations: 3.938 kB / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1334, allocations: 4 kB / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1334, allocations: 0 / 442.5 MB, free: 12.16 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005395/0.1339, allocations: 411 kB / 442.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.134, allocations: 8.031 kB / 442.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.817e-05/0.134, allocations: 42.73 kB / 443 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.1341, allocations: 12.75 kB / 443 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.1343, allocations: 208.8 kB / 443.2 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1343, allocations: 4.375 kB / 443.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.1343, allocations: 8.125 kB / 443.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.1345, allocations: 75.39 kB / 443.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.1346, allocations: 3.906 kB / 443.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.1346, allocations: 4 kB / 443.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1346, allocations: 7.938 kB / 443.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.1347, allocations: 35.91 kB / 443.3 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000516/0.1352, allocations: 397 kB / 443.7 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.1355, allocations: 89.16 kB / 443.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.588e-05/0.1356, allocations: 29.8 kB / 443.8 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.1357, allocations: 4 kB / 443.8 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/0.1357, allocations: 34.5 kB / 443.9 MB, free: 10.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1357, allocations: 0 / 443.9 MB, free: 10.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007627/0.1365, allocations: 241.2 kB / 444.1 MB, free: 10.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.1366, allocations: 89.05 kB / 444.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.1368, allocations: 230.3 kB / 444.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1368, allocations: 29.7 kB / 444.4 MB, free: 10 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.1369, allocations: 108.1 kB / 444.5 MB, free: 9.895 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.1369, allocations: 35.53 kB / 444.6 MB, free: 9.859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.137, allocations: 21.72 kB / 444.6 MB, free: 9.832 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1371, allocations: 322.8 kB / 444.9 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.398e-05/0.1372, allocations: 31.97 kB / 444.9 MB, free: 9.477 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.724e-05/0.1373, allocations: 57.62 kB / 445 MB, free: 9.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.1375, allocations: 81.69 kB / 445.1 MB, free: 9.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.1375, allocations: 3.938 kB / 445.1 MB, free: 9.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002451/0.1377, allocations: 121.5 kB / 445.2 MB, free: 9.199 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1378, allocations: 8 kB / 445.2 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.1378, allocations: 4 kB / 445.2 MB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1378, allocations: 0 / 445.2 MB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.653e-05/0.1379, allocations: 27.92 kB / 445.2 MB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.1379, allocations: 3.938 kB / 445.2 MB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.445e-05/0.138, allocations: 7.984 kB / 445.2 MB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.138, allocations: 4 kB / 445.2 MB, free: 9.145 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.687e-05/0.1381, allocations: 133.8 kB / 445.4 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.1381, allocations: 19.84 kB / 445.4 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003028/0.1385, allocations: 158.8 kB / 445.6 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1385, allocations: 0 / 445.6 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1385, allocations: 3.938 kB / 445.6 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1385, allocations: 0 / 445.6 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005876/0.1391, allocations: 0.5025 MB / 446.1 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1391, allocations: 3.938 kB / 446.1 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.221e-05/0.1392, allocations: 23.92 kB / 446.1 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1392, allocations: 0 / 446.1 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1392, allocations: 8 kB / 446.1 MB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1392, allocations: 0 / 446.1 MB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1392, allocations: 0 / 446.1 MB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.1395, allocations: 303.4 kB / 446.4 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.1395, allocations: 88.95 kB / 446.5 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.1396, allocations: 4 kB / 446.5 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.1397, allocations: 7.984 kB / 446.5 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.1397, allocations: 4 kB / 446.5 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.1397, allocations: 4 kB / 446.5 MB, free: 7.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.1399, allocations: 180.2 kB / 446.7 MB, free: 7.594 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1399, allocations: 0 / 446.7 MB, free: 7.594 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002901/0.1402, allocations: 16 kB / 446.7 MB, free: 7.578 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001296/0.1415, allocations: 1.138 MB / 447.8 MB, free: 6.445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.1417, allocations: 79.89 kB / 447.9 MB, free: 6.367 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1417, allocations: 0 / 447.9 MB, free: 6.367 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.744e-05/0.1418, allocations: 47.91 kB / 448 MB, free: 6.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.1423, allocations: 23.78 kB / 448 MB, free: 6.297 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.1442, allocations: 1.884 MB / 449.9 MB, free: 4.324 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.1445, allocations: 0.7122 MB / 450.6 MB, free: 3.586 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.769e-05/0.1446, allocations: 32.39 kB / 450.6 MB, free: 3.555 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.963e-05/0.1447, allocations: 35.42 kB / 450.6 MB, free: 3.52 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1447, allocations: 4 kB / 450.6 MB, free: 3.516 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01366/0.1583, allocations: 2.91 MB / 453.6 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/0.1586, allocations: 226.8 kB / 453.8 MB, free: 344 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/1.891, allocations: 0 / 453.8 MB, free: 344 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches