Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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 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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_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.001026/0.001029, allocations: 97.22 kB / 15.69 MB, free: 480 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.001021/0.001021, allocations: 176 kB / 16.57 MB, free: 6.391 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.148/1.148, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.3084/0.3084, allocations: 43.54 MB / 314.5 MB, free: 9.059 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.0005689/0.000569, allocations: 16 kB / 384 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1166, allocations: 58.85 MB / 442.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.001586/0.1182, allocations: 1.253 MB / 444.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004587/0.1187, allocations: 287.7 kB / 444.4 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.356e-05/0.1187, allocations: 0 / 444.4 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.1189, allocations: 23.84 kB / 444.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.119, allocations: 27.97 kB / 444.4 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.1192, allocations: 67.73 kB / 444.5 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.843e-05/0.1193, allocations: 35.91 kB / 444.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.685e-05/0.1194, allocations: 20.23 kB / 444.6 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.251e-05/0.1194, allocations: 15.94 kB / 444.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.314e-05/0.1195, allocations: 15.92 kB / 444.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.819e-06/0.1195, allocations: 0 / 444.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.2e-05/0.1195, allocations: 19.94 kB / 444.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.867e-05/0.1196, allocations: 11.97 kB / 444.6 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.1196, allocations: 37.64 kB / 444.7 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.1197, allocations: 63.78 kB / 444.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.1197, allocations: 4 kB / 444.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1197, allocations: 0 / 444.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.1197, allocations: 0 / 444.7 MB, free: 11.3 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.0003592/0.1201, allocations: 371.1 kB / 445.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.1201, allocations: 12.03 kB / 445.1 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.1202, allocations: 34.55 kB / 445.1 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.693e-05/0.1202, allocations: 15.86 kB / 445.1 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.1204, allocations: 182.8 kB / 445.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.1204, allocations: 8 kB / 445.3 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.1204, allocations: 4 kB / 445.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.1206, allocations: 57.61 kB / 445.4 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.1206, allocations: 0 / 445.4 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.1206, allocations: 3.953 kB / 445.4 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1206, allocations: 0 / 445.4 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.93e-05/0.1207, allocations: 23.98 kB / 445.4 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002783/0.121, allocations: 277 kB / 445.7 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.1211, allocations: 50.5 kB / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.1212, allocations: 3.953 kB / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.1212, allocations: 30.56 kB / 445.8 MB, free: 10.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1212, allocations: 4 kB / 445.8 MB, free: 10.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004738/0.1217, allocations: 153.4 kB / 445.9 MB, free: 9.922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.1217, allocations: 55.41 kB / 446 MB, free: 9.855 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.1219, allocations: 169.2 kB / 446.1 MB, free: 9.684 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.1219, allocations: 29.7 kB / 446.2 MB, free: 9.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.189e-05/0.1219, allocations: 100 kB / 446.3 MB, free: 9.547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.1219, allocations: 11.75 kB / 446.3 MB, free: 9.535 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.122, allocations: 4 kB / 446.3 MB, free: 9.531 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1221, allocations: 318.8 kB / 446.6 MB, free: 9.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.899e-05/0.1222, allocations: 27.98 kB / 446.6 MB, free: 9.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.424e-05/0.1223, allocations: 19.98 kB / 446.6 MB, free: 9.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.177e-05/0.1223, allocations: 27.92 kB / 446.7 MB, free: 9.137 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1224, allocations: 3.953 kB / 446.7 MB, free: 9.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001604/0.1225, allocations: 89.58 kB / 446.8 MB, free: 9.039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.1225, allocations: 8 kB / 446.8 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1226, allocations: 0 / 446.8 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.1226, allocations: 0 / 446.8 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.875e-05/0.1226, allocations: 15.98 kB / 446.8 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.1226, allocations: 0 / 446.8 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.735e-05/0.1227, allocations: 8 kB / 446.8 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.1227, allocations: 4 kB / 446.8 MB, free: 9.004 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.147e-05/0.1228, allocations: 121.8 kB / 446.9 MB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.1228, allocations: 11.86 kB / 446.9 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.123, allocations: 105.9 kB / 447 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.123, allocations: 0 / 447 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.123, allocations: 320 / 447 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.123, allocations: 288 / 447 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003595/0.1234, allocations: 358.5 kB / 447.4 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1234, allocations: 0 / 447.4 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.92e-05/0.1235, allocations: 16 kB / 447.4 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1235, allocations: 0 / 447.4 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.1235, allocations: 7.984 kB / 447.4 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1235, allocations: 0 / 447.4 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1235, allocations: 3.938 kB / 447.4 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.1237, allocations: 191.4 kB / 447.6 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.1238, allocations: 85.02 kB / 447.7 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.1238, allocations: 0 / 447.7 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.782e-05/0.1239, allocations: 11.98 kB / 447.7 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.1239, allocations: 3.938 kB / 447.7 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.1239, allocations: 4 kB / 447.7 MB, free: 7.996 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.08e-05/0.124, allocations: 131.2 kB / 447.8 MB, free: 7.867 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.124, allocations: 4 kB / 447.8 MB, free: 7.863 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002213/0.1242, allocations: 16 kB / 447.8 MB, free: 7.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.001119/0.1253, allocations: 1.009 MB / 448.9 MB, free: 6.855 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001648/0.1255, allocations: 51.91 kB / 448.9 MB, free: 6.805 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1255, allocations: 0 / 448.9 MB, free: 6.805 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.986e-05/0.1256, allocations: 31.98 kB / 448.9 MB, free: 6.773 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.1258, allocations: 15.98 kB / 448.9 MB, free: 6.758 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008549/0.1267, allocations: 0.597 MB / 449.5 MB, free: 6.109 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.1269, allocations: 0.7043 MB / 450.3 MB, free: 5.379 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.665e-05/0.127, allocations: 11.98 kB / 450.3 MB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.127, allocations: 23.42 kB / 450.3 MB, free: 5.344 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.127, allocations: 0 / 450.3 MB, free: 5.344 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.1472, allocations: 2.118 MB / 452.4 MB, free: 3.227 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001651/0.1474, allocations: 215.2 kB / 452.6 MB, free: 2.984 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/1.922, allocations: 64 / 452.6 MB, free: 2.984 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat does not exist to compare? outputFormat=mat