Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4",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.001327/0.001327, allocations: 96.67 kB / 15.68 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.001492/0.001493, allocations: 177.8 kB / 16.57 MB, free: 6.379 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.906 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.3475/0.3475, allocations: 43.55 MB / 314.5 MB, free: 8.617 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.0005333/0.0005334, allocations: 16 kB / 384 MB, free: 7.965 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1023, allocations: 58.85 MB / 442.8 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.001561/0.1039, allocations: 1.28 MB / 444.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004588/0.1044, allocations: 291.7 kB / 444.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.54e-05/0.1045, allocations: 0 / 444.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002103/0.1047, allocations: 83.8 kB / 444.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.1048, allocations: 59.86 kB / 444.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.105, allocations: 63.8 kB / 444.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.1051, allocations: 55.86 kB / 444.7 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.386e-05/0.1052, allocations: 12.45 kB / 444.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.335e-05/0.1053, allocations: 35.89 kB / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.687e-05/0.1054, allocations: 39.84 kB / 444.7 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.1054, allocations: 0 / 444.7 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.291e-05/0.1054, allocations: 23.94 kB / 444.8 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.487e-05/0.1055, allocations: 23.91 kB / 444.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.1055, allocations: 37.64 kB / 444.8 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.981e-05/0.1056, allocations: 75.83 kB / 444.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.1056, allocations: 0 / 444.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1056, allocations: 0 / 444.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.1056, allocations: 0 / 444.9 MB, free: 10.92 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003483/0.106, allocations: 402.9 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.106, allocations: 8.031 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.558e-05/0.1061, allocations: 30.56 kB / 445.3 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.1061, allocations: 19.77 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.1062, allocations: 203.5 kB / 445.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.617e-06/0.1063, allocations: 4 kB / 445.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.1063, allocations: 4 kB / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.1064, allocations: 57.67 kB / 445.6 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.1064, allocations: 0 / 445.6 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.1064, allocations: 4 kB / 445.6 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.1065, allocations: 3.938 kB / 445.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.653e-05/0.1066, allocations: 43.92 kB / 445.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002918/0.1069, allocations: 296.7 kB / 446 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.107, allocations: 58.55 kB / 446 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.107, allocations: 4.062 kB / 446 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.107, allocations: 30.56 kB / 446.1 MB, free: 9.602 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 9.71e-07/0.107, allocations: 0 / 446.1 MB, free: 9.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005351/0.1076, allocations: 205.2 kB / 446.3 MB, free: 9.395 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.1076, allocations: 55.41 kB / 446.3 MB, free: 9.328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.1078, allocations: 230.3 kB / 446.5 MB, free: 9.094 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.1078, allocations: 25.7 kB / 446.6 MB, free: 9.062 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.803e-05/0.1078, allocations: 112 kB / 446.7 MB, free: 8.949 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.1079, allocations: 23.66 kB / 446.7 MB, free: 8.926 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-06/0.1079, allocations: 8 kB / 446.7 MB, free: 8.918 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.729e-05/0.108, allocations: 322.8 kB / 447 MB, free: 8.594 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.894e-05/0.108, allocations: 23.98 kB / 447 MB, free: 8.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.266e-05/0.1081, allocations: 31.91 kB / 447.1 MB, free: 8.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.811e-05/0.1082, allocations: 32 kB / 447.1 MB, free: 8.508 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1082, allocations: 0 / 447.1 MB, free: 8.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001855/0.1084, allocations: 117.4 kB / 447.2 MB, free: 8.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.1084, allocations: 8 kB / 447.2 MB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-06/0.1084, allocations: 0 / 447.2 MB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/0.1084, allocations: 4 kB / 447.2 MB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-05/0.1085, allocations: 19.98 kB / 447.2 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.1085, allocations: 320 / 447.2 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.863e-05/0.1086, allocations: 4 kB / 447.2 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1086, allocations: 7.984 kB / 447.3 MB, free: 8.344 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 (8): * Single equations (assignments): 8 * 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.706e-05/0.1087, allocations: 133.8 kB / 447.4 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.1087, allocations: 11.86 kB / 447.4 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.109, allocations: 143.2 kB / 447.5 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.109, allocations: 0 / 447.5 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.109, allocations: 0 / 447.5 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.109, allocations: 3.984 kB / 447.5 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003951/0.1094, allocations: 402.4 kB / 447.9 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1094, allocations: 4 kB / 447.9 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.156e-05/0.1095, allocations: 15.98 kB / 448 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1095, allocations: 7.984 kB / 448 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1095, allocations: 4 kB / 448 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.1095, allocations: 4 kB / 448 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1095, allocations: 0 / 448 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.1097, allocations: 207.3 kB / 448.2 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.1098, allocations: 92.95 kB / 448.3 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.1098, allocations: 7.938 kB / 448.3 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.657e-05/0.1098, allocations: 8 kB / 448.3 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.1099, allocations: 7.984 kB / 448.3 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.1099, allocations: 4 kB / 448.3 MB, free: 7.203 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001164/0.11, allocations: 168.2 kB / 448.5 MB, free: 7.039 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.11, allocations: 0 / 448.5 MB, free: 7.039 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.1102, allocations: 23.98 kB / 448.5 MB, free: 7.016 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 (8): * Single equations (assignments): 8 * 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.00111/0.1114, allocations: 1.037 MB / 449.5 MB, free: 5.996 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001792/0.1115, allocations: 71.95 kB / 449.6 MB, free: 5.926 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.1116, allocations: 0 / 449.6 MB, free: 5.926 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.266e-05/0.1116, allocations: 47.84 kB / 449.6 MB, free: 5.879 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.1119, allocations: 15.98 kB / 449.6 MB, free: 5.863 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.1129, allocations: 0.7778 MB / 450.4 MB, free: 5.031 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.1131, allocations: 0.7121 MB / 451.1 MB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.415e-05/0.1132, allocations: 12.66 kB / 451.1 MB, free: 4.281 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.1132, allocations: 35.42 kB / 451.2 MB, free: 4.246 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1133, allocations: 0 / 451.2 MB, free: 4.246 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.309/1.423, allocations: 2.537 MB / 453.7 MB, free: 1.715 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002335/1.423, allocations: 210.2 kB / 453.9 MB, free: 1.477 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/3.616, allocations: 0 / 453.9 MB, free: 1.477 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat does not exist to compare? outputFormat=mat