Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_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.0009515/0.0009514, 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.0009458/0.0009458, allocations: 173.4 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.676/1.676, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.4217/0.4217, allocations: 43.54 MB / 314.5 MB, free: 8.793 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.0005213/0.0005213, allocations: 22.97 kB / 384 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.12, allocations: 58.85 MB / 442.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.001607/0.1216, allocations: 1.284 MB / 444.1 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004752/0.1221, allocations: 283.9 kB / 444.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.051e-05/0.1221, allocations: 0 / 444.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002202/0.1224, allocations: 91.73 kB / 444.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.1225, allocations: 55.86 kB / 444.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.1227, allocations: 87.77 kB / 444.6 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.1229, allocations: 55.86 kB / 444.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.393e-05/0.123, allocations: 24.44 kB / 444.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.502e-05/0.123, allocations: 27.91 kB / 444.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.862e-05/0.1231, allocations: 47.83 kB / 444.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.1231, allocations: 0 / 444.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.314e-05/0.1232, allocations: 12 kB / 444.8 MB, free: 11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.353e-05/0.1232, allocations: 31.8 kB / 444.8 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.1233, allocations: 37.64 kB / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.1234, allocations: 79.81 kB / 444.9 MB, free: 10.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.1234, allocations: 4 kB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1234, allocations: 0 / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.1234, allocations: 0 / 445 MB, free: 10.84 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00038/0.1238, allocations: 398.9 kB / 445.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.1238, allocations: 8.031 kB / 445.3 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.278e-05/0.1238, allocations: 34.56 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.759e-05/0.1239, allocations: 19.77 kB / 445.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.1241, allocations: 195.6 kB / 445.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.1241, allocations: 0 / 445.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.1241, allocations: 15.94 kB / 445.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.1242, allocations: 75.38 kB / 445.7 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1243, allocations: 0 / 445.7 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.1243, allocations: 4 kB / 445.7 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.1243, allocations: 4 kB / 445.7 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.1244, allocations: 43.86 kB / 445.7 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.1248, allocations: 397 kB / 446.1 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.125, allocations: 93.09 kB / 446.2 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.1251, allocations: 8.078 kB / 446.2 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.1251, allocations: 34.56 kB / 446.3 MB, free: 9.352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.1251, allocations: 0 / 446.3 MB, free: 9.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006567/0.1258, allocations: 261.1 kB / 446.5 MB, free: 9.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.1258, allocations: 77.11 kB / 446.6 MB, free: 8.996 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.126, allocations: 230.3 kB / 446.8 MB, free: 8.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.126, allocations: 29.7 kB / 446.8 MB, free: 8.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.1261, allocations: 112 kB / 446.9 MB, free: 8.613 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.1261, allocations: 31.55 kB / 447 MB, free: 8.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.1262, allocations: 4 kB / 447 MB, free: 8.578 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.443e-05/0.1262, allocations: 322.8 kB / 447.3 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.582e-05/0.1263, allocations: 39.97 kB / 447.3 MB, free: 8.215 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.338e-05/0.1264, allocations: 61.56 kB / 447.4 MB, free: 8.148 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.771e-05/0.1265, allocations: 35.98 kB / 447.4 MB, free: 8.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1265, allocations: 4 kB / 447.4 MB, free: 8.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002244/0.1268, allocations: 141.3 kB / 447.6 MB, free: 7.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.1268, allocations: 4 kB / 447.6 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1268, allocations: 0 / 447.6 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.679e-06/0.1268, allocations: 144 / 447.6 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.193e-05/0.1269, allocations: 23.98 kB / 447.6 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1269, allocations: 0 / 447.6 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.127, allocations: 15.98 kB / 447.6 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.912e-06/0.127, allocations: 0 / 447.6 MB, free: 7.922 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 (10): * Single equations (assignments): 10 * 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 8.825e-05/0.1271, allocations: 141.8 kB / 447.8 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/0.1271, allocations: 11.86 kB / 447.8 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002953/0.1274, allocations: 170.7 kB / 447.9 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1274, allocations: 0 / 447.9 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1274, allocations: 4 kB / 447.9 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.1275, allocations: 0 / 447.9 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005611/0.128, allocations: 0.5063 MB / 448.4 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.128, allocations: 4 kB / 448.4 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.378e-05/0.1281, allocations: 24.02 kB / 448.5 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1281, allocations: 4 kB / 448.5 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.1281, allocations: 0 / 448.5 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.1281, allocations: 0 / 448.5 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1282, allocations: 7.938 kB / 448.5 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.1284, allocations: 334.8 kB / 448.8 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.1285, allocations: 89.02 kB / 448.9 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.1285, allocations: 0 / 448.9 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.1286, allocations: 23.92 kB / 448.9 MB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/0.1287, allocations: 8 kB / 448.9 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.515e-06/0.1287, allocations: 7.984 kB / 448.9 MB, free: 6.469 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.1288, allocations: 172.2 kB / 449.1 MB, free: 6.301 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1288, allocations: 0 / 449.1 MB, free: 6.301 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1291, allocations: 24 kB / 449.1 MB, free: 6.277 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001195/0.1303, allocations: 1.289 MB / 450.4 MB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.1305, allocations: 95.88 kB / 450.5 MB, free: 4.898 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.1305, allocations: 0 / 450.5 MB, free: 4.898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.208e-05/0.1306, allocations: 47.98 kB / 450.6 MB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.1308, allocations: 23.94 kB / 450.6 MB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.132, allocations: 1.002 MB / 451.6 MB, free: 3.773 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.1322, allocations: 0.716 MB / 452.3 MB, free: 3.031 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.986e-05/0.1323, allocations: 24.39 kB / 452.3 MB, free: 3.008 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.041e-05/0.1323, allocations: 39.42 kB / 452.4 MB, free: 2.969 MB / 382.1 MB Notification: Performance of SimCode: time 1.623e-06/0.1323, allocations: 0 / 452.4 MB, free: 2.969 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1971/0.3294, allocations: 2.686 MB / 455 MB, free: 296 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/0.3297, allocations: 213 kB / 455.3 MB, free: 48 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.207, allocations: 0 / 455.3 MB, free: 48 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat does not exist to compare? outputFormat=mat