Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test12",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.0009957/0.0009958, allocations: 96.08 kB / 16.02 MB, free: 84 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.001207/0.001207, allocations: 184.4 kB / 16.91 MB, free: 6.914 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.538/1.538, allocations: 205.4 MB / 223.1 MB, free: 5.492 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.3845/0.3845, allocations: 43.57 MB / 315 MB, free: 8.789 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.0005937/0.000594, allocations: 12 kB / 384.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1447, allocations: 58.86 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002799/0.1476, allocations: 1.275 MB / 444.8 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000837/0.1484, allocations: 307.6 kB / 445.1 MB, free: 11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.279e-05/0.1486, allocations: 4 kB / 445.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.1489, allocations: 27.91 kB / 445.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.1491, allocations: 27.91 kB / 445.2 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.1494, allocations: 63.88 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.1496, allocations: 51.91 kB / 445.3 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.1498, allocations: 16.25 kB / 445.3 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.267e-05/0.1498, allocations: 27.8 kB / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.565e-05/0.1499, allocations: 11.92 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.15, allocations: 0 / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.1501, allocations: 31.98 kB / 445.4 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.877e-05/0.1502, allocations: 7.938 kB / 445.4 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.884e-05/0.1502, allocations: 53.48 kB / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.1505, allocations: 75.73 kB / 445.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1505, allocations: 0 / 445.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1505, allocations: 0 / 445.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1505, allocations: 0 / 445.5 MB, free: 10.6 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.0005542/0.1511, allocations: 387.1 kB / 445.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.1511, allocations: 11.97 kB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.901e-05/0.1512, allocations: 30.75 kB / 445.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.1512, allocations: 8.844 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.1515, allocations: 192.2 kB / 446.1 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1515, allocations: 4.375 kB / 446.1 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.1515, allocations: 4.281 kB / 446.1 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.1517, allocations: 61.61 kB / 446.2 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1517, allocations: 0 / 446.2 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1517, allocations: 0 / 446.2 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.1518, allocations: 4 kB / 446.2 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.1519, allocations: 35.91 kB / 446.2 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.1523, allocations: 272.9 kB / 446.5 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.1525, allocations: 46.56 kB / 446.5 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.089e-05/0.1526, allocations: 20.86 kB / 446.6 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.1526, allocations: 0 / 446.6 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.1527, allocations: 38.59 kB / 446.6 MB, free: 9.332 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1527, allocations: 0 / 446.6 MB, free: 9.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006374/0.1533, allocations: 153.3 kB / 446.8 MB, free: 9.176 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.1534, allocations: 59.34 kB / 446.8 MB, free: 9.105 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.1536, allocations: 170.5 kB / 447 MB, free: 8.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.1536, allocations: 25.7 kB / 447 MB, free: 8.898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.514e-05/0.1537, allocations: 92.14 kB / 447.1 MB, free: 8.805 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.1538, allocations: 19.73 kB / 447.1 MB, free: 8.785 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-05/0.1538, allocations: 13.72 kB / 447.1 MB, free: 8.766 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002156/0.1541, allocations: 318.8 kB / 447.4 MB, free: 8.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-05/0.1542, allocations: 27.98 kB / 447.5 MB, free: 8.418 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.335e-05/0.1542, allocations: 15.98 kB / 447.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.1544, allocations: 56.83 kB / 447.5 MB, free: 8.344 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1544, allocations: 0 / 447.5 MB, free: 8.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002401/0.1547, allocations: 93.52 kB / 447.6 MB, free: 8.246 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.1547, allocations: 4 kB / 447.6 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.1547, allocations: 3.938 kB / 447.6 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.1548, allocations: 3.984 kB / 447.6 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.353e-05/0.1548, allocations: 12 kB / 447.6 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.1548, allocations: 0 / 447.6 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.933e-05/0.1549, allocations: 19.89 kB / 447.7 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.1549, allocations: 7.938 kB / 447.7 MB, free: 8.195 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.0001031/0.155, allocations: 113.8 kB / 447.8 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.1551, allocations: 7.906 kB / 447.8 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002826/0.1554, allocations: 101.9 kB / 447.9 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1554, allocations: 0 / 447.9 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.1554, allocations: 320 / 447.9 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.1554, allocations: 11.92 kB / 447.9 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005063/0.1559, allocations: 354.5 kB / 448.3 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1559, allocations: 4 kB / 448.3 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.577e-05/0.156, allocations: 11.98 kB / 448.3 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.156, allocations: 4 kB / 448.3 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.156, allocations: 0 / 448.3 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.156, allocations: 3.938 kB / 448.3 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/0.1561, allocations: 3.938 kB / 448.3 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.1563, allocations: 183.4 kB / 448.5 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-05/0.1564, allocations: 89 kB / 448.5 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.1564, allocations: 4 kB / 448.5 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.971e-05/0.1565, allocations: 7.938 kB / 448.6 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.1566, allocations: 7.984 kB / 448.6 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.1566, allocations: 0 / 448.6 MB, free: 7.199 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.1567, allocations: 134.7 kB / 448.7 MB, free: 7.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1567, allocations: 0 / 448.7 MB, free: 7.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000257/0.157, allocations: 16 kB / 448.7 MB, free: 7.055 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.001639/0.1586, allocations: 1.023 MB / 449.7 MB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.1589, allocations: 55.95 kB / 449.8 MB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1589, allocations: 0 / 449.8 MB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.686e-05/0.159, allocations: 35.92 kB / 449.8 MB, free: 5.957 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.1594, allocations: 15.94 kB / 449.8 MB, free: 5.941 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.1614, allocations: 1.483 MB / 451.3 MB, free: 4.375 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.1618, allocations: 0.6926 MB / 452 MB, free: 3.656 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.084e-05/0.1618, allocations: 20.05 kB / 452 MB, free: 3.637 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.774e-05/0.1619, allocations: 23.44 kB / 452.1 MB, free: 3.613 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1619, allocations: 0 / 452.1 MB, free: 3.613 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01294/0.1748, allocations: 2.151 MB / 454.2 MB, free: 1.457 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/0.1751, allocations: 240.5 kB / 454.4 MB, free: 1.195 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/2.033, allocations: 0 / 454.4 MB, free: 1.195 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches