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.001077/0.001077, allocations: 96.92 kB / 16.99 MB, free: 5.941 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.001084/0.001084, allocations: 183.4 kB / 17.87 MB, free: 5.609 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.46/1.46, allocations: 223.2 MB / 241.8 MB, free: 14.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.2376/0.2376, allocations: 44.22 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004185/0.0004187, allocations: 12 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1593, allocations: 61.92 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002073/0.1614, allocations: 1.259 MB / 472.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007274/0.1622, allocations: 363.6 kB / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.261e-05/0.1623, allocations: 0 / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.1625, allocations: 19.86 kB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.1627, allocations: 31.91 kB / 473.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.1631, allocations: 87.77 kB / 473.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.1632, allocations: 43.88 kB / 473.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1634, allocations: 8 kB / 473.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.037e-05/0.1634, allocations: 15.92 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.755e-05/0.1635, allocations: 23.86 kB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.1635, allocations: 3.984 kB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.574e-05/0.1636, allocations: 12 kB / 473.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.824e-05/0.1637, allocations: 15.92 kB / 473.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.21e-05/0.1637, allocations: 37.64 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.1638, allocations: 52.2 kB / 473.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1639, allocations: 0 / 473.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1639, allocations: 4 kB / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1639, allocations: 0 / 473.5 MB, free: 11.64 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.000507/0.1644, allocations: 359.2 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.1644, allocations: 8.031 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.916e-05/0.1645, allocations: 42.55 kB / 473.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.1645, allocations: 7.844 kB / 473.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.1648, allocations: 183 kB / 474.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1648, allocations: 7.938 kB / 474.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.1648, allocations: 3.953 kB / 474.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.165, allocations: 49.67 kB / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.165, allocations: 0 / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.165, allocations: 4 kB / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.1651, allocations: 4 kB / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.1652, allocations: 27.98 kB / 474.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.1657, allocations: 284.8 kB / 474.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.1659, allocations: 58.41 kB / 474.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.166, allocations: 0 / 474.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.166, allocations: 34.56 kB / 474.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.166, allocations: 0 / 474.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006595/0.1667, allocations: 165.4 kB / 474.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.1667, allocations: 55.39 kB / 474.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.1669, allocations: 138.1 kB / 474.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.1669, allocations: 25.7 kB / 474.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.531e-05/0.167, allocations: 96.05 kB / 475 MB, free: 9.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.167, allocations: 19.73 kB / 475 MB, free: 9.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.167, allocations: 4 kB / 475 MB, free: 9.887 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1672, allocations: 318.8 kB / 475.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.798e-05/0.1673, allocations: 27.97 kB / 475.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.413e-05/0.1673, allocations: 23.98 kB / 475.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.01e-05/0.1674, allocations: 28.17 kB / 475.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1674, allocations: 4 kB / 475.4 MB, free: 9.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002078/0.1677, allocations: 101.5 kB / 475.5 MB, free: 9.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1677, allocations: 4 kB / 475.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1677, allocations: 0 / 475.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.1677, allocations: 3.984 kB / 475.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.331e-05/0.1678, allocations: 12 kB / 475.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1678, allocations: 4 kB / 475.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.449e-05/0.1679, allocations: 7.984 kB / 475.6 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1679, allocations: 4 kB / 475.6 MB, free: 9.344 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.168, allocations: 118.3 kB / 475.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.168, allocations: 7.906 kB / 475.7 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/0.1683, allocations: 109.9 kB / 475.8 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1683, allocations: 0 / 475.8 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1683, allocations: 0 / 475.8 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1683, allocations: 0 / 475.8 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004167/0.1688, allocations: 358.5 kB / 476.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1688, allocations: 7.922 kB / 476.2 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.464e-05/0.1688, allocations: 15.94 kB / 476.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1688, allocations: 0 / 476.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.1689, allocations: 0 / 476.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1689, allocations: 7.938 kB / 476.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1689, allocations: 0 / 476.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.1691, allocations: 195.4 kB / 476.4 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/0.1692, allocations: 89 kB / 476.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.1692, allocations: 256 / 476.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.1693, allocations: 8 kB / 476.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.1693, allocations: 7.984 kB / 476.5 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.1693, allocations: 4 kB / 476.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.094e-05/0.1694, allocations: 109.9 kB / 476.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.633e-06/0.1694, allocations: 0 / 476.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.1697, allocations: 19.92 kB / 476.6 MB, free: 8.203 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001256/0.171, allocations: 1.021 MB / 477.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.1712, allocations: 59.95 kB / 477.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1712, allocations: 7.938 kB / 477.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.113e-05/0.1713, allocations: 31.98 kB / 477.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.1715, allocations: 15.97 kB / 477.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009732/0.1725, allocations: 0.5594 MB / 478.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.1728, allocations: 0.7043 MB / 479 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.649e-05/0.1728, allocations: 8 kB / 479 MB, free: 5.859 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.1729, allocations: 23.42 kB / 479 MB, free: 5.836 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1729, allocations: 0 / 479 MB, free: 5.836 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01146/0.1844, allocations: 2.042 MB / 481.1 MB, free: 3.914 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.1846, allocations: 214.6 kB / 481.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/1.939, allocations: 0 / 481.3 MB, free: 3.672 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat does not exist to compare? outputFormat=mat