Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.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.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test11",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.00127/0.00127, allocations: 103.4 kB / 16.27 MB, free: 6.41 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.001917/0.001917, allocations: 190.5 kB / 17.2 MB, free: 5.953 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.542/1.542, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.21/0.21, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.001488/0.001488, allocations: 72.03 kB / 382.8 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09921/0.1007, allocations: 57.79 MB / 440.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.003013/0.1038, allocations: 1.547 MB / 442.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005163/0.1043, allocations: 315.5 kB / 442.5 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.795e-05/0.1044, allocations: 4 kB / 442.5 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002108/0.1046, allocations: 31.77 kB / 442.5 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.1049, allocations: 39.86 kB / 442.6 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.1051, allocations: 71.77 kB / 442.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.1052, allocations: 51.91 kB / 442.7 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1054, allocations: 11.98 kB / 442.7 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.194e-05/0.1054, allocations: 15.94 kB / 442.7 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.365e-05/0.1055, allocations: 23.84 kB / 442.7 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.1055, allocations: 0 / 442.7 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.79e-05/0.1056, allocations: 43.92 kB / 442.8 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.746e-05/0.1056, allocations: 11.94 kB / 442.8 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.1057, allocations: 23.81 kB / 442.8 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.1058, allocations: 75.77 kB / 442.9 MB, free: 4.551 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1058, allocations: 0 / 442.9 MB, free: 4.551 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1058, allocations: 0 / 442.9 MB, free: 4.551 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.1059, allocations: 0 / 442.9 MB, free: 4.551 MB / 318.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.0004056/0.1063, allocations: 387.1 kB / 443.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1063, allocations: 11.89 kB / 443.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.404e-05/0.1064, allocations: 38.75 kB / 443.3 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.1064, allocations: 8.844 kB / 443.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.1066, allocations: 191.2 kB / 443.5 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1066, allocations: 8.312 kB / 443.5 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.1066, allocations: 4.359 kB / 443.5 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.1067, allocations: 49.62 kB / 443.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.1068, allocations: 0 / 443.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.1068, allocations: 0 / 443.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1068, allocations: 0 / 443.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.115e-05/0.1069, allocations: 19.98 kB / 443.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002873/0.1072, allocations: 280.8 kB / 443.9 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.1074, allocations: 46.5 kB / 443.9 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.502e-05/0.1074, allocations: 16.94 kB / 443.9 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.1075, allocations: 0 / 443.9 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.1075, allocations: 42.5 kB / 444 MB, free: 3.301 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.1075, allocations: 0 / 444 MB, free: 3.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005159/0.108, allocations: 141.5 kB / 444.1 MB, free: 3.156 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.1081, allocations: 51.41 kB / 444.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.1082, allocations: 169.8 kB / 444.3 MB, free: 2.918 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.1082, allocations: 25.7 kB / 444.3 MB, free: 2.887 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/0.1083, allocations: 100.1 kB / 444.4 MB, free: 2.785 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.1083, allocations: 15.75 kB / 444.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.1083, allocations: 17.72 kB / 444.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.679e-05/0.1084, allocations: 326.8 kB / 444.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.41e-05/0.1085, allocations: 11.98 kB / 444.8 MB, free: 2.406 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.432e-05/0.1086, allocations: 24.11 kB / 444.8 MB, free: 2.383 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.1087, allocations: 56.83 kB / 444.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1087, allocations: 0 / 444.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001626/0.1089, allocations: 81.56 kB / 445 MB, free: 2.238 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1089, allocations: 4 kB / 445 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1089, allocations: 0 / 445 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1089, allocations: 0 / 445 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/0.109, allocations: 15.98 kB / 445 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.109, allocations: 0 / 445 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.909e-05/0.109, allocations: 8 kB / 445 MB, free: 2.211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1091, allocations: 3.938 kB / 445 MB, free: 2.207 MB / 318.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 7.951e-05/0.1091, allocations: 125.7 kB / 445.1 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.1092, allocations: 7.906 kB / 445.1 MB, free: 2.066 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.1094, allocations: 93.91 kB / 445.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1094, allocations: 4 kB / 445.2 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1094, allocations: 0 / 445.2 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1094, allocations: 4 kB / 445.2 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.1098, allocations: 350.4 kB / 445.6 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1098, allocations: 0 / 445.6 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-05/0.1098, allocations: 12.17 kB / 445.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1098, allocations: 4 kB / 445.6 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.1098, allocations: 4 kB / 445.6 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1099, allocations: 3.938 kB / 445.6 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1099, allocations: 0 / 445.6 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.11, allocations: 183.4 kB / 445.8 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.491e-05/0.1101, allocations: 81.02 kB / 445.8 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.1101, allocations: 4 kB / 445.8 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.15e-05/0.1102, allocations: 7.922 kB / 445.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.1102, allocations: 4 kB / 445.9 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.1102, allocations: 0 / 445.9 MB, free: 1.234 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.161e-05/0.1103, allocations: 136.5 kB / 446 MB, free: 1.102 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1103, allocations: 3.938 kB / 446 MB, free: 1.098 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.1105, allocations: 12 kB / 446 MB, free: 1.086 MB / 318.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.001119/0.1117, allocations: 1.005 MB / 447 MB, free: 140 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001793/0.1119, allocations: 47.91 kB / 447.1 MB, free: 92 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1119, allocations: 0 / 447.1 MB, free: 92 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.249e-05/0.1119, allocations: 23.98 kB / 447.1 MB, free: 68 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.1123, allocations: 21.23 kB / 447.1 MB, free: 52 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.114, allocations: 1.468 MB / 448.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.1143, allocations: 0.6885 MB / 449.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.487e-05/0.1144, allocations: 16.06 kB / 449.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/0.1144, allocations: 27.42 kB / 449.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1144, allocations: 0 / 449.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02048/0.1349, allocations: 2.479 MB / 451.8 MB, free: 11.24 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.142/8.277, allocations: 19.08 kB / 451.8 MB, free: 11.23 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches