Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",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.001015/0.001015, 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.001005/0.001005, allocations: 203.1 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.54/1.54, allocations: 205.1 MB / 222.6 MB, free: 4.773 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.3844/0.3844, allocations: 43.5 MB / 313.5 MB, free: 8.258 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.001529/0.001529, allocations: 67.91 kB / 382.1 MB, free: 8.406 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.122, allocations: 57.79 MB / 439.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003708/0.1257, allocations: 1.664 MB / 441.6 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007728/0.1265, allocations: 347.7 kB / 441.9 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.203e-05/0.1267, allocations: 0 / 441.9 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006088/0.1273, allocations: 447.2 kB / 442.4 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003476/0.1276, allocations: 251.5 kB / 442.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004442/0.1281, allocations: 139.7 kB / 442.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003101/0.1284, allocations: 163.7 kB / 442.9 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.1286, allocations: 28.33 kB / 442.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.1287, allocations: 107.8 kB / 443 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.129, allocations: 203.6 kB / 443.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.1291, allocations: 4 kB / 443.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.1292, allocations: 27.98 kB / 443.3 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.1293, allocations: 87.62 kB / 443.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.71e-05/0.1294, allocations: 103 kB / 443.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.1297, allocations: 251 kB / 443.7 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1297, allocations: 0 / 443.7 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1297, allocations: 0 / 443.7 MB, free: 10.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.1298, allocations: 0 / 443.7 MB, free: 10.71 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001018/0.1308, allocations: 0.6297 MB / 444.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.708e-05/0.1309, allocations: 16.02 kB / 444.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.902e-05/0.1309, allocations: 34.75 kB / 444.4 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.131, allocations: 48.38 kB / 444.4 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.1315, allocations: 300.1 kB / 444.7 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.1315, allocations: 4.375 kB / 444.7 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.1315, allocations: 4.125 kB / 444.7 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.1317, allocations: 57.67 kB / 444.8 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1317, allocations: 0 / 444.8 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.1317, allocations: 0 / 444.8 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1317, allocations: 0 / 444.8 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.1319, allocations: 27.98 kB / 444.8 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005928/0.1325, allocations: 412.5 kB / 445.2 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.1327, allocations: 46.56 kB / 445.3 MB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.754e-05/0.1328, allocations: 12.95 kB / 445.3 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.1328, allocations: 3.984 kB / 445.3 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.1329, allocations: 34.56 kB / 445.3 MB, free: 8.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.1329, allocations: 0 / 445.3 MB, free: 8.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000659/0.1335, allocations: 228 kB / 445.5 MB, free: 8.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.1336, allocations: 51.41 kB / 445.6 MB, free: 8.637 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007937/0.1344, allocations: 0.8691 MB / 446.4 MB, free: 7.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.1344, allocations: 25.7 kB / 446.5 MB, free: 7.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.1346, allocations: 232.1 kB / 446.7 MB, free: 7.496 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.1346, allocations: 11.75 kB / 446.7 MB, free: 7.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.1347, allocations: 17.72 kB / 446.7 MB, free: 7.461 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1348, allocations: 366.8 kB / 447.1 MB, free: 7.094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-05/0.1349, allocations: 23.92 kB / 447.1 MB, free: 7.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.004e-05/0.135, allocations: 19.98 kB / 447.1 MB, free: 7.051 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.1351, allocations: 56.83 kB / 447.2 MB, free: 6.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.1351, allocations: 0 / 447.2 MB, free: 6.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002096/0.1353, allocations: 125 kB / 447.3 MB, free: 6.863 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1354, allocations: 7.938 kB / 447.3 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1354, allocations: 256 / 447.3 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1354, allocations: 0 / 447.3 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.519e-05/0.1355, allocations: 23.92 kB / 447.3 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.1355, allocations: 3.938 kB / 447.3 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.469e-05/0.1355, allocations: 8 kB / 447.3 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.1355, allocations: 0 / 447.3 MB, free: 6.82 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 0.0001844/0.1357, allocations: 217.7 kB / 447.6 MB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.267e-05/0.1358, allocations: 43.44 kB / 447.6 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/0.1361, allocations: 137.4 kB / 447.7 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1361, allocations: 4 kB / 447.7 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.1361, allocations: 7.938 kB / 447.7 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1361, allocations: 3.984 kB / 447.8 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005146/0.1366, allocations: 466.4 kB / 448.2 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1366, allocations: 0 / 448.2 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.269e-05/0.1367, allocations: 15.98 kB / 448.2 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1367, allocations: 3.938 kB / 448.2 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.1367, allocations: 0 / 448.2 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1367, allocations: 0 / 448.2 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1367, allocations: 4 kB / 448.2 MB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.137, allocations: 222.9 kB / 448.4 MB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.845e-05/0.1371, allocations: 108.5 kB / 448.6 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.1371, allocations: 11.92 kB / 448.6 MB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.1372, allocations: 4.188 kB / 448.6 MB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.1372, allocations: 4 kB / 448.6 MB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.1373, allocations: 8 kB / 448.6 MB, free: 5.477 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005749/0.1378, allocations: 0.655 MB / 449.2 MB, free: 4.824 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1378, allocations: 0 / 449.2 MB, free: 4.824 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.1381, allocations: 28 kB / 449.3 MB, free: 4.797 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.001436/0.1395, allocations: 1.051 MB / 450.3 MB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.1397, allocations: 51.95 kB / 450.4 MB, free: 3.711 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1398, allocations: 0 / 450.4 MB, free: 3.711 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.362e-05/0.1398, allocations: 28.11 kB / 450.4 MB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.1403, allocations: 34.27 kB / 450.4 MB, free: 3.645 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003575/0.1439, allocations: 3.343 MB / 453.8 MB, free: 212 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2002/0.3441, allocations: 0.8216 MB / 454.6 MB, free: 48.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.3442, allocations: 14.58 kB / 454.6 MB, free: 48.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.3444, allocations: 111.2 kB / 454.7 MB, free: 48.63 MB / 382.1 MB Notification: Performance of SimCode: time 1.192e-06/0.3444, allocations: 3.656 kB / 454.7 MB, free: 48.63 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.3717, allocations: 5.722 MB / 460.4 MB, free: 48.04 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/0.3719, allocations: 238.1 kB / 460.7 MB, free: 47.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.064, allocations: 3.938 kB / 460.7 MB, free: 47.77 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches