Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",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.001288/0.001288, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001016/0.001016, 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.331/1.331, allocations: 222.9 MB / 241.8 MB, free: 13.84 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.2443/0.2443, allocations: 44.17 MB / 336.1 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 64.22 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1389, allocations: 60.81 MB / 468.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.005249/0.1442, allocations: 1.632 MB / 470.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.1453, allocations: 407.3 kB / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.794e-05/0.1454, allocations: 3.938 kB / 470.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003416/0.1458, allocations: 75.83 kB / 470.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.146, allocations: 55.89 kB / 470.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.1464, allocations: 75.84 kB / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.1467, allocations: 67.88 kB / 470.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.1468, allocations: 20.11 kB / 470.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.411e-05/0.1469, allocations: 31.86 kB / 471 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.147, allocations: 55.81 kB / 471 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.1471, allocations: 4 kB / 471 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.1472, allocations: 35.98 kB / 471.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.444e-05/0.1473, allocations: 23.91 kB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.779e-05/0.1473, allocations: 27.81 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.1476, allocations: 103.9 kB / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1476, allocations: 0 / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.917e-06/0.1476, allocations: 0 / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.1477, allocations: 3.938 kB / 471.2 MB, free: 12.12 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006427/0.1483, allocations: 399.1 kB / 471.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.1484, allocations: 12.03 kB / 471.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.574e-05/0.1484, allocations: 38.75 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/0.1485, allocations: 8.844 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.1488, allocations: 196.1 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.1488, allocations: 4.375 kB / 471.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.1488, allocations: 8.031 kB / 471.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.149, allocations: 53.69 kB / 471.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.1491, allocations: 3.938 kB / 471.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1491, allocations: 0 / 471.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.1491, allocations: 7.984 kB / 471.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.1492, allocations: 23.98 kB / 472 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.1497, allocations: 292.8 kB / 472.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.1499, allocations: 46.5 kB / 472.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.232e-05/0.1499, allocations: 24.94 kB / 472.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.15, allocations: 0 / 472.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.15, allocations: 34.56 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.15, allocations: 0 / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001153/0.1512, allocations: 221.1 kB / 472.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.1512, allocations: 55.34 kB / 472.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.1515, allocations: 206.2 kB / 472.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.1515, allocations: 37.64 kB / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.411e-05/0.1516, allocations: 104 kB / 473 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/0.1517, allocations: 23.66 kB / 473 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.1517, allocations: 21.78 kB / 473 MB, free: 10.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1519, allocations: 318.8 kB / 473.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.2e-05/0.152, allocations: 31.95 kB / 473.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.526e-05/0.1521, allocations: 27.98 kB / 473.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.1522, allocations: 64.77 kB / 473.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1523, allocations: 0 / 473.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002319/0.1525, allocations: 93.48 kB / 473.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.1525, allocations: 8 kB / 473.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1525, allocations: 4 kB / 473.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1526, allocations: 0 / 473.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.1527, allocations: 19.98 kB / 473.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.1527, allocations: 3.938 kB / 473.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.073e-05/0.1527, allocations: 7.984 kB / 473.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/0.1528, allocations: 7.938 kB / 473.6 MB, free: 9.527 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 (8): * Single equations (assignments): 8 * 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.0001344/0.1529, allocations: 125.8 kB / 473.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.1529, allocations: 11.91 kB / 473.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002934/0.1532, allocations: 114.7 kB / 473.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.1533, allocations: 0 / 473.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.1533, allocations: 3.938 kB / 473.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.1533, allocations: 432 / 473.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006235/0.1539, allocations: 411.3 kB / 474.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.1539, allocations: 3.938 kB / 474.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.589e-05/0.154, allocations: 19.92 kB / 474.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.154, allocations: 4 kB / 474.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.154, allocations: 4 kB / 474.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.154, allocations: 0 / 474.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.154, allocations: 3.984 kB / 474.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.1543, allocations: 204.3 kB / 474.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.814e-05/0.1544, allocations: 88.95 kB / 474.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.1544, allocations: 0 / 474.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/0.1545, allocations: 11.98 kB / 474.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.1546, allocations: 7.938 kB / 474.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.1546, allocations: 11.94 kB / 474.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.1548, allocations: 155.2 kB / 474.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1548, allocations: 0 / 474.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.155, allocations: 27.98 kB / 474.8 MB, free: 8.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.00175/0.1568, allocations: 1.084 MB / 475.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.157, allocations: 59.91 kB / 475.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.157, allocations: 0 / 475.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.244e-05/0.1571, allocations: 43.98 kB / 476 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.1575, allocations: 25.75 kB / 476 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.1596, allocations: 1.649 MB / 477.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.16, allocations: 0.7041 MB / 478.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.633e-05/0.16, allocations: 8.656 kB / 478.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.694e-05/0.1601, allocations: 35.42 kB / 478.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1601, allocations: 4 kB / 478.4 MB, free: 4.664 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.175, allocations: 2.787 MB / 481.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/0.1753, allocations: 237.4 kB / 481.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/2.161, allocations: 0 / 481.4 MB, free: 1.711 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches