Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",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.001008/0.001008, allocations: 96.02 kB / 17.35 MB, free: 6.367 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.001119/0.00112, allocations: 176.1 kB / 18.25 MB, free: 5.523 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.324/1.324, allocations: 223.2 MB / 242.3 MB, free: 14.47 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.1858/0.1858, allocations: 44.25 MB / 337.7 MB, free: 2.418 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004808/0.0004809, allocations: 8 kB / 410.4 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1391, allocations: 61.93 MB / 472.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.001925/0.141, allocations: 1.278 MB / 473.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008163/0.1419, allocations: 395.4 kB / 474 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.926e-05/0.1419, allocations: 4 kB / 474 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.1422, allocations: 19.92 kB / 474 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.1423, allocations: 31.91 kB / 474.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.1427, allocations: 102.2 kB / 474.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.1428, allocations: 55.78 kB / 474.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.1429, allocations: 8 kB / 474.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.437e-05/0.143, allocations: 15.92 kB / 474.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.609e-05/0.143, allocations: 19.86 kB / 474.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.143, allocations: 4 kB / 474.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.036e-05/0.1431, allocations: 31.92 kB / 474.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.751e-05/0.1432, allocations: 11.94 kB / 474.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.748e-05/0.1432, allocations: 45.56 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.1435, allocations: 76.06 kB / 474.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1435, allocations: 0 / 474.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1435, allocations: 0 / 474.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1435, allocations: 0 / 474.4 MB, free: 11.1 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00045/0.144, allocations: 371.2 kB / 474.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.144, allocations: 15.97 kB / 474.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.925e-05/0.1441, allocations: 38.75 kB / 474.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.527e-05/0.1441, allocations: 8.844 kB / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.1443, allocations: 188.2 kB / 475 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-06/0.1443, allocations: 4.312 kB / 475 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.1443, allocations: 4.375 kB / 475 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.1445, allocations: 49.62 kB / 475.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1445, allocations: 0 / 475.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1445, allocations: 4 kB / 475.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1445, allocations: 0 / 475.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.386e-05/0.1446, allocations: 35.97 kB / 475.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.145, allocations: 276.9 kB / 475.4 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.1452, allocations: 50.5 kB / 475.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.173e-05/0.1453, allocations: 20.94 kB / 475.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.1453, allocations: 0 / 475.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.1454, allocations: 30.56 kB / 475.5 MB, free: 9.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1454, allocations: 4 kB / 475.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005976/0.146, allocations: 169.2 kB / 475.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.146, allocations: 55.41 kB / 475.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.1462, allocations: 152.2 kB / 475.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.1462, allocations: 29.7 kB / 475.9 MB, free: 9.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/0.1463, allocations: 92.14 kB / 476 MB, free: 9.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.1463, allocations: 19.73 kB / 476 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.1463, allocations: 17.7 kB / 476 MB, free: 9.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1465, allocations: 322.7 kB / 476.3 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.572e-05/0.1466, allocations: 23.98 kB / 476.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.032e-05/0.1466, allocations: 31.97 kB / 476.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.1468, allocations: 64.77 kB / 476.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1468, allocations: 0 / 476.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002031/0.147, allocations: 97.77 kB / 476.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.147, allocations: 4 kB / 476.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.147, allocations: 0 / 476.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.1471, allocations: 3.984 kB / 476.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.492e-05/0.1471, allocations: 12 kB / 476.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1472, allocations: 0 / 476.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.799e-05/0.1472, allocations: 15.92 kB / 476.6 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.1472, allocations: 4 kB / 476.6 MB, free: 8.699 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 (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 9.623e-05/0.1473, allocations: 117.8 kB / 476.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.1474, allocations: 7.906 kB / 476.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002443/0.1476, allocations: 106.2 kB / 476.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1476, allocations: 0 / 476.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.1476, allocations: 7.984 kB / 476.8 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1476, allocations: 7.875 kB / 476.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/0.1481, allocations: 362.4 kB / 477.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1481, allocations: 0 / 477.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.793e-05/0.1482, allocations: 16 kB / 477.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1482, allocations: 0 / 477.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.1482, allocations: 11.94 kB / 477.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1482, allocations: 3.984 kB / 477.2 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1482, allocations: 0 / 477.2 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.1485, allocations: 183.4 kB / 477.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.221e-05/0.1486, allocations: 89.03 kB / 477.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.1486, allocations: 8.188 kB / 477.5 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.737e-05/0.1487, allocations: 8 kB / 477.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.1487, allocations: 7.984 kB / 477.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.1487, allocations: 0 / 477.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001001/0.1488, allocations: 123.2 kB / 477.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1488, allocations: 0 / 477.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.1491, allocations: 20 kB / 477.7 MB, free: 7.535 MB / 350.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.001446/0.1505, allocations: 1.012 MB / 478.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002104/0.1507, allocations: 59.84 kB / 478.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1508, allocations: 4 kB / 478.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.604e-05/0.1509, allocations: 36.11 kB / 478.8 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.1512, allocations: 19.22 kB / 478.8 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.1529, allocations: 1.507 MB / 480.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.1533, allocations: 0.7004 MB / 481 MB, free: 4.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.091e-05/0.1533, allocations: 11.98 kB / 481 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.302e-05/0.1534, allocations: 23.44 kB / 481 MB, free: 4.195 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1534, allocations: 0 / 481 MB, free: 4.195 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.014/0.1674, allocations: 2.123 MB / 483.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/0.1677, allocations: 235.8 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/1.914, allocations: 0 / 483.4 MB, free: 1.922 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches