Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.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.CombiTable1D.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test33",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.0008642/0.0008642, 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.00104/0.00104, allocations: 172.7 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.465/1.465, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.3213/0.3213, allocations: 43.55 MB / 314.6 MB, free: 8.723 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.0005448/0.0005451, allocations: 12 kB / 384 MB, free: 7.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1068, allocations: 58.86 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test33): time 0.001828/0.1086, allocations: 1.267 MB / 444.1 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1099, allocations: 0.8714 MB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.449e-05/0.11, allocations: 0 / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.1102, allocations: 23.91 kB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.1104, allocations: 35.84 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.1106, allocations: 79.84 kB / 445.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.1108, allocations: 51.84 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.563e-05/0.1109, allocations: 16.23 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.314e-05/0.1109, allocations: 19.88 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004466/0.1114, allocations: 23.91 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.1114, allocations: 4 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.1115, allocations: 39.92 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.583e-05/0.1116, allocations: 11.98 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.1116, allocations: 33.64 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.1118, allocations: 71.83 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1118, allocations: 0 / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1118, allocations: 0 / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1118, allocations: 0 / 445.4 MB, free: 10.38 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.0004665/0.1123, allocations: 371.1 kB / 445.8 MB, free: 9.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1123, allocations: 8.031 kB / 445.8 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.268e-05/0.1123, allocations: 34.5 kB / 445.8 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.1124, allocations: 11.86 kB / 445.8 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.1126, allocations: 186.9 kB / 446 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1126, allocations: 7.984 kB / 446 MB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.1126, allocations: 4 kB / 446 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.1128, allocations: 59.34 kB / 446.1 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1128, allocations: 4 kB / 446.1 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1128, allocations: 8 kB / 446.1 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1128, allocations: 3.953 kB / 446.1 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.1129, allocations: 31.97 kB / 446.1 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003946/0.1133, allocations: 273 kB / 446.4 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.1135, allocations: 50.5 kB / 446.5 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.398e-05/0.1136, allocations: 20.94 kB / 446.5 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.1136, allocations: 0 / 446.5 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.1137, allocations: 38.52 kB / 446.5 MB, free: 9.109 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.1137, allocations: 0 / 446.5 MB, free: 9.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005395/0.1142, allocations: 161.4 kB / 446.7 MB, free: 8.945 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.1143, allocations: 77.11 kB / 446.7 MB, free: 8.852 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.1144, allocations: 141.8 kB / 446.9 MB, free: 8.703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.1145, allocations: 25.7 kB / 446.9 MB, free: 8.672 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.1145, allocations: 96.05 kB / 447 MB, free: 8.574 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.1146, allocations: 19.78 kB / 447 MB, free: 8.555 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.1146, allocations: 0 / 447 MB, free: 8.555 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1147, allocations: 318.8 kB / 447.3 MB, free: 8.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.631e-05/0.1148, allocations: 23.98 kB / 447.4 MB, free: 8.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.597e-05/0.1149, allocations: 41.69 kB / 447.4 MB, free: 8.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.588e-05/0.115, allocations: 31.92 kB / 447.4 MB, free: 8.133 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.115, allocations: 0 / 447.4 MB, free: 8.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001857/0.1152, allocations: 89.61 kB / 447.5 MB, free: 8.039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1152, allocations: 11.95 kB / 447.5 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1152, allocations: 0 / 447.5 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.1152, allocations: 7.922 kB / 447.5 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.166e-05/0.1153, allocations: 12 kB / 447.5 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.1153, allocations: 3.984 kB / 447.6 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.681e-05/0.1154, allocations: 11.98 kB / 447.6 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.1154, allocations: 4 kB / 447.6 MB, free: 7.988 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 0.0001026/0.1155, allocations: 121.8 kB / 447.7 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.1155, allocations: 4 kB / 447.7 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.1158, allocations: 113.4 kB / 447.8 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1158, allocations: 288 / 447.8 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1158, allocations: 0 / 447.8 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1158, allocations: 320 / 447.8 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000459/0.1163, allocations: 374.4 kB / 448.2 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.1163, allocations: 3.953 kB / 448.2 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.567e-05/0.1164, allocations: 15.98 kB / 448.2 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1164, allocations: 0 / 448.2 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.1164, allocations: 4 kB / 448.2 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1164, allocations: 0 / 448.2 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1164, allocations: 0 / 448.2 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.1166, allocations: 187.4 kB / 448.4 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.354e-05/0.1167, allocations: 89.06 kB / 448.5 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.1167, allocations: 4 kB / 448.5 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.861e-05/0.1168, allocations: 7.984 kB / 448.5 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.1169, allocations: 3.938 kB / 448.5 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1169, allocations: 4 kB / 448.5 MB, free: 6.973 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.766e-05/0.117, allocations: 103.2 kB / 448.6 MB, free: 6.871 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.117, allocations: 4 kB / 448.6 MB, free: 6.867 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.1172, allocations: 20 kB / 448.6 MB, free: 6.848 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.001407/0.1186, allocations: 1.058 MB / 449.7 MB, free: 5.801 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001985/0.1189, allocations: 59.91 kB / 449.7 MB, free: 5.742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1189, allocations: 4 kB / 449.7 MB, free: 5.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.782e-05/0.119, allocations: 35.97 kB / 449.8 MB, free: 5.703 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.1193, allocations: 11.75 kB / 449.8 MB, free: 5.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009271/0.1202, allocations: 0.5414 MB / 450.3 MB, free: 5.102 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.1205, allocations: 0.6926 MB / 451 MB, free: 4.383 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.452e-05/0.1206, allocations: 20.36 kB / 451 MB, free: 4.363 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.886e-05/0.1206, allocations: 19.42 kB / 451 MB, free: 4.344 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1206, allocations: 0 / 451 MB, free: 4.344 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01532/0.136, allocations: 2.311 MB / 453.4 MB, free: 2.031 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/0.1362, allocations: 219.5 kB / 453.6 MB, free: 1.789 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/1.797, allocations: 3.938 kB / 453.6 MB, free: 1.785 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test33_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test33.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33_res.mat does not exist to compare? outputFormat=mat