Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",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.001309/0.001309, allocations: 108.6 kB / 17.21 MB, free: 6.273 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.001369/0.001369, allocations: 194 kB / 18.12 MB, free: 5.363 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.553/1.553, allocations: 222.9 MB / 241.8 MB, free: 13.64 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.2663/0.2663, allocations: 44.16 MB / 336.1 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 73.09 kB / 407.8 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1387, allocations: 60.82 MB / 468.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003507/0.1422, allocations: 1.633 MB / 470.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.1439, allocations: 0.9881 MB / 471.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.694e-05/0.144, allocations: 0 / 471.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.1442, allocations: 11.94 kB / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.1445, allocations: 39.84 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.1448, allocations: 79.83 kB / 471.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.145, allocations: 55.84 kB / 471.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1451, allocations: 12 kB / 471.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.398e-05/0.1451, allocations: 27.84 kB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.1453, allocations: 23.86 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.1453, allocations: 0 / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.1455, allocations: 47.97 kB / 471.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.546e-05/0.1455, allocations: 15.92 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.052e-05/0.1456, allocations: 15.88 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.1458, allocations: 88.05 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1458, allocations: 0 / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.1458, allocations: 0 / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1458, allocations: 0 / 471.7 MB, free: 11.66 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.0005302/0.1464, allocations: 383.3 kB / 472 MB, free: 11.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.1464, allocations: 11.97 kB / 472 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.545e-05/0.1465, allocations: 30.75 kB / 472.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.1465, allocations: 8.844 kB / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.1467, allocations: 191.3 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.1468, allocations: 4.375 kB / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.1468, allocations: 4.375 kB / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.1469, allocations: 63.34 kB / 472.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.147, allocations: 0 / 472.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.147, allocations: 0 / 472.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.147, allocations: 0 / 472.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.1471, allocations: 27.91 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.1475, allocations: 272.9 kB / 472.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.1477, allocations: 46.55 kB / 472.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.061e-05/0.1478, allocations: 12.86 kB / 472.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.1478, allocations: 4 kB / 472.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.1478, allocations: 42.5 kB / 472.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1478, allocations: 0 / 472.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005553/0.1484, allocations: 133.4 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.1485, allocations: 77.11 kB / 472.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.1486, allocations: 137.8 kB / 473.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.1486, allocations: 25.7 kB / 473.1 MB, free: 10 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.099e-05/0.1487, allocations: 100.1 kB / 473.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.1487, allocations: 11.81 kB / 473.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.1488, allocations: 21.72 kB / 473.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.149, allocations: 322.8 kB / 473.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.152e-05/0.149, allocations: 19.98 kB / 473.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.138e-05/0.1491, allocations: 29.7 kB / 473.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.1492, allocations: 48.86 kB / 473.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1493, allocations: 0 / 473.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001847/0.1494, allocations: 85.45 kB / 473.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1495, allocations: 4 kB / 473.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1495, allocations: 4 kB / 473.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1495, allocations: 3.938 kB / 473.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.428e-05/0.1496, allocations: 11.98 kB / 473.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.1496, allocations: 0 / 473.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.3e-05/0.1497, allocations: 11.98 kB / 473.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.1497, allocations: 3.938 kB / 473.8 MB, free: 9.301 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 0.0001105/0.1498, allocations: 113.8 kB / 473.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.1499, allocations: 7.906 kB / 473.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.1501, allocations: 93.56 kB / 474 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1501, allocations: 288 / 474 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1502, allocations: 0 / 474 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1502, allocations: 4 kB / 474 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/0.1506, allocations: 346.8 kB / 474.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.1506, allocations: 3.984 kB / 474.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.209e-05/0.1507, allocations: 8 kB / 474.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.1507, allocations: 0 / 474.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.1507, allocations: 7.984 kB / 474.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1507, allocations: 7.875 kB / 474.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1507, allocations: 0 / 474.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.1509, allocations: 179.4 kB / 474.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.15e-05/0.151, allocations: 81.02 kB / 474.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.151, allocations: 0 / 474.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.1511, allocations: 11.92 kB / 474.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.1511, allocations: 4 kB / 474.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.1512, allocations: 0 / 474.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.272e-05/0.1512, allocations: 111.2 kB / 474.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1513, allocations: 0 / 474.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.1515, allocations: 20 kB / 474.7 MB, free: 8.215 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.001564/0.1531, allocations: 1.056 MB / 475.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.1533, allocations: 43.97 kB / 475.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1533, allocations: 0 / 475.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.697e-05/0.1534, allocations: 31.92 kB / 475.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.1538, allocations: 21.75 kB / 475.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.1554, allocations: 1.383 MB / 477.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.1557, allocations: 0.6888 MB / 478 MB, free: 5.035 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.346e-05/0.1558, allocations: 12.36 kB / 478 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.871e-05/0.1558, allocations: 23.42 kB / 478 MB, free: 5 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1558, allocations: 0 / 478 MB, free: 5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01494/0.1708, allocations: 2.525 MB / 480.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00039/0.1712, allocations: 248.4 kB / 480.8 MB, free: 2.305 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/1.984, allocations: 0 / 480.8 MB, free: 2.305 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches