Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 177.7 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009016/0.0009016, allocations: 96.78 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3453/0.3453, allocations: 44.21 MB / 387.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003144/0.0003143, allocations: 8 kB / 460 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.308, allocations: 61.9 MB / 0.5096 GB, free: 38.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1155/0.4235, allocations: 87.95 MB / 0.5955 GB, free: 7.156 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.4239, allocations: 83.88 kB / 0.5956 GB, free: 7.082 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009795/0.4337, allocations: 3.679 MB / 0.5992 GB, free: 3.398 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4337, allocations: 0 / 0.5992 GB, free: 3.398 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.4337, allocations: 0 / 0.5992 GB, free: 3.398 MB / 410.7 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.000408/0.4342, allocations: 383 kB / 0.5996 GB, free: 2.977 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.4342, allocations: 8.031 kB / 0.5996 GB, free: 2.969 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.4343, allocations: 38.56 kB / 0.5996 GB, free: 2.922 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.4343, allocations: 7.906 kB / 0.5996 GB, free: 2.914 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.4345, allocations: 190.9 kB / 0.5998 GB, free: 2.688 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.4345, allocations: 4 kB / 0.5998 GB, free: 2.684 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.4345, allocations: 3.953 kB / 0.5998 GB, free: 2.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.4347, allocations: 53.67 kB / 0.5999 GB, free: 2.621 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.4347, allocations: 0 / 0.5999 GB, free: 2.621 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.4347, allocations: 0 / 0.5999 GB, free: 2.621 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.4347, allocations: 0 / 0.5999 GB, free: 2.621 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.713e-05/0.4348, allocations: 31.98 kB / 0.5999 GB, free: 2.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/0.4353, allocations: 272.8 kB / 0.6001 GB, free: 2.273 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.4355, allocations: 46.5 kB / 0.6002 GB, free: 2.219 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.4355, allocations: 7.938 kB / 0.6002 GB, free: 2.211 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.4356, allocations: 30.56 kB / 0.6002 GB, free: 2.172 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.4356, allocations: 0 / 0.6002 GB, free: 2.172 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005583/0.4361, allocations: 161.4 kB / 0.6004 GB, free: 2.008 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.4362, allocations: 51.41 kB / 0.6004 GB, free: 1.945 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.4363, allocations: 130.9 kB / 0.6006 GB, free: 1.809 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.4363, allocations: 25.7 kB / 0.6006 GB, free: 1.777 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.299e-05/0.4364, allocations: 96.12 kB / 0.6007 GB, free: 1.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.4365, allocations: 15.72 kB / 0.6007 GB, free: 1.664 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.4365, allocations: 0 / 0.6007 GB, free: 1.664 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4366, allocations: 330.8 kB / 0.601 GB, free: 1.332 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.857e-05/0.4367, allocations: 15.98 kB / 0.601 GB, free: 1.316 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.764e-05/0.4367, allocations: 23.98 kB / 0.601 GB, free: 1.293 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.869e-05/0.4368, allocations: 27.94 kB / 0.6011 GB, free: 1.266 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.4368, allocations: 0 / 0.6011 GB, free: 1.266 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001827/0.437, allocations: 89.59 kB / 0.6011 GB, free: 1.172 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.437, allocations: 5.25 kB / 0.6012 GB, free: 1.168 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.437, allocations: 0 / 0.6012 GB, free: 1.168 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.4371, allocations: 4.25 kB / 0.6012 GB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.651e-05/0.4371, allocations: 15.98 kB / 0.6012 GB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.4371, allocations: 8 kB / 0.6012 GB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.162e-05/0.4372, allocations: 7.906 kB / 0.6012 GB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.4372, allocations: 0 / 0.6012 GB, free: 1.133 MB / 410.7 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.483e-05/0.4373, allocations: 122.3 kB / 0.6013 GB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.4373, allocations: 4 kB / 0.6013 GB, free: 1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.4376, allocations: 113.8 kB / 0.6014 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4376, allocations: 0 / 0.6014 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.4376, allocations: 0 / 0.6014 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.4376, allocations: 0 / 0.6014 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004086/0.438, allocations: 354.5 kB / 0.6018 GB, free: 492 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.438, allocations: 0 / 0.6018 GB, free: 492 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.538e-05/0.4381, allocations: 15.98 kB / 0.6018 GB, free: 476 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4381, allocations: 0 / 0.6018 GB, free: 476 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.4381, allocations: 4 kB / 0.6018 GB, free: 472 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.4381, allocations: 0 / 0.6018 GB, free: 472 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4381, allocations: 3.938 kB / 0.6018 GB, free: 468 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.4383, allocations: 187.4 kB / 0.602 GB, free: 264 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.4384, allocations: 85.09 kB / 0.602 GB, free: 160 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.4384, allocations: 0 / 0.602 GB, free: 160 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.475e-05/0.4385, allocations: 4 kB / 0.602 GB, free: 156 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.4385, allocations: 11.98 kB / 0.6021 GB, free: 144 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.4386, allocations: 0 / 0.6021 GB, free: 144 kB / 410.7 MB Notification: Performance of sorting global known variables: time 8.978e-05/0.4386, allocations: 117.9 kB / 0.6022 GB, free: 28 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4387, allocations: 0 / 0.6022 GB, free: 28 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002305/0.4389, allocations: 19.98 kB / 0.6022 GB, free: 8 kB / 410.7 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.00133/0.4402, allocations: 1.03 MB / 0.6032 GB, free: 15.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.4405, allocations: 51.91 kB / 0.6032 GB, free: 15.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.4405, allocations: 4 kB / 0.6032 GB, free: 15.06 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.537e-05/0.4406, allocations: 31.92 kB / 0.6033 GB, free: 15.03 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.4408, allocations: 15.98 kB / 0.6033 GB, free: 15.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009475/0.4417, allocations: 0.5418 MB / 0.6038 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.442, allocations: 0.7004 MB / 0.6045 GB, free: 13.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.818e-05/0.4421, allocations: 8.438 kB / 0.6045 GB, free: 13.69 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.495e-05/0.4422, allocations: 19.5 kB / 0.6045 GB, free: 13.67 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4422, allocations: 0 / 0.6045 GB, free: 13.67 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01317/0.4553, allocations: 2.029 MB / 0.6065 GB, free: 11.76 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/0.4556, allocations: 215.4 kB / 0.6067 GB, free: 11.52 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.506/1.962, allocations: 0 / 0.6067 GB, free: 11.52 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat does not exist to compare? outputFormat=mat