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.001111/0.001112, allocations: 97.53 kB / 15.69 MB, free: 488 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.001364/0.001364, allocations: 172.2 kB / 16.56 MB, free: 6.383 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.535/1.535, allocations: 205.4 MB / 222.7 MB, free: 5.688 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.2784/0.2784, allocations: 43.54 MB / 314.5 MB, free: 8.926 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.0004436/0.0004436, allocations: 16 kB / 384 MB, free: 8.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1053, allocations: 58.85 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.001371/0.1067, allocations: 1.257 MB / 444.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004362/0.1072, allocations: 291.7 kB / 444.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.882e-05/0.1072, allocations: 0 / 444.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.1074, allocations: 79.75 kB / 444.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.1075, allocations: 67.84 kB / 444.5 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.1077, allocations: 55.81 kB / 444.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.201e-05/0.1078, allocations: 55.86 kB / 444.6 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.661e-05/0.1078, allocations: 8.266 kB / 444.6 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.577e-05/0.1079, allocations: 31.89 kB / 444.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.568e-05/0.1079, allocations: 31.91 kB / 444.7 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.725e-06/0.1079, allocations: 7.938 kB / 444.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.981e-05/0.108, allocations: 20 kB / 444.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.956e-05/0.108, allocations: 15.97 kB / 444.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.1081, allocations: 33.64 kB / 444.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.1082, allocations: 75.77 kB / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.342e-06/0.1082, allocations: 0 / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1082, allocations: 0 / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.705e-06/0.1082, allocations: 0 / 444.9 MB, free: 11.18 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.000387/0.1086, allocations: 398.8 kB / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.1086, allocations: 12.03 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.609e-05/0.1087, allocations: 30.56 kB / 445.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.871e-05/0.1087, allocations: 15.86 kB / 445.3 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.1089, allocations: 195.5 kB / 445.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.1089, allocations: 4 kB / 445.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.1089, allocations: 4 kB / 445.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.109, allocations: 49.62 kB / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1091, allocations: 3.984 kB / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.571e-06/0.1091, allocations: 0 / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1091, allocations: 7.953 kB / 445.6 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.3e-05/0.1092, allocations: 31.92 kB / 445.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.1095, allocations: 277 kB / 445.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.1097, allocations: 46.56 kB / 445.9 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.1097, allocations: 0 / 445.9 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.1098, allocations: 34.5 kB / 445.9 MB, free: 9.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.1098, allocations: 0 / 445.9 MB, free: 9.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004711/0.1102, allocations: 165.2 kB / 446.1 MB, free: 9.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.1103, allocations: 59.41 kB / 446.2 MB, free: 9.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.1105, allocations: 219.1 kB / 446.4 MB, free: 9.457 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.1105, allocations: 29.64 kB / 446.4 MB, free: 9.422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/0.1106, allocations: 108.1 kB / 446.5 MB, free: 9.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.1106, allocations: 23.66 kB / 446.5 MB, free: 9.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.1106, allocations: 0 / 446.5 MB, free: 9.289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1107, allocations: 322.8 kB / 446.9 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-05/0.1108, allocations: 23.98 kB / 446.9 MB, free: 8.941 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.535e-05/0.1109, allocations: 19.98 kB / 446.9 MB, free: 8.922 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.138e-05/0.1109, allocations: 27.98 kB / 446.9 MB, free: 8.895 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.111, allocations: 0 / 446.9 MB, free: 8.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001647/0.1111, allocations: 85.83 kB / 447 MB, free: 8.805 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.1111, allocations: 7.953 kB / 447 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1112, allocations: 4 kB / 447 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.1112, allocations: 4 kB / 447 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.082e-05/0.1112, allocations: 19.92 kB / 447 MB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.1112, allocations: 0 / 447 MB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.092e-05/0.1113, allocations: 11.98 kB / 447.1 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.1113, allocations: 0 / 447.1 MB, free: 8.758 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.935e-05/0.1114, allocations: 129.8 kB / 447.2 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.1114, allocations: 7.906 kB / 447.2 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/0.1116, allocations: 114.5 kB / 447.3 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1117, allocations: 0 / 447.3 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1117, allocations: 0 / 447.3 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.1117, allocations: 4 kB / 447.3 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004007/0.1121, allocations: 362.5 kB / 447.7 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1121, allocations: 0 / 447.7 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.066e-05/0.1121, allocations: 15.95 kB / 447.7 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1122, allocations: 0 / 447.7 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.1122, allocations: 0 / 447.7 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1122, allocations: 0 / 447.7 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1122, allocations: 3.938 kB / 447.7 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.1124, allocations: 191.4 kB / 447.9 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.1124, allocations: 85.02 kB / 447.9 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.1125, allocations: 4.141 kB / 448 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.1125, allocations: 15.98 kB / 448 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.1126, allocations: 8 kB / 448 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.1126, allocations: 3.938 kB / 448 MB, free: 7.719 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.1127, allocations: 171.2 kB / 448.1 MB, free: 7.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1127, allocations: 0 / 448.1 MB, free: 7.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002271/0.113, allocations: 19.91 kB / 448.2 MB, free: 7.531 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.001146/0.1141, allocations: 1.019 MB / 449.2 MB, free: 6.527 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001556/0.1143, allocations: 59.97 kB / 449.2 MB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1143, allocations: 0 / 449.2 MB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.785e-05/0.1144, allocations: 27.98 kB / 449.3 MB, free: 6.441 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.1146, allocations: 15.94 kB / 449.3 MB, free: 6.426 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000989/0.1156, allocations: 0.721 MB / 450 MB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.1158, allocations: 0.708 MB / 450.7 MB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.277e-05/0.1159, allocations: 7.984 kB / 450.7 MB, free: 4.922 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.1159, allocations: 23.44 kB / 450.7 MB, free: 4.898 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1159, allocations: 0 / 450.7 MB, free: 4.898 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9766/1.093, allocations: 2.363 MB / 453.1 MB, free: 2.543 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000235/1.093, allocations: 210.2 kB / 453.3 MB, free: 2.305 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.25/3.343, allocations: 0 / 453.3 MB, free: 2.305 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