Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.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.CombiTable2D.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test28",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.001145/0.001145, allocations: 98.23 kB / 15.69 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.001554/0.001555, allocations: 173.8 kB / 16.56 MB, free: 6.375 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.652/1.652, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.3676/0.3676, allocations: 43.54 MB / 314.5 MB, free: 8.801 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.0004788/0.0004789, allocations: 12 kB / 384 MB, free: 7.938 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1135, allocations: 58.85 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test28): time 0.002342/0.1159, allocations: 1.326 MB / 444.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006146/0.1165, allocations: 271.8 kB / 444.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.386e-05/0.1166, allocations: 0 / 444.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002716/0.1169, allocations: 55.84 kB / 444.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.1171, allocations: 43.89 kB / 444.5 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.1174, allocations: 103.7 kB / 444.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.1175, allocations: 47.88 kB / 444.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.1177, allocations: 8.188 kB / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.376e-05/0.1177, allocations: 27.91 kB / 444.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.489e-05/0.1178, allocations: 35.83 kB / 444.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.1179, allocations: 4 kB / 444.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.493e-05/0.118, allocations: 23.94 kB / 444.8 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.402e-05/0.118, allocations: 15.92 kB / 444.8 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.533e-05/0.1181, allocations: 33.7 kB / 444.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.1182, allocations: 76.03 kB / 444.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.1182, allocations: 0 / 444.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1182, allocations: 0 / 444.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.1182, allocations: 0 / 444.9 MB, free: 10.9 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006139/0.1189, allocations: 398.9 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1189, allocations: 16.02 kB / 445.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.429e-05/0.119, allocations: 34.56 kB / 445.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.1191, allocations: 11.86 kB / 445.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.1193, allocations: 190.9 kB / 445.5 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.1193, allocations: 0 / 445.5 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.1193, allocations: 4 kB / 445.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.1195, allocations: 65.55 kB / 445.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1195, allocations: 4 kB / 445.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.1195, allocations: 0 / 445.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1195, allocations: 4 kB / 445.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.1197, allocations: 47.91 kB / 445.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000528/0.1202, allocations: 292.8 kB / 445.9 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.1204, allocations: 50.5 kB / 446 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.1204, allocations: 0 / 446 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.1204, allocations: 34.64 kB / 446 MB, free: 9.602 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1204, allocations: 4 kB / 446 MB, free: 9.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007691/0.1212, allocations: 237.1 kB / 446.3 MB, free: 9.359 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.1213, allocations: 55.41 kB / 446.3 MB, free: 9.293 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.1214, allocations: 190.1 kB / 446.5 MB, free: 9.098 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.1215, allocations: 29.7 kB / 446.5 MB, free: 9.062 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.268e-05/0.1216, allocations: 112.1 kB / 446.6 MB, free: 8.949 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.1216, allocations: 19.77 kB / 446.7 MB, free: 8.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/0.1216, allocations: 4 kB / 446.7 MB, free: 8.926 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003335/0.1219, allocations: 318.8 kB / 447 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.1221, allocations: 43.97 kB / 447 MB, free: 8.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.1223, allocations: 35.97 kB / 447.1 MB, free: 8.527 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.1224, allocations: 43.97 kB / 447.1 MB, free: 8.484 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1224, allocations: 4 kB / 447.1 MB, free: 8.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002859/0.1227, allocations: 133.7 kB / 447.2 MB, free: 8.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1227, allocations: 11.95 kB / 447.2 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1227, allocations: 0 / 447.2 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1228, allocations: 288 / 447.2 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.1229, allocations: 23.98 kB / 447.3 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1229, allocations: 0 / 447.3 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.018e-05/0.123, allocations: 11.98 kB / 447.3 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.123, allocations: 4 kB / 447.3 MB, free: 8.293 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 (7): * Single equations (assignments): 7 * 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.008e-05/0.1231, allocations: 133.8 kB / 447.4 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.1231, allocations: 15.8 kB / 447.4 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004295/0.1236, allocations: 150.2 kB / 447.6 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1236, allocations: 0 / 447.6 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1236, allocations: 0 / 447.6 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1236, allocations: 0 / 447.6 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005414/0.1241, allocations: 410.5 kB / 448 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1241, allocations: 3.953 kB / 448 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.291e-05/0.1242, allocations: 27.92 kB / 448 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1243, allocations: 7.938 kB / 448 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.1243, allocations: 3.984 kB / 448 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1243, allocations: 4 kB / 448 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1243, allocations: 0 / 448 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004715/0.1248, allocations: 223.4 kB / 448.2 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.1248, allocations: 96.88 kB / 448.3 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.1248, allocations: 0 / 448.3 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.079e-05/0.125, allocations: 15.98 kB / 448.3 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.125, allocations: 7.984 kB / 448.4 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-06/0.125, allocations: 4 kB / 448.4 MB, free: 7.109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.1251, allocations: 148.1 kB / 448.5 MB, free: 6.965 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1251, allocations: 0 / 448.5 MB, free: 6.965 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002426/0.1254, allocations: 24 kB / 448.5 MB, free: 6.941 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 (7): * Single equations (assignments): 7 * 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.001647/0.127, allocations: 1.048 MB / 449.6 MB, free: 5.906 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000284/0.1273, allocations: 103.8 kB / 449.7 MB, free: 5.805 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1273, allocations: 0 / 449.7 MB, free: 5.805 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.1275, allocations: 55.97 kB / 449.7 MB, free: 5.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.1277, allocations: 11.98 kB / 449.7 MB, free: 5.738 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.1291, allocations: 0.7453 MB / 450.5 MB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/0.1296, allocations: 0.705 MB / 451.2 MB, free: 4.215 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.423e-05/0.1297, allocations: 20.64 kB / 451.2 MB, free: 4.195 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/0.1297, allocations: 27.42 kB / 451.2 MB, free: 4.168 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1297, allocations: 0 / 451.2 MB, free: 4.168 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01311/0.1428, allocations: 2.463 MB / 453.7 MB, free: 1.711 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/0.1431, allocations: 214.2 kB / 453.9 MB, free: 1.469 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/1.856, allocations: 0 / 453.9 MB, free: 1.469 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28_res.mat does not exist to compare? outputFormat=mat