Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test5",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.0007801/0.0007802, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009427/0.0009427, allocations: 175.2 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.4 MB / 222.8 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3397/0.3397, allocations: 43.55 MB / 314.6 MB, free: 8.773 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006321/0.0006324, allocations: 14.97 kB / 384 MB, free: 7.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1207, allocations: 58.86 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.001969/0.1228, allocations: 1.252 MB / 444.1 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005263/0.1233, allocations: 283.9 kB / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.376e-05/0.1234, allocations: 0 / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00025/0.1237, allocations: 91.8 kB / 444.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.1238, allocations: 59.81 kB / 444.6 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.1241, allocations: 63.91 kB / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.1242, allocations: 59.83 kB / 444.7 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.258e-05/0.1243, allocations: 12.2 kB / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.371e-05/0.1244, allocations: 39.83 kB / 444.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.065e-05/0.1244, allocations: 31.91 kB / 444.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.1245, allocations: 4 kB / 444.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.473e-05/0.1245, allocations: 31.97 kB / 444.8 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.502e-05/0.1246, allocations: 15.92 kB / 444.8 MB, free: 11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.1246, allocations: 41.64 kB / 444.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.1247, allocations: 59.84 kB / 444.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1248, allocations: 0 / 444.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1248, allocations: 4 kB / 444.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.1248, allocations: 0 / 444.9 MB, free: 10.89 MB / 382.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.0004289/0.1252, allocations: 398.9 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1253, allocations: 19.91 kB / 445.3 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.937e-05/0.1253, allocations: 34.56 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.1253, allocations: 15.86 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.1255, allocations: 191.5 kB / 445.6 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1255, allocations: 11.98 kB / 445.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.1256, allocations: 0 / 445.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.1257, allocations: 49.67 kB / 445.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1257, allocations: 3.938 kB / 445.6 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.1257, allocations: 0 / 445.6 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1257, allocations: 7.953 kB / 445.6 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.244e-05/0.1258, allocations: 31.92 kB / 445.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002833/0.1261, allocations: 273 kB / 445.9 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.1263, allocations: 46.56 kB / 446 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.511e-05/0.1264, allocations: 20.94 kB / 446 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.1264, allocations: 0 / 446 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.1264, allocations: 34.52 kB / 446 MB, free: 9.605 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.1264, allocations: 3.938 kB / 446 MB, free: 9.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004725/0.1269, allocations: 157.2 kB / 446.2 MB, free: 9.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.1269, allocations: 55.41 kB / 446.2 MB, free: 9.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.1271, allocations: 227 kB / 446.5 MB, free: 9.145 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.1271, allocations: 29.7 kB / 446.5 MB, free: 9.109 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/0.1272, allocations: 108.1 kB / 446.6 MB, free: 9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.1272, allocations: 15.66 kB / 446.6 MB, free: 8.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.1272, allocations: 4 kB / 446.6 MB, free: 8.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.938e-05/0.1273, allocations: 322.8 kB / 446.9 MB, free: 8.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.426e-05/0.1274, allocations: 23.98 kB / 447 MB, free: 8.633 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.195e-05/0.1275, allocations: 19.98 kB / 447 MB, free: 8.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.956e-05/0.1275, allocations: 23.98 kB / 447 MB, free: 8.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1275, allocations: 0 / 447 MB, free: 8.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001614/0.1277, allocations: 89.58 kB / 447.1 MB, free: 8.496 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1277, allocations: 11.95 kB / 447.1 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1277, allocations: 0 / 447.1 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.1277, allocations: 0 / 447.1 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.096e-05/0.1278, allocations: 20.17 kB / 447.1 MB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1278, allocations: 0 / 447.1 MB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/0.1279, allocations: 15.98 kB / 447.1 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.1279, allocations: 0 / 447.1 MB, free: 8.449 MB / 382.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 8.27e-05/0.128, allocations: 133.8 kB / 447.3 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.128, allocations: 7.906 kB / 447.3 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.1282, allocations: 106.5 kB / 447.4 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1282, allocations: 0 / 447.4 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.1283, allocations: 4 kB / 447.4 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1283, allocations: 7.875 kB / 447.4 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003659/0.1286, allocations: 366.5 kB / 447.8 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1287, allocations: 3.953 kB / 447.8 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.205e-05/0.1287, allocations: 12 kB / 447.8 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1287, allocations: 0 / 447.8 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.1287, allocations: 8 kB / 447.8 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1287, allocations: 0 / 447.8 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.1288, allocations: 3.984 kB / 447.8 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.129, allocations: 183.4 kB / 448 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/0.129, allocations: 88.97 kB / 448 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.129, allocations: 7.984 kB / 448.1 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.381e-05/0.1291, allocations: 8 kB / 448.1 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.1291, allocations: 288 / 448.1 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.1291, allocations: 192 / 448.1 MB, free: 7.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.1293, allocations: 175.2 kB / 448.2 MB, free: 7.242 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1293, allocations: 0 / 448.2 MB, free: 7.242 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002317/0.1295, allocations: 19.91 kB / 448.3 MB, free: 7.223 MB / 382.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.00118/0.1307, allocations: 1.021 MB / 449.3 MB, free: 6.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001651/0.1309, allocations: 59.91 kB / 449.3 MB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1309, allocations: 0 / 449.3 MB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.518e-05/0.131, allocations: 27.98 kB / 449.4 MB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.1313, allocations: 11.98 kB / 449.4 MB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.1324, allocations: 0.7253 MB / 450.1 MB, free: 5.355 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.1326, allocations: 0.704 MB / 450.8 MB, free: 4.625 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.064e-05/0.1327, allocations: 11.98 kB / 450.8 MB, free: 4.613 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.1327, allocations: 31.44 kB / 450.8 MB, free: 4.582 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1327, allocations: 0 / 450.8 MB, free: 4.582 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01343/0.1462, allocations: 2.369 MB / 453.2 MB, free: 2.219 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/0.1464, allocations: 219 kB / 453.4 MB, free: 1.977 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/1.898, allocations: 0 / 453.4 MB, free: 1.977 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat does not exist to compare? outputFormat=mat