Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test20",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.0007629/0.000763, 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.0007953/0.0007954, allocations: 176.2 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.477/1.477, allocations: 205.4 MB / 222.8 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.3647/0.3647, allocations: 43.55 MB / 314.6 MB, free: 8.734 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.0005331/0.0005332, allocations: 22.95 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1212, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002088/0.1233, allocations: 1.264 MB / 444.1 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.1249, allocations: 0.8674 MB / 445 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.004e-05/0.125, allocations: 0 / 445 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.1252, allocations: 31.91 kB / 445 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.1255, allocations: 31.92 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.1257, allocations: 59.84 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.1259, allocations: 47.84 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.126, allocations: 12.27 kB / 445.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.834e-05/0.1261, allocations: 15.92 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.1262, allocations: 27.84 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.1262, allocations: 4 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.1264, allocations: 43.98 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.8e-05/0.1264, allocations: 3.984 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.1265, allocations: 37.64 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.1266, allocations: 67.78 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1267, allocations: 0 / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1267, allocations: 4 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1267, allocations: 0 / 445.4 MB, free: 10.42 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.0005299/0.1272, allocations: 359.2 kB / 445.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.1273, allocations: 16.03 kB / 445.7 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.155e-05/0.1273, allocations: 34.56 kB / 445.8 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.1274, allocations: 15.84 kB / 445.8 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.1276, allocations: 190.8 kB / 446 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.1276, allocations: 4 kB / 446 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.1276, allocations: 0 / 446 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.1278, allocations: 67.39 kB / 446.1 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.1278, allocations: 4 kB / 446.1 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1279, allocations: 0 / 446.1 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1279, allocations: 3.953 kB / 446.1 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.424e-05/0.128, allocations: 23.98 kB / 446.1 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003606/0.1283, allocations: 272.8 kB / 446.4 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.1286, allocations: 50.5 kB / 446.4 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.845e-05/0.1286, allocations: 12.86 kB / 446.4 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.1287, allocations: 8.078 kB / 446.4 MB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.1287, allocations: 38.52 kB / 446.5 MB, free: 9.164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.736e-06/0.1287, allocations: 0 / 446.5 MB, free: 9.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005503/0.1293, allocations: 153.4 kB / 446.6 MB, free: 9.008 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.1293, allocations: 77.11 kB / 446.7 MB, free: 8.914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.1295, allocations: 153.7 kB / 446.8 MB, free: 8.754 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1295, allocations: 25.7 kB / 446.9 MB, free: 8.723 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.1296, allocations: 96.05 kB / 447 MB, free: 8.625 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.1296, allocations: 11.8 kB / 447 MB, free: 8.613 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.1296, allocations: 0 / 447 MB, free: 8.613 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1297, allocations: 318.8 kB / 447.3 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.524e-05/0.1298, allocations: 19.98 kB / 447.3 MB, free: 8.273 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.758e-05/0.1299, allocations: 37.7 kB / 447.3 MB, free: 8.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.451e-05/0.1299, allocations: 23.98 kB / 447.4 MB, free: 8.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1299, allocations: 0 / 447.4 MB, free: 8.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001764/0.1301, allocations: 89.61 kB / 447.4 MB, free: 8.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.1302, allocations: 11.95 kB / 447.5 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1302, allocations: 0 / 447.5 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1302, allocations: 3.984 kB / 447.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.125e-05/0.1302, allocations: 15.94 kB / 447.5 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.1303, allocations: 0 / 447.5 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.359e-05/0.1303, allocations: 7.984 kB / 447.5 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.1303, allocations: 8 kB / 447.5 MB, free: 8.066 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.564e-05/0.1304, allocations: 117.8 kB / 447.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.1304, allocations: 0 / 447.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/0.1307, allocations: 105.5 kB / 447.7 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1307, allocations: 4 kB / 447.7 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1308, allocations: 0 / 447.7 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1308, allocations: 0 / 447.7 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004038/0.1312, allocations: 354.5 kB / 448.1 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1312, allocations: 4.328 kB / 448.1 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.154e-05/0.1312, allocations: 15.98 kB / 448.1 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/0.1313, allocations: 4 kB / 448.1 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.1313, allocations: 7.938 kB / 448.1 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1313, allocations: 0 / 448.1 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1313, allocations: 0 / 448.1 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.1315, allocations: 187.4 kB / 448.3 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.1315, allocations: 85.33 kB / 448.4 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.1316, allocations: 8 kB / 448.4 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.413e-05/0.1316, allocations: 7.938 kB / 448.4 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.1317, allocations: 7.969 kB / 448.4 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.1317, allocations: 4 kB / 448.4 MB, free: 7.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.117e-05/0.1318, allocations: 99.27 kB / 448.5 MB, free: 6.973 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1318, allocations: 0 / 448.5 MB, free: 6.973 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.132, allocations: 27.98 kB / 448.5 MB, free: 6.945 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.001456/0.1335, allocations: 1.047 MB / 449.6 MB, free: 5.914 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.1337, allocations: 55.91 kB / 449.6 MB, free: 5.859 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.1337, allocations: 4 kB / 449.6 MB, free: 5.855 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.213e-05/0.1338, allocations: 27.98 kB / 449.6 MB, free: 5.828 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.1341, allocations: 15.73 kB / 449.7 MB, free: 5.816 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009342/0.135, allocations: 0.5219 MB / 450.2 MB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.1353, allocations: 0.6926 MB / 450.9 MB, free: 4.523 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.266e-05/0.1354, allocations: 7.984 kB / 450.9 MB, free: 4.516 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.18e-05/0.1354, allocations: 27.42 kB / 450.9 MB, free: 4.488 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1354, allocations: 0 / 450.9 MB, free: 4.488 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01497/0.1504, allocations: 2.279 MB / 453.2 MB, free: 2.207 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.1507, allocations: 228.8 kB / 453.4 MB, free: 1.957 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/1.841, allocations: 3.938 kB / 453.4 MB, free: 1.953 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat does not exist to compare? outputFormat=mat