Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",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.001273/0.001273, allocations: 99.34 kB / 16.99 MB, free: 6.402 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.001328/0.001328, allocations: 178.6 kB / 17.88 MB, free: 5.957 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.507/1.507, allocations: 223.2 MB / 241.8 MB, free: 388 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2036/0.2036, allocations: 44.22 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002929/0.000293, allocations: 13 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1043, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.001721/0.1061, allocations: 1.255 MB / 472.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006434/0.1067, allocations: 371.7 kB / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.827e-05/0.1068, allocations: 0 / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001778/0.107, allocations: 11.88 kB / 473.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.1071, allocations: 31.91 kB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.1074, allocations: 94.62 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.1076, allocations: 35.89 kB / 473.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.168e-05/0.1077, allocations: 19.98 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.682e-05/0.1077, allocations: 15.92 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.182e-05/0.1078, allocations: 19.81 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.1078, allocations: 4 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.349e-05/0.1079, allocations: 15.98 kB / 473.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.682e-05/0.1079, allocations: 19.91 kB / 473.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.108, allocations: 37.64 kB / 473.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.1081, allocations: 52.2 kB / 473.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.1081, allocations: 0 / 473.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1081, allocations: 0 / 473.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.1081, allocations: 4 kB / 473.5 MB, free: 11.66 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.0004068/0.1085, allocations: 375.1 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1086, allocations: 8.031 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.764e-05/0.1086, allocations: 34.56 kB / 473.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/0.1086, allocations: 11.84 kB / 473.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.1088, allocations: 186.9 kB / 474.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.1088, allocations: 0 / 474.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.1089, allocations: 4 kB / 474.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.109, allocations: 53.69 kB / 474.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.109, allocations: 0 / 474.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.109, allocations: 0 / 474.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.109, allocations: 0 / 474.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.023e-05/0.1091, allocations: 27.97 kB / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.1095, allocations: 300.7 kB / 474.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.1097, allocations: 50.5 kB / 474.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.1097, allocations: 4.078 kB / 474.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.1098, allocations: 30.56 kB / 474.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1098, allocations: 0 / 474.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005489/0.1103, allocations: 165.3 kB / 474.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.1104, allocations: 55.41 kB / 474.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.1105, allocations: 168 kB / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.1106, allocations: 25.7 kB / 475 MB, free: 9.992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/0.1106, allocations: 96.12 kB / 475.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.1107, allocations: 19.75 kB / 475.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.1107, allocations: 0 / 475.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1108, allocations: 322.8 kB / 475.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.358e-05/0.1109, allocations: 27.92 kB / 475.4 MB, free: 9.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.299e-05/0.1109, allocations: 23.98 kB / 475.5 MB, free: 9.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.622e-05/0.111, allocations: 40.16 kB / 475.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.111, allocations: 0 / 475.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001801/0.1112, allocations: 89.58 kB / 475.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1112, allocations: 4 kB / 475.6 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.1113, allocations: 0 / 475.6 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.1113, allocations: 0 / 475.6 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.293e-05/0.1113, allocations: 19.92 kB / 475.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1113, allocations: 0 / 475.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.272e-05/0.1114, allocations: 15.95 kB / 475.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.1114, allocations: 4 kB / 475.6 MB, free: 9.324 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 8.767e-05/0.1115, allocations: 126.3 kB / 475.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.1115, allocations: 7.906 kB / 475.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.1118, allocations: 106.2 kB / 475.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1118, allocations: 4 kB / 475.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1118, allocations: 4 kB / 475.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1118, allocations: 3.984 kB / 475.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004127/0.1122, allocations: 366.4 kB / 476.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1122, allocations: 0 / 476.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.425e-05/0.1123, allocations: 16 kB / 476.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1123, allocations: 0 / 476.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.1123, allocations: 0 / 476.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1123, allocations: 3.938 kB / 476.3 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.1123, allocations: 7.938 kB / 476.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.1126, allocations: 191.7 kB / 476.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.1126, allocations: 96.94 kB / 476.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.1127, allocations: 0 / 476.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.652e-05/0.1127, allocations: 4 kB / 476.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.1128, allocations: 7.984 kB / 476.6 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.1128, allocations: 7.953 kB / 476.6 MB, free: 8.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.949e-05/0.1129, allocations: 130 kB / 476.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1129, allocations: 0 / 476.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002334/0.1131, allocations: 16 kB / 476.7 MB, free: 8.145 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.001258/0.1144, allocations: 1.013 MB / 477.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.1146, allocations: 63.91 kB / 477.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1146, allocations: 0 / 477.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.825e-05/0.1147, allocations: 31.97 kB / 477.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.1149, allocations: 19.95 kB / 477.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.116, allocations: 0.6146 MB / 478.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.1163, allocations: 0.7043 MB / 479.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.041e-05/0.1164, allocations: 12 kB / 479.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.632e-05/0.1164, allocations: 23.42 kB / 479.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1164, allocations: 4 kB / 479.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01139/0.1278, allocations: 2.147 MB / 481.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/0.1281, allocations: 215.8 kB / 481.6 MB, free: 3.441 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/1.9, allocations: 0 / 481.6 MB, free: 3.441 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat does not exist to compare? outputFormat=mat