Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",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.001031/0.001031, allocations: 96.59 kB / 17 MB, free: 6.113 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 180 kB / 17.89 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.3 MB / 241.9 MB, free: 312 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2202/0.2202, allocations: 44.22 MB / 337.2 MB, free: 2.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003203/0.0003204, allocations: 8.219 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1082, allocations: 61.93 MB / 471.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.001963/0.1102, allocations: 1.255 MB / 472.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.1117, allocations: 0.9571 MB / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.346e-05/0.1118, allocations: 0 / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.112, allocations: 19.91 kB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.1122, allocations: 39.86 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.1126, allocations: 95.44 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.1128, allocations: 51.83 kB / 474.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.825e-05/0.1129, allocations: 12 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.286e-05/0.1129, allocations: 11.92 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.1131, allocations: 31.84 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.1131, allocations: 4 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.1132, allocations: 35.98 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.854e-05/0.1133, allocations: 15.92 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.1133, allocations: 33.7 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.1135, allocations: 68.11 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.1135, allocations: 0 / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1135, allocations: 0 / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1136, allocations: 0 / 474.3 MB, free: 11 MB / 350.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.000514/0.1141, allocations: 363.2 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.1141, allocations: 12.03 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.82e-05/0.1142, allocations: 46.48 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.1142, allocations: 0 / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.1144, allocations: 186.8 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1145, allocations: 4 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.1145, allocations: 3.953 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.1147, allocations: 71.39 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1147, allocations: 4 kB / 475 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1147, allocations: 0 / 475 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1147, allocations: 3.984 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.092e-05/0.1148, allocations: 27.92 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.1152, allocations: 280.9 kB / 475.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.1154, allocations: 50.5 kB / 475.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.811e-05/0.1155, allocations: 24.94 kB / 475.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.1155, allocations: 0 / 475.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.1156, allocations: 34.5 kB / 475.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1156, allocations: 0 / 475.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005609/0.1161, allocations: 169.3 kB / 475.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.1162, allocations: 81.05 kB / 475.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.1164, allocations: 141.8 kB / 475.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.1164, allocations: 25.7 kB / 475.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.884e-05/0.1165, allocations: 96.08 kB / 475.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.1165, allocations: 11.81 kB / 475.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.1165, allocations: 0 / 475.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1166, allocations: 322.8 kB / 476.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.302e-05/0.1167, allocations: 27.98 kB / 476.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.316e-05/0.1168, allocations: 41.69 kB / 476.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.401e-05/0.1169, allocations: 27.98 kB / 476.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1169, allocations: 0 / 476.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002057/0.1171, allocations: 93.61 kB / 476.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1171, allocations: 4 kB / 476.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.1171, allocations: 0 / 476.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1172, allocations: 3.938 kB / 476.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.604e-05/0.1172, allocations: 15.98 kB / 476.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1173, allocations: 0 / 476.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.998e-05/0.1173, allocations: 12 kB / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.1173, allocations: 3.984 kB / 476.4 MB, free: 8.613 MB / 350.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.0001108/0.1174, allocations: 118.3 kB / 476.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.1175, allocations: 7.906 kB / 476.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.1177, allocations: 101.6 kB / 476.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1177, allocations: 0 / 476.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.1178, allocations: 4 kB / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1178, allocations: 7.922 kB / 476.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004637/0.1182, allocations: 358.8 kB / 477 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1183, allocations: 0 / 477 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.639e-05/0.1183, allocations: 19.94 kB / 477 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1183, allocations: 0 / 477 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.1183, allocations: 7.938 kB / 477 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1183, allocations: 3.984 kB / 477 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.1184, allocations: 3.984 kB / 477 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.1186, allocations: 195.3 kB / 477.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.1186, allocations: 89 kB / 477.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.1187, allocations: 0 / 477.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.623e-05/0.1187, allocations: 4 kB / 477.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.1188, allocations: 11.98 kB / 477.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.1188, allocations: 0 / 477.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.955e-05/0.1189, allocations: 103.3 kB / 477.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1189, allocations: 4 kB / 477.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.1192, allocations: 19.98 kB / 477.5 MB, free: 7.469 MB / 350.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.001401/0.1206, allocations: 1.066 MB / 478.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.1208, allocations: 67.91 kB / 478.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1208, allocations: 0 / 478.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.678e-05/0.1209, allocations: 31.92 kB / 478.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.1212, allocations: 18.94 kB / 478.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009887/0.1222, allocations: 0.5376 MB / 479.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.1225, allocations: 0.6926 MB / 479.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.161e-05/0.1226, allocations: 11.98 kB / 479.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.1226, allocations: 31.36 kB / 479.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1226, allocations: 0 / 479.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01438/0.137, allocations: 2.313 MB / 482.2 MB, free: 2.906 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/0.1373, allocations: 226.8 kB / 482.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/2.046, allocations: 7.938 kB / 482.5 MB, free: 2.652 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat does not exist to compare? outputFormat=mat