Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3",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.0009916/0.0009918, allocations: 96.36 kB / 15.68 MB, free: 488 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.0009647/0.0009647, allocations: 173.3 kB / 16.56 MB, free: 6.844 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.504/1.504, allocations: 205.4 MB / 222.7 MB, free: 5.656 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.3377/0.3377, allocations: 43.54 MB / 314.5 MB, free: 9.012 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.0004814/0.0004815, allocations: 12 kB / 384 MB, free: 8.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1108, allocations: 58.86 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.00196/0.1128, allocations: 1.314 MB / 444.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005416/0.1133, allocations: 287.8 kB / 444.4 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.236e-05/0.1134, allocations: 0 / 444.4 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000507/0.1139, allocations: 431.2 kB / 444.9 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.1142, allocations: 243.5 kB / 445.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.1145, allocations: 95.81 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.1147, allocations: 119.7 kB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.959e-05/0.1148, allocations: 12.19 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.1149, allocations: 103.8 kB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.1151, allocations: 139.8 kB / 445.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.1151, allocations: 0 / 445.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.674e-05/0.1152, allocations: 31.92 kB / 445.6 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.335e-05/0.1153, allocations: 79.73 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.97e-05/0.1153, allocations: 73.45 kB / 445.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.1155, allocations: 180 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.1155, allocations: 0 / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1155, allocations: 0 / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1155, allocations: 4 kB / 445.9 MB, free: 10.11 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006489/0.1162, allocations: 0.5988 MB / 446.5 MB, free: 9.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.1162, allocations: 12.03 kB / 446.5 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.284e-05/0.1163, allocations: 30.56 kB / 446.6 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.208e-05/0.1164, allocations: 51.39 kB / 446.6 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.1166, allocations: 275.3 kB / 446.9 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1167, allocations: 4 kB / 446.9 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.1167, allocations: 0 / 446.9 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.1168, allocations: 61.62 kB / 447 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1168, allocations: 0 / 447 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.1169, allocations: 7.984 kB / 447 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1169, allocations: 0 / 447 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.117, allocations: 43.92 kB / 447 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004307/0.1174, allocations: 396.6 kB / 447.4 MB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.1176, allocations: 46.56 kB / 447.4 MB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.1176, allocations: 4.078 kB / 447.4 MB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.1176, allocations: 34.56 kB / 447.5 MB, free: 8.387 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1176, allocations: 4 kB / 447.5 MB, free: 8.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007566/0.1184, allocations: 311.9 kB / 447.8 MB, free: 8.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.1184, allocations: 55.41 kB / 447.8 MB, free: 8.004 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007737/0.1192, allocations: 0.8652 MB / 448.7 MB, free: 7.129 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.1192, allocations: 25.7 kB / 448.7 MB, free: 7.098 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.1194, allocations: 212.1 kB / 448.9 MB, free: 6.887 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.1194, allocations: 23.56 kB / 449 MB, free: 6.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.1195, allocations: 4 kB / 449 MB, free: 6.859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1196, allocations: 366.7 kB / 449.3 MB, free: 6.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.1197, allocations: 35.97 kB / 449.4 MB, free: 6.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.1199, allocations: 55.97 kB / 449.4 MB, free: 6.402 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.12, allocations: 31.98 kB / 449.4 MB, free: 6.371 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.12, allocations: 0 / 449.4 MB, free: 6.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002903/0.1203, allocations: 161.2 kB / 449.6 MB, free: 6.207 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1203, allocations: 7.953 kB / 449.6 MB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1203, allocations: 8 kB / 449.6 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.1203, allocations: 0 / 449.6 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.1205, allocations: 23.98 kB / 449.6 MB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-06/0.1205, allocations: 3.984 kB / 449.6 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.673e-05/0.1205, allocations: 12 kB / 449.6 MB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.1206, allocations: 0 / 449.6 MB, free: 6.152 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 (7): * Single equations (assignments): 7 * 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.000173/0.1207, allocations: 225.7 kB / 449.9 MB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.734e-05/0.1208, allocations: 43.44 kB / 449.9 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003463/0.1212, allocations: 181.4 kB / 450.1 MB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1212, allocations: 288 / 450.1 MB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1212, allocations: 0 / 450.1 MB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.1212, allocations: 3.984 kB / 450.1 MB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006275/0.1218, allocations: 0.5104 MB / 450.6 MB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1218, allocations: 3.953 kB / 450.6 MB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.351e-05/0.1219, allocations: 23.98 kB / 450.6 MB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1219, allocations: 0 / 450.6 MB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.1219, allocations: 0 / 450.6 MB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1219, allocations: 4 kB / 450.6 MB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.122, allocations: 3.984 kB / 450.6 MB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.1223, allocations: 270.9 kB / 450.9 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-05/0.1224, allocations: 116.5 kB / 451 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.1224, allocations: 0 / 451 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1225, allocations: 15.98 kB / 451 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.1226, allocations: 7.984 kB / 451 MB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.1226, allocations: 4 kB / 451 MB, free: 4.648 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005816/0.1232, allocations: 0.655 MB / 451.7 MB, free: 3.996 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1232, allocations: 0 / 451.7 MB, free: 3.996 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.1234, allocations: 28 kB / 451.7 MB, free: 3.969 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 (7): * Single equations (assignments): 7 * 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.001382/0.1248, allocations: 1.086 MB / 452.8 MB, free: 2.891 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002936/0.1251, allocations: 107.8 kB / 452.9 MB, free: 2.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1252, allocations: 0 / 452.9 MB, free: 2.785 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.1253, allocations: 51.97 kB / 453 MB, free: 2.734 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.1256, allocations: 21.95 kB / 453 MB, free: 2.715 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/0.1286, allocations: 2.273 MB / 455.3 MB, free: 380 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2639/0.3925, allocations: 0.8316 MB / 456.1 MB, free: 45.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.3926, allocations: 10.84 kB / 456.1 MB, free: 45.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.3928, allocations: 101 kB / 456.2 MB, free: 45.95 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3928, allocations: 0 / 456.2 MB, free: 45.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.4092, allocations: 5.443 MB / 461.6 MB, free: 45.57 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/0.4095, allocations: 220.5 kB / 461.9 MB, free: 45.33 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/2.313, allocations: 0 / 461.9 MB, free: 45.33 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat does not exist to compare? outputFormat=mat