Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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 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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_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.00102/0.00102, allocations: 96.7 kB / 15.7 MB, free: 468 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.0009816/0.0009816, allocations: 175.2 kB / 16.58 MB, free: 5.68 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.433/1.433, allocations: 205.4 MB / 222.7 MB, free: 5.469 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.3214/0.3214, allocations: 43.54 MB / 314.6 MB, free: 8.848 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.0004881/0.0004882, allocations: 12 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1095, allocations: 58.86 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.001662/0.1112, allocations: 1.264 MB / 444.1 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000476/0.1117, allocations: 275.9 kB / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.552e-05/0.1117, allocations: 0 / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.1119, allocations: 23.91 kB / 444.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.1121, allocations: 27.86 kB / 444.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.1123, allocations: 71.84 kB / 444.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.1124, allocations: 47.84 kB / 444.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.038e-05/0.1125, allocations: 12.27 kB / 444.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.362e-05/0.1126, allocations: 23.86 kB / 444.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.437e-05/0.1126, allocations: 7.938 kB / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.1126, allocations: 3.984 kB / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.431e-05/0.1127, allocations: 23.98 kB / 444.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.386e-05/0.1127, allocations: 7.938 kB / 444.7 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.885e-05/0.1128, allocations: 41.64 kB / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.1129, allocations: 59.84 kB / 444.8 MB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1129, allocations: 0 / 444.8 MB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1129, allocations: 3.938 kB / 444.8 MB, free: 11.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.1129, allocations: 4 kB / 444.8 MB, free: 11.05 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.0003949/0.1133, allocations: 359.2 kB / 445.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1134, allocations: 8.031 kB / 445.1 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.079e-05/0.1134, allocations: 34.56 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.507e-05/0.1134, allocations: 11.84 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.1136, allocations: 187 kB / 445.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-06/0.1136, allocations: 7.938 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.1136, allocations: 4 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.1138, allocations: 49.62 kB / 445.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.1138, allocations: 0 / 445.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.1138, allocations: 0 / 445.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1138, allocations: 7.938 kB / 445.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.71e-05/0.1139, allocations: 31.97 kB / 445.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.1142, allocations: 265 kB / 445.7 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.1144, allocations: 46.48 kB / 445.8 MB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.1145, allocations: 24.86 kB / 445.8 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.1145, allocations: 4 kB / 445.8 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.1145, allocations: 34.52 kB / 445.8 MB, free: 9.828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1145, allocations: 0 / 445.8 MB, free: 9.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005133/0.115, allocations: 157.3 kB / 446 MB, free: 9.668 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.1151, allocations: 55.41 kB / 446 MB, free: 9.602 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.1152, allocations: 145.9 kB / 446.2 MB, free: 9.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.1152, allocations: 25.7 kB / 446.2 MB, free: 9.418 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.1153, allocations: 92.14 kB / 446.3 MB, free: 9.324 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.1153, allocations: 23.67 kB / 446.3 MB, free: 9.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.1153, allocations: 4 kB / 446.3 MB, free: 9.297 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.64e-05/0.1154, allocations: 318.8 kB / 446.6 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.152e-05/0.1155, allocations: 19.98 kB / 446.6 MB, free: 8.957 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.293e-05/0.1155, allocations: 19.98 kB / 446.7 MB, free: 8.938 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.194e-05/0.1156, allocations: 28.17 kB / 446.7 MB, free: 8.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1156, allocations: 0 / 446.7 MB, free: 8.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001717/0.1158, allocations: 97.47 kB / 446.8 MB, free: 8.809 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1158, allocations: 4 kB / 446.8 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1158, allocations: 0 / 446.8 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1158, allocations: 4 kB / 446.8 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.798e-05/0.1159, allocations: 15.98 kB / 446.8 MB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1159, allocations: 4 kB / 446.8 MB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.729e-05/0.116, allocations: 7.984 kB / 446.8 MB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.116, allocations: 0 / 446.8 MB, free: 8.773 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 7.366e-05/0.116, allocations: 117.8 kB / 446.9 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.1161, allocations: 11.86 kB / 446.9 MB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.1163, allocations: 105.9 kB / 447 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1163, allocations: 0 / 447 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1163, allocations: 0 / 447 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.1163, allocations: 0 / 447 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003764/0.1167, allocations: 350.4 kB / 447.4 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1167, allocations: 0 / 447.4 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.569e-05/0.1168, allocations: 19.92 kB / 447.4 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1168, allocations: 3.938 kB / 447.4 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.1168, allocations: 4 kB / 447.4 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1168, allocations: 0 / 447.4 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1168, allocations: 0 / 447.4 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.117, allocations: 187.7 kB / 447.6 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.425e-05/0.1171, allocations: 84.97 kB / 447.7 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.1171, allocations: 4 kB / 447.7 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.456e-05/0.1172, allocations: 11.98 kB / 447.7 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.1172, allocations: 4 kB / 447.7 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.1172, allocations: 4 kB / 447.7 MB, free: 7.777 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.181e-05/0.1173, allocations: 107.2 kB / 447.8 MB, free: 7.672 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.773e-06/0.1173, allocations: 0 / 447.8 MB, free: 7.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002249/0.1175, allocations: 19.94 kB / 447.8 MB, free: 7.652 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.001239/0.1188, allocations: 1.017 MB / 448.8 MB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.119, allocations: 55.95 kB / 448.9 MB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.119, allocations: 0 / 448.9 MB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.855e-05/0.119, allocations: 31.92 kB / 448.9 MB, free: 6.562 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.1193, allocations: 12 kB / 448.9 MB, free: 6.551 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009815/0.1203, allocations: 0.5456 MB / 449.5 MB, free: 5.957 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.1206, allocations: 0.6926 MB / 450.2 MB, free: 5.238 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.479e-05/0.1207, allocations: 4 kB / 450.2 MB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/0.1207, allocations: 19.44 kB / 450.2 MB, free: 5.215 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1207, allocations: 0 / 450.2 MB, free: 5.215 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01256/0.1333, allocations: 2.037 MB / 452.2 MB, free: 3.18 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002875/0.1336, allocations: 211.1 kB / 452.4 MB, free: 2.945 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/1.82, allocations: 0 / 452.4 MB, free: 2.945 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat does not exist to compare? outputFormat=mat