Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",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.0009758/0.0009759, allocations: 97.45 kB / 17 MB, free: 6.402 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.001226/0.001227, allocations: 177.3 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.442/1.442, allocations: 223.3 MB / 241.9 MB, free: 14.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2142/0.2142, allocations: 44.22 MB / 337.2 MB, free: 2.551 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003246, allocations: 8 kB / 409.7 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1126, allocations: 61.93 MB / 471.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.001687/0.1143, allocations: 1.274 MB / 472.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006283/0.1149, allocations: 387.5 kB / 473.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.733e-05/0.115, allocations: 0 / 473.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002637/0.1153, allocations: 87.8 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.1154, allocations: 59.86 kB / 473.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.1157, allocations: 99.31 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.1158, allocations: 59.83 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.894e-05/0.1159, allocations: 20.17 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.684e-05/0.116, allocations: 31.84 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.183e-05/0.1161, allocations: 39.89 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.1161, allocations: 0 / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.593e-05/0.1162, allocations: 43.91 kB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.885e-05/0.1163, allocations: 19.92 kB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.1163, allocations: 33.7 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.1164, allocations: 76.11 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1164, allocations: 3.938 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1164, allocations: 0 / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.1164, allocations: 4 kB / 473.9 MB, free: 11.35 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004005/0.1169, allocations: 401.2 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1169, allocations: 8.031 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.925e-05/0.1169, allocations: 38.55 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.117, allocations: 11.81 kB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.1172, allocations: 199.5 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.283e-06/0.1172, allocations: 0 / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.1172, allocations: 11.95 kB / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.1173, allocations: 57.61 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1173, allocations: 4 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1174, allocations: 4 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1174, allocations: 0 / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.096e-05/0.1175, allocations: 27.98 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.1178, allocations: 308.7 kB / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.118, allocations: 50.5 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.919e-05/0.118, allocations: 20.94 kB / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.118, allocations: 4 kB / 475 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.1181, allocations: 34.56 kB / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1181, allocations: 0 / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008195/0.1189, allocations: 265 kB / 475.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.1189, allocations: 55.41 kB / 475.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.1192, allocations: 228 kB / 475.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.1192, allocations: 29.7 kB / 475.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.1192, allocations: 112 kB / 475.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.1193, allocations: 23.72 kB / 475.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.1193, allocations: 8 kB / 475.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1194, allocations: 326.8 kB / 476.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.19e-05/0.1195, allocations: 35.97 kB / 476.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.104e-05/0.1196, allocations: 35.92 kB / 476.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.143e-05/0.1196, allocations: 35.98 kB / 476.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1197, allocations: 0 / 476.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002115/0.1199, allocations: 125.5 kB / 476.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1199, allocations: 4 kB / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.1199, allocations: 0 / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.1199, allocations: 0 / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.698e-05/0.12, allocations: 19.98 kB / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.12, allocations: 0 / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.101e-05/0.1201, allocations: 12 kB / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1201, allocations: 0 / 476.3 MB, free: 8.676 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 (8): * Single equations (assignments): 8 * 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.906e-05/0.1202, allocations: 142.2 kB / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.1202, allocations: 11.91 kB / 476.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/0.1205, allocations: 134.9 kB / 476.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1205, allocations: 432 / 476.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1205, allocations: 8 kB / 476.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1205, allocations: 4 kB / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.121, allocations: 423.2 kB / 477 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.121, allocations: 4 kB / 477 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.012e-05/0.1211, allocations: 27.91 kB / 477.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1211, allocations: 3.984 kB / 477.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1211, allocations: 7.984 kB / 477.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1211, allocations: 0 / 477.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1211, allocations: 7.953 kB / 477.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.1214, allocations: 228.6 kB / 477.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.1214, allocations: 85.02 kB / 477.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.1215, allocations: 7.984 kB / 477.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.994e-05/0.1215, allocations: 8 kB / 477.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.1216, allocations: 11.94 kB / 477.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.1216, allocations: 0 / 477.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.1217, allocations: 175.5 kB / 477.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.323e-06/0.1217, allocations: 0 / 477.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.122, allocations: 27.92 kB / 477.6 MB, free: 7.277 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * 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.001331/0.1233, allocations: 1.083 MB / 478.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.1235, allocations: 87.89 kB / 478.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1236, allocations: 0 / 478.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.366e-05/0.1237, allocations: 43.97 kB / 478.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.124, allocations: 12 kB / 478.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.1251, allocations: 0.8179 MB / 479.6 MB, free: 5.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.1254, allocations: 0.7199 MB / 480.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.219e-05/0.1254, allocations: 20.95 kB / 480.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.744e-05/0.1255, allocations: 39.42 kB / 480.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1255, allocations: 3.938 kB / 480.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01225/0.1378, allocations: 2.698 MB / 483.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/0.138, allocations: 218.4 kB / 483.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/2.07, allocations: 0 / 483.3 MB, free: 1.715 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat does not exist to compare? outputFormat=mat