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.0009761/0.000976, 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.001289/0.001289, allocations: 183.5 kB / 16.59 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.383/1.383, 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.3566/0.3566, allocations: 43.55 MB / 314.6 MB, free: 9.043 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.0005172/0.0005173, allocations: 12 kB / 384 MB, free: 8.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1215, allocations: 58.87 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.001891/0.1234, allocations: 1.271 MB / 444.2 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005303/0.1239, allocations: 295.8 kB / 444.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.716e-05/0.124, allocations: 0 / 444.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002477/0.1242, allocations: 91.75 kB / 444.5 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.1244, allocations: 59.86 kB / 444.6 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.1246, allocations: 59.86 kB / 444.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.1248, allocations: 67.8 kB / 444.7 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.381e-05/0.1249, allocations: 20.45 kB / 444.7 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.608e-05/0.1249, allocations: 39.84 kB / 444.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.619e-05/0.125, allocations: 43.88 kB / 444.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.125, allocations: 0 / 444.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.635e-05/0.1251, allocations: 24 kB / 444.8 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.39e-05/0.1252, allocations: 23.91 kB / 444.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.953e-05/0.1252, allocations: 37.64 kB / 444.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.1253, allocations: 75.83 kB / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1254, allocations: 0 / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1254, allocations: 3.938 kB / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.1254, allocations: 0 / 445 MB, free: 11.08 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.0004699/0.1258, allocations: 398.9 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1259, allocations: 12.02 kB / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.1259, allocations: 38.56 kB / 445.4 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.126, allocations: 15.77 kB / 445.4 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.1262, allocations: 199.6 kB / 445.6 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.1262, allocations: 0 / 445.6 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.1262, allocations: 4 kB / 445.6 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.1264, allocations: 61.61 kB / 445.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1264, allocations: 4 kB / 445.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.475e-06/0.1264, allocations: 0 / 445.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.1264, allocations: 4 kB / 445.7 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.1266, allocations: 39.92 kB / 445.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.1269, allocations: 296.8 kB / 446 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.127, allocations: 54.5 kB / 446.1 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.284e-05/0.1271, allocations: 24.97 kB / 446.1 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.1271, allocations: 0 / 446.1 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.1271, allocations: 34.52 kB / 446.1 MB, free: 9.742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.205e-06/0.1272, allocations: 3.984 kB / 446.1 MB, free: 9.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005762/0.1277, allocations: 205.2 kB / 446.3 MB, free: 9.531 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.1278, allocations: 55.41 kB / 446.4 MB, free: 9.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.128, allocations: 234.3 kB / 446.6 MB, free: 9.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.128, allocations: 29.7 kB / 446.7 MB, free: 9.191 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.93e-05/0.1281, allocations: 108 kB / 446.8 MB, free: 9.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.1281, allocations: 19.66 kB / 446.8 MB, free: 9.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.1281, allocations: 8 kB / 446.8 MB, free: 9.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1282, allocations: 326.8 kB / 447.1 MB, free: 8.727 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.124e-05/0.1283, allocations: 27.97 kB / 447.1 MB, free: 8.699 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.163e-05/0.1284, allocations: 27.98 kB / 447.2 MB, free: 8.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.154e-05/0.1285, allocations: 31.98 kB / 447.2 MB, free: 8.641 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1285, allocations: 0 / 447.2 MB, free: 8.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001958/0.1287, allocations: 121.6 kB / 447.3 MB, free: 8.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1287, allocations: 8 kB / 447.3 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1287, allocations: 0 / 447.3 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.1287, allocations: 0 / 447.3 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.8e-05/0.1288, allocations: 19.98 kB / 447.3 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1288, allocations: 4.062 kB / 447.3 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.872e-05/0.1289, allocations: 7.984 kB / 447.4 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.1289, allocations: 8 kB / 447.4 MB, free: 8.469 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 9.375e-05/0.129, allocations: 133.8 kB / 447.5 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.129, allocations: 11.86 kB / 447.5 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.1293, allocations: 139.2 kB / 447.6 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1293, allocations: 0 / 447.6 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1293, allocations: 4 kB / 447.6 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1293, allocations: 0 / 447.6 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004403/0.1298, allocations: 406.4 kB / 448 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1298, allocations: 0 / 448 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.099e-05/0.1298, allocations: 20 kB / 448.1 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1299, allocations: 0 / 448.1 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1299, allocations: 7.984 kB / 448.1 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1299, allocations: 0 / 448.1 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1299, allocations: 0 / 448.1 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.1301, allocations: 211.2 kB / 448.3 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.1302, allocations: 89 kB / 448.4 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.1302, allocations: 4 kB / 448.4 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/0.1303, allocations: 4 kB / 448.4 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.1303, allocations: 7.984 kB / 448.4 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.1303, allocations: 4 kB / 448.4 MB, free: 7.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.1305, allocations: 172.2 kB / 448.5 MB, free: 7.172 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1305, allocations: 4 kB / 448.6 MB, free: 7.168 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.1307, allocations: 20 kB / 448.6 MB, free: 7.148 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.001199/0.1319, allocations: 1.043 MB / 449.6 MB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.1321, allocations: 67.91 kB / 449.7 MB, free: 6.055 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1321, allocations: 4 kB / 449.7 MB, free: 6.051 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.79e-05/0.1322, allocations: 39.97 kB / 449.7 MB, free: 6.012 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.1325, allocations: 12.31 kB / 449.7 MB, free: 6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.1337, allocations: 0.793 MB / 450.5 MB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.1339, allocations: 0.716 MB / 451.2 MB, free: 4.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.224e-05/0.134, allocations: 12.66 kB / 451.3 MB, free: 4.398 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.092e-05/0.134, allocations: 31.42 kB / 451.3 MB, free: 4.367 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1341, allocations: 0 / 451.3 MB, free: 4.367 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01303/0.1471, allocations: 2.556 MB / 453.8 MB, free: 1.816 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/0.1473, allocations: 215.2 kB / 454.1 MB, free: 1.578 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/1.889, allocations: 0 / 454.1 MB, free: 1.578 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