Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",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.0008725/0.0008726, allocations: 96.42 kB / 17 MB, free: 6.418 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.0008672/0.0008673, allocations: 191.4 kB / 17.89 MB, free: 5.945 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.419/1.419, allocations: 223.2 MB / 241.9 MB, free: 260 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.1958/0.1958, allocations: 44.22 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003164, allocations: 12 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1297, allocations: 61.91 MB / 471.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.001836/0.1316, allocations: 1.266 MB / 472.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006623/0.1323, allocations: 371.5 kB / 473.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.675e-05/0.1323, allocations: 0 / 473.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002012/0.1326, allocations: 27.91 kB / 473.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.1327, allocations: 23.92 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.133, allocations: 75.84 kB / 473.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.1331, allocations: 47.84 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.338e-05/0.1332, allocations: 15.98 kB / 473.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.226e-05/0.1332, allocations: 23.91 kB / 473.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.759e-05/0.1333, allocations: 11.88 kB / 473.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1333, allocations: 4 kB / 473.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.703e-05/0.1334, allocations: 23.98 kB / 473.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.344e-05/0.1334, allocations: 7.938 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.1335, allocations: 37.69 kB / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.1336, allocations: 60.19 kB / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1336, allocations: 0 / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.037e-06/0.1336, allocations: 0 / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1336, allocations: 7.938 kB / 473.6 MB, free: 11.64 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.0004402/0.1341, allocations: 371.1 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.1341, allocations: 8.031 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.682e-05/0.1342, allocations: 42.5 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.32e-05/0.1342, allocations: 3.906 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.1344, allocations: 197.1 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.1344, allocations: 0 / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.1344, allocations: 0 / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.1346, allocations: 49.69 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1346, allocations: 0 / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.1346, allocations: 7.938 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.1346, allocations: 0 / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.1347, allocations: 23.98 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.1351, allocations: 288.8 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.1353, allocations: 38.56 kB / 474.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.866e-05/0.1353, allocations: 20.88 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.1353, allocations: 4 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.1354, allocations: 34.56 kB / 474.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1354, allocations: 4 kB / 474.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005/0.1359, allocations: 153.3 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.1359, allocations: 59.41 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.1361, allocations: 168.7 kB / 475.1 MB, free: 10 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.1361, allocations: 25.7 kB / 475.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.1362, allocations: 100.1 kB / 475.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.1362, allocations: 11.75 kB / 475.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.1362, allocations: 0 / 475.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.1363, allocations: 322.8 kB / 475.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.373e-05/0.1364, allocations: 23.98 kB / 475.5 MB, free: 9.512 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.469e-05/0.1364, allocations: 23.98 kB / 475.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.447e-05/0.1365, allocations: 28.17 kB / 475.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1365, allocations: 0 / 475.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000187/0.1367, allocations: 89.52 kB / 475.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1367, allocations: 8 kB / 475.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1367, allocations: 0 / 475.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.1368, allocations: 0 / 475.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.118e-05/0.1368, allocations: 19.98 kB / 475.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1368, allocations: 0 / 475.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.918e-05/0.1369, allocations: 15.89 kB / 475.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.1369, allocations: 0 / 475.7 MB, free: 9.324 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 9.274e-05/0.137, allocations: 122.4 kB / 475.8 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.137, allocations: 7.906 kB / 475.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.1372, allocations: 101.9 kB / 476 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1373, allocations: 4 kB / 476 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1373, allocations: 0 / 476 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1373, allocations: 0 / 476 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003816/0.1377, allocations: 354.4 kB / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1377, allocations: 0 / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.077e-05/0.1377, allocations: 20.22 kB / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1377, allocations: 0 / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.1378, allocations: 0 / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.1378, allocations: 4 kB / 476.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1378, allocations: 7.891 kB / 476.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.138, allocations: 187.6 kB / 476.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/0.138, allocations: 89.02 kB / 476.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.138, allocations: 8.047 kB / 476.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.281e-05/0.1381, allocations: 8 kB / 476.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.1382, allocations: 3.953 kB / 476.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.1382, allocations: 0 / 476.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.889e-05/0.1383, allocations: 131.2 kB / 476.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1383, allocations: 4 kB / 476.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000233/0.1385, allocations: 20 kB / 476.8 MB, free: 8.168 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.001176/0.1397, allocations: 1.011 MB / 477.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.1399, allocations: 51.97 kB / 477.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1399, allocations: 0 / 477.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.95e-05/0.1399, allocations: 35.92 kB / 477.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.1403, allocations: 23.94 kB / 477.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009358/0.1412, allocations: 0.5927 MB / 478.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.1414, allocations: 0.6965 MB / 479.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.032e-05/0.1415, allocations: 19.92 kB / 479.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.61e-05/0.1415, allocations: 23.42 kB / 479.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1416, allocations: 0 / 479.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01248/0.154, allocations: 2.141 MB / 481.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/0.1543, allocations: 212.7 kB / 481.6 MB, free: 3.516 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.04, allocations: 0 / 481.6 MB, free: 3.516 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat does not exist to compare? outputFormat=mat