Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.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.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test26",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.001024/0.001024, allocations: 96.7 kB / 15.7 MB, free: 468 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.001247/0.001247, allocations: 176.6 kB / 16.58 MB, free: 6.062 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.433/1.433, allocations: 205.4 MB / 222.7 MB, free: 5.66 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.3324/0.3324, allocations: 43.55 MB / 314.6 MB, free: 8.738 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.0004733/0.0004733, allocations: 16 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1083, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.001572/0.1099, allocations: 1.26 MB / 444.1 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004563/0.1103, allocations: 295.8 kB / 444.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.867e-05/0.1104, allocations: 0 / 444.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.1106, allocations: 67.84 kB / 444.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.1107, allocations: 55.88 kB / 444.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.1109, allocations: 63.86 kB / 444.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.1111, allocations: 55.83 kB / 444.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.981e-05/0.1111, allocations: 20.22 kB / 444.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.25e-05/0.1112, allocations: 23.92 kB / 444.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.29e-05/0.1113, allocations: 43.81 kB / 444.7 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.1113, allocations: 4 kB / 444.8 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.072e-05/0.1114, allocations: 24 kB / 444.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.4e-05/0.1114, allocations: 23.92 kB / 444.8 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.1115, allocations: 29.7 kB / 444.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.789e-05/0.1116, allocations: 63.84 kB / 444.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1116, allocations: 0 / 444.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1116, allocations: 3.938 kB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.1116, allocations: 0 / 444.9 MB, free: 10.91 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.0003573/0.1119, allocations: 394.9 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.112, allocations: 12.03 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.762e-05/0.112, allocations: 38.56 kB / 445.3 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.433e-05/0.112, allocations: 11.86 kB / 445.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.1122, allocations: 186.9 kB / 445.5 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.1122, allocations: 4 kB / 445.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.1122, allocations: 0 / 445.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.1124, allocations: 45.69 kB / 445.6 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.1124, allocations: 0 / 445.6 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-06/0.1124, allocations: 0 / 445.6 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.1124, allocations: 7.953 kB / 445.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.428e-05/0.1125, allocations: 35.91 kB / 445.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.1128, allocations: 273 kB / 445.9 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.1129, allocations: 46.5 kB / 445.9 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.836e-05/0.113, allocations: 24.8 kB / 445.9 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.113, allocations: 4.078 kB / 446 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.1131, allocations: 34.52 kB / 446 MB, free: 9.645 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1131, allocations: 0 / 446 MB, free: 9.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.00046/0.1135, allocations: 165.1 kB / 446.1 MB, free: 9.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.1136, allocations: 51.41 kB / 446.2 MB, free: 9.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.1137, allocations: 202.2 kB / 446.4 MB, free: 9.207 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.1138, allocations: 25.7 kB / 446.4 MB, free: 9.176 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.1138, allocations: 104.1 kB / 446.5 MB, free: 9.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.1138, allocations: 27.66 kB / 446.5 MB, free: 9.043 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.1139, allocations: 0 / 446.5 MB, free: 9.043 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.574e-05/0.114, allocations: 322.8 kB / 446.9 MB, free: 8.719 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.671e-05/0.114, allocations: 19.98 kB / 446.9 MB, free: 8.699 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-05/0.1141, allocations: 24.05 kB / 446.9 MB, free: 8.676 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.417e-05/0.1142, allocations: 32.11 kB / 446.9 MB, free: 8.645 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1142, allocations: 0 / 446.9 MB, free: 8.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001637/0.1143, allocations: 81.58 kB / 447 MB, free: 8.559 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1144, allocations: 15.89 kB / 447 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1144, allocations: 0 / 447 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.1144, allocations: 4 kB / 447 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.984e-05/0.1144, allocations: 15.98 kB / 447.1 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.1145, allocations: 0 / 447.1 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.767e-05/0.1145, allocations: 7.938 kB / 447.1 MB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.1145, allocations: 4 kB / 447.1 MB, free: 8.512 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.546e-05/0.1146, allocations: 129.8 kB / 447.2 MB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.1146, allocations: 7.906 kB / 447.2 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002001/0.1148, allocations: 101.9 kB / 447.3 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.1148, allocations: 3.938 kB / 447.3 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1149, allocations: 0 / 447.3 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1149, allocations: 7.984 kB / 447.3 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003625/0.1152, allocations: 354.5 kB / 447.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1152, allocations: 3.953 kB / 447.7 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.172e-05/0.1153, allocations: 15.98 kB / 447.7 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1153, allocations: 0 / 447.7 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1153, allocations: 8 kB / 447.7 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.1153, allocations: 0 / 447.7 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1153, allocations: 4.188 kB / 447.7 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.1155, allocations: 187.7 kB / 447.9 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.347e-05/0.1156, allocations: 92.95 kB / 448 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.1156, allocations: 0 / 448 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.551e-05/0.1157, allocations: 11.98 kB / 448 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/0.1157, allocations: 11.92 kB / 448 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.1157, allocations: 0 / 448 MB, free: 7.484 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.1158, allocations: 164 kB / 448.1 MB, free: 7.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.1158, allocations: 0 / 448.1 MB, free: 7.324 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.1161, allocations: 19.94 kB / 448.2 MB, free: 7.305 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.001112/0.1172, allocations: 1.015 MB / 449.2 MB, free: 6.305 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001678/0.1174, allocations: 55.97 kB / 449.2 MB, free: 6.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1174, allocations: 0 / 449.2 MB, free: 6.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.916e-05/0.1175, allocations: 31.92 kB / 449.3 MB, free: 6.219 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.1178, allocations: 19.92 kB / 449.3 MB, free: 6.199 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009948/0.1188, allocations: 0.6796 MB / 450 MB, free: 5.469 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.119, allocations: 0.7005 MB / 450.7 MB, free: 4.742 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.921e-05/0.1191, allocations: 7.984 kB / 450.7 MB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.723e-05/0.1191, allocations: 27.42 kB / 450.7 MB, free: 4.707 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1191, allocations: 0 / 450.7 MB, free: 4.707 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01205/0.1312, allocations: 2.298 MB / 453 MB, free: 2.414 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003019/0.1315, allocations: 232 kB / 453.2 MB, free: 2.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/1.822, allocations: 0 / 453.2 MB, free: 2.16 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test26.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat does not exist to compare? outputFormat=mat