Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",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.001115/0.001115, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001072/0.001072, allocations: 194 kB / 18.12 MB, free: 5.383 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.502/1.502, allocations: 222.9 MB / 241.8 MB, free: 13.79 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.2401/0.2401, allocations: 44.17 MB / 336.1 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 67.06 kB / 407.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1503, allocations: 60.83 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.004114/0.1545, allocations: 1.618 MB / 470.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008949/0.1554, allocations: 403.4 kB / 470.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.436e-05/0.1555, allocations: 7.938 kB / 470.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.1558, allocations: 11.94 kB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.156, allocations: 31.91 kB / 470.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.1565, allocations: 99.75 kB / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.1567, allocations: 59.78 kB / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1568, allocations: 19.92 kB / 470.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.861e-05/0.1568, allocations: 19.92 kB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.047e-05/0.1569, allocations: 23.84 kB / 470.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.1569, allocations: 4 kB / 470.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.1571, allocations: 20 kB / 470.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.346e-05/0.1571, allocations: 15.92 kB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.1572, allocations: 15.88 kB / 471 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.1574, allocations: 72.06 kB / 471 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1574, allocations: 0 / 471 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1574, allocations: 0 / 471 MB, free: 12.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1574, allocations: 0 / 471 MB, free: 12.3 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.0005635/0.158, allocations: 383.3 kB / 471.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.158, allocations: 8.031 kB / 471.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.445e-05/0.1581, allocations: 34.75 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.1581, allocations: 4.844 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.1584, allocations: 195.5 kB / 471.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1584, allocations: 8.312 kB / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.1584, allocations: 384 / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.1586, allocations: 49.62 kB / 471.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1587, allocations: 4 kB / 471.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1587, allocations: 4 kB / 471.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1587, allocations: 3.938 kB / 471.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.1588, allocations: 27.97 kB / 471.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.1593, allocations: 276.9 kB / 472 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.1595, allocations: 46.56 kB / 472.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.252e-05/0.1596, allocations: 24.88 kB / 472.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.1596, allocations: 0 / 472.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.1597, allocations: 30.56 kB / 472.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.1597, allocations: 0 / 472.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000694/0.1604, allocations: 153.2 kB / 472.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.1604, allocations: 55.41 kB / 472.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.1606, allocations: 138.1 kB / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.1607, allocations: 25.7 kB / 472.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.1607, allocations: 96.12 kB / 472.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.549e-05/0.1608, allocations: 19.73 kB / 472.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.1609, allocations: 17.72 kB / 472.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.161, allocations: 322.8 kB / 472.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.257e-05/0.1611, allocations: 23.98 kB / 472.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.656e-05/0.1611, allocations: 19.98 kB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.1613, allocations: 52.83 kB / 473 MB, free: 10.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1613, allocations: 0 / 473 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001995/0.1615, allocations: 89.44 kB / 473.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1615, allocations: 4 kB / 473.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1616, allocations: 8 kB / 473.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1616, allocations: 0 / 473.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.028e-05/0.1616, allocations: 11.98 kB / 473.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.1617, allocations: 0 / 473.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.114e-05/0.1617, allocations: 8 kB / 473.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.1617, allocations: 3.938 kB / 473.1 MB, free: 9.961 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.226e-05/0.1618, allocations: 121.8 kB / 473.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.1619, allocations: 3.906 kB / 473.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.1621, allocations: 109.8 kB / 473.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1621, allocations: 0 / 473.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.1622, allocations: 320 / 473.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1622, allocations: 0 / 473.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004916/0.1627, allocations: 354.5 kB / 473.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1627, allocations: 0 / 473.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.87e-05/0.1627, allocations: 19.92 kB / 473.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1627, allocations: 4 kB / 473.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.1628, allocations: 288 / 473.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1628, allocations: 3.938 kB / 473.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1628, allocations: 0 / 473.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.1631, allocations: 179.4 kB / 473.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.1631, allocations: 85 kB / 474 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.1631, allocations: 8 kB / 474 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.483e-05/0.1632, allocations: 7.938 kB / 474 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.1633, allocations: 7.984 kB / 474 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.1633, allocations: 0 / 474 MB, free: 8.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.1634, allocations: 111.2 kB / 474.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1634, allocations: 0 / 474.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002884/0.1637, allocations: 16 kB / 474.2 MB, free: 8.844 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.001535/0.1652, allocations: 1.014 MB / 475.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.1655, allocations: 43.97 kB / 475.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1655, allocations: 0 / 475.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.057e-05/0.1656, allocations: 27.92 kB / 475.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.166, allocations: 23.92 kB / 475.3 MB, free: 7.867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.168, allocations: 1.427 MB / 476.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.1685, allocations: 0.6965 MB / 477.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.502e-05/0.1686, allocations: 12.22 kB / 477.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.867e-05/0.1686, allocations: 19.44 kB / 477.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of SimCode: time 3.326e-06/0.1686, allocations: 0 / 477.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.1844, allocations: 2.276 MB / 479.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002512/0.1847, allocations: 232.3 kB / 479.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.076, allocations: 0 / 479.9 MB, free: 3.164 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches