Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test31",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.001024/0.001024, allocations: 96.05 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.001186/0.001186, allocations: 175.3 kB / 16.57 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.677/1.677, 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.3537/0.3537, allocations: 43.55 MB / 314.5 MB, free: 8.742 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.0005218/0.0005218, allocations: 16 kB / 384 MB, free: 7.949 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.119, allocations: 58.86 MB / 442.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test31): time 0.001897/0.1209, allocations: 1.257 MB / 444.1 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005075/0.1215, allocations: 287.8 kB / 444.4 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.291e-05/0.1215, allocations: 0 / 444.4 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.1218, allocations: 131.7 kB / 444.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.122, allocations: 67.84 kB / 444.6 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.1222, allocations: 83.75 kB / 444.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.1223, allocations: 55.92 kB / 444.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.166e-05/0.1224, allocations: 12.25 kB / 444.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.751e-05/0.1225, allocations: 43.84 kB / 444.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.1226, allocations: 55.86 kB / 444.8 MB, free: 11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.1227, allocations: 0 / 444.8 MB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.823e-05/0.1227, allocations: 16 kB / 444.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.1228, allocations: 31.89 kB / 444.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.181e-05/0.1228, allocations: 37.64 kB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.1229, allocations: 75.78 kB / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.1229, allocations: 0 / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1229, allocations: 0 / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.123, allocations: 4 kB / 445 MB, free: 10.83 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.0004227/0.1234, allocations: 410.7 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.1234, allocations: 12.03 kB / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.1235, allocations: 34.56 kB / 445.4 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.1235, allocations: 11.86 kB / 445.4 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.1237, allocations: 210.5 kB / 445.6 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.1237, allocations: 4 kB / 445.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.1237, allocations: 3.984 kB / 445.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.1239, allocations: 49.69 kB / 445.7 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1239, allocations: 0 / 445.7 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.1239, allocations: 4 kB / 445.7 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1239, allocations: 7.891 kB / 445.7 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.886e-05/0.124, allocations: 31.91 kB / 445.7 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.1244, allocations: 297 kB / 446 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.1245, allocations: 42.56 kB / 446.1 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.1246, allocations: 0 / 446.1 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.1246, allocations: 42.58 kB / 446.1 MB, free: 9.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.964e-06/0.1246, allocations: 0 / 446.1 MB, free: 9.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005138/0.1251, allocations: 181 kB / 446.3 MB, free: 9.336 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.1252, allocations: 55.34 kB / 446.3 MB, free: 9.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.1254, allocations: 267.3 kB / 446.6 MB, free: 9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.1254, allocations: 25.7 kB / 446.6 MB, free: 8.969 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.668e-05/0.1255, allocations: 116 kB / 446.7 MB, free: 8.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.1255, allocations: 19.73 kB / 446.8 MB, free: 8.832 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-06/0.1255, allocations: 0 / 446.8 MB, free: 8.832 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.1256, allocations: 326.8 kB / 447.1 MB, free: 8.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.736e-05/0.1257, allocations: 19.98 kB / 447.1 MB, free: 8.484 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.58e-05/0.1258, allocations: 27.98 kB / 447.1 MB, free: 8.457 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.288e-05/0.1259, allocations: 31.98 kB / 447.2 MB, free: 8.426 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1259, allocations: 0 / 447.2 MB, free: 8.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000177/0.1261, allocations: 93.56 kB / 447.3 MB, free: 8.328 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1261, allocations: 11.95 kB / 447.3 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1261, allocations: 0 / 447.3 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.1261, allocations: 0 / 447.3 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.531e-05/0.1262, allocations: 23.92 kB / 447.3 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.1262, allocations: 0 / 447.3 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.091e-05/0.1262, allocations: 7.906 kB / 447.3 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.1263, allocations: 0 / 447.3 MB, free: 8.285 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 8.854e-05/0.1263, allocations: 137.8 kB / 447.4 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.1264, allocations: 11.91 kB / 447.4 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.1266, allocations: 118.8 kB / 447.6 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1266, allocations: 0 / 447.6 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1266, allocations: 8 kB / 447.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1267, allocations: 0 / 447.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000401/0.1271, allocations: 382.4 kB / 447.9 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1271, allocations: 0 / 447.9 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.743e-05/0.1271, allocations: 19.94 kB / 448 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1271, allocations: 4 kB / 448 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.1272, allocations: 0 / 448 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1272, allocations: 0 / 448 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1272, allocations: 0 / 448 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.1274, allocations: 199.4 kB / 448.2 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/0.1275, allocations: 88.92 kB / 448.2 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.1275, allocations: 11.83 kB / 448.3 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.925e-05/0.1276, allocations: 11.98 kB / 448.3 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.1276, allocations: 0 / 448.3 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.1276, allocations: 4 kB / 448.3 MB, free: 7.199 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.1278, allocations: 203.4 kB / 448.5 MB, free: 7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1278, allocations: 4 kB / 448.5 MB, free: 6.996 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002284/0.128, allocations: 12 kB / 448.5 MB, free: 6.984 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.001222/0.1292, allocations: 1.035 MB / 449.5 MB, free: 5.961 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.1294, allocations: 51.97 kB / 449.6 MB, free: 5.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1294, allocations: 0 / 449.6 MB, free: 5.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.59e-05/0.1295, allocations: 31.92 kB / 449.6 MB, free: 5.879 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.1298, allocations: 24.12 kB / 449.6 MB, free: 5.855 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.131, allocations: 0.8225 MB / 450.5 MB, free: 4.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.1313, allocations: 0.7238 MB / 451.2 MB, free: 4.234 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.222e-05/0.1314, allocations: 15.97 kB / 451.2 MB, free: 4.219 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.808e-05/0.1314, allocations: 35.42 kB / 451.2 MB, free: 4.184 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1314, allocations: 0 / 451.2 MB, free: 4.184 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05377/0.1852, allocations: 2.572 MB / 453.8 MB, free: 1.617 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002769/0.1856, allocations: 210.1 kB / 454 MB, free: 1.379 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/2.024, allocations: 0 / 454 MB, free: 1.379 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31_res.mat does not exist to compare? outputFormat=mat