Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.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.CombiTable2D.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23",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.0008684/0.0008686, 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.001033/0.001033, allocations: 171 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.553/1.553, allocations: 205.4 MB / 222.8 MB, free: 5.645 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.3657/0.3657, allocations: 43.55 MB / 314.6 MB, free: 9.035 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.0005026/0.0005026, allocations: 15.98 kB / 384 MB, free: 8.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1108, allocations: 58.87 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.001969/0.1128, allocations: 1.672 MB / 444.6 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.114, allocations: 0.9253 MB / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.506e-05/0.1141, allocations: 0 / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.1143, allocations: 39.77 kB / 445.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.1145, allocations: 131.5 kB / 445.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007348/0.1153, allocations: 375.3 kB / 446 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.1156, allocations: 239.2 kB / 446.2 MB, free: 9.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.1157, allocations: 53.02 kB / 446.3 MB, free: 9.742 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.1158, allocations: 107.5 kB / 446.4 MB, free: 9.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.116, allocations: 167.4 kB / 446.6 MB, free: 9.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.1161, allocations: 8 kB / 446.6 MB, free: 9.465 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.308e-05/0.1161, allocations: 28 kB / 446.6 MB, free: 9.438 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.1163, allocations: 127.6 kB / 446.7 MB, free: 9.312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.409e-05/0.1163, allocations: 85.39 kB / 446.8 MB, free: 9.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.1166, allocations: 283.4 kB / 447.1 MB, free: 8.945 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1166, allocations: 3.938 kB / 447.1 MB, free: 8.941 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1166, allocations: 4 kB / 447.1 MB, free: 8.938 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.1166, allocations: 0 / 447.1 MB, free: 8.938 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008129/0.1174, allocations: 0.7309 MB / 447.8 MB, free: 8.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.1175, allocations: 11.97 kB / 447.8 MB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.848e-05/0.1175, allocations: 46.55 kB / 447.9 MB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.591e-05/0.1176, allocations: 51.34 kB / 447.9 MB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004694/0.1181, allocations: 435 kB / 448.4 MB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.1181, allocations: 8 kB / 448.4 MB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.1181, allocations: 8 kB / 448.4 MB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.1184, allocations: 151.2 kB / 448.5 MB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1184, allocations: 0 / 448.5 MB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.1185, allocations: 15.95 kB / 448.5 MB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.1185, allocations: 7.984 kB / 448.5 MB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002704/0.1187, allocations: 115.9 kB / 448.7 MB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008336/0.1196, allocations: 0.6878 MB / 449.3 MB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.1198, allocations: 129.2 kB / 449.5 MB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.12, allocations: 69.81 kB / 449.5 MB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.12, allocations: 7.984 kB / 449.5 MB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.12, allocations: 38.5 kB / 449.6 MB, free: 6.246 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.1201, allocations: 0 / 449.6 MB, free: 6.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001718/0.1218, allocations: 0.7438 MB / 450.3 MB, free: 5.492 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.1218, allocations: 81.09 kB / 450.4 MB, free: 5.395 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008414/0.1227, allocations: 0.8701 MB / 451.3 MB, free: 4.512 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.1227, allocations: 33.69 kB / 451.3 MB, free: 4.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.1229, allocations: 260.4 kB / 451.6 MB, free: 4.211 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.15e-05/0.123, allocations: 63.02 kB / 451.6 MB, free: 4.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/0.123, allocations: 0 / 451.6 MB, free: 4.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1231, allocations: 378.7 kB / 452 MB, free: 3.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.1234, allocations: 103.9 kB / 452.1 MB, free: 3.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.1236, allocations: 125.6 kB / 452.2 MB, free: 3.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.1239, allocations: 116.1 kB / 452.3 MB, free: 3.426 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1239, allocations: 0 / 452.3 MB, free: 3.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006252/0.1245, allocations: 336.7 kB / 452.7 MB, free: 3.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1246, allocations: 4 kB / 452.7 MB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1246, allocations: 4 kB / 452.7 MB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1246, allocations: 0 / 452.7 MB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.1249, allocations: 63.94 kB / 452.7 MB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1249, allocations: 4 kB / 452.7 MB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.1251, allocations: 27.98 kB / 452.8 MB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.1251, allocations: 7.984 kB / 452.8 MB, free: 2.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002009/0.1253, allocations: 225.6 kB / 453 MB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.271e-05/0.1254, allocations: 59.2 kB / 453.1 MB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007335/0.1261, allocations: 390.9 kB / 453.4 MB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1261, allocations: 4.219 kB / 453.4 MB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.1262, allocations: 4 kB / 453.4 MB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1262, allocations: 7.922 kB / 453.4 MB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.1274, allocations: 0.9113 MB / 454.4 MB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1274, allocations: 0 / 454.4 MB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.1277, allocations: 63.89 kB / 454.4 MB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.289e-06/0.1277, allocations: 3.984 kB / 454.4 MB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.1277, allocations: 8 kB / 454.4 MB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1277, allocations: 0 / 454.4 MB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1277, allocations: 0 / 454.4 MB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007042/0.1284, allocations: 0.5057 MB / 454.9 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.1286, allocations: 160.4 kB / 455.1 MB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.811e-05/0.1286, allocations: 4 kB / 455.1 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.1289, allocations: 23.98 kB / 455.1 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/0.1289, allocations: 19.97 kB / 455.1 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.129, allocations: 15.98 kB / 455.2 MB, free: 492 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.1896/0.3186, allocations: 0.6333 MB / 455.8 MB, free: 46.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.52e-07/0.3187, allocations: 2.938 kB / 455.8 MB, free: 46.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006132/0.3193, allocations: 55.78 kB / 455.8 MB, free: 46.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001547/0.3208, allocations: 1.333 MB / 457.2 MB, free: 45.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005327/0.3214, allocations: 247.1 kB / 457.4 MB, free: 45.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3214, allocations: 0 / 457.4 MB, free: 45.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.3217, allocations: 141.9 kB / 457.6 MB, free: 45.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/0.3222, allocations: 71.67 kB / 457.6 MB, free: 45.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00408/0.3263, allocations: 3.33 MB / 461 MB, free: 44.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.3266, allocations: 0.8614 MB / 461.8 MB, free: 43.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002102/0.3269, allocations: 81.69 kB / 461.9 MB, free: 43.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.3271, allocations: 178.9 kB / 462.1 MB, free: 43.87 MB / 382.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3271, allocations: 0 / 462.1 MB, free: 43.87 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.3462, allocations: 8.97 MB / 471 MB, free: 43.03 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001433/0.3463, allocations: 215.1 kB / 471.3 MB, free: 42.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.227, allocations: 4 kB / 471.3 MB, free: 42.79 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23_res.mat does not exist to compare? outputFormat=mat