Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002253/0.002252, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.395/2.395, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001242/0.001242, allocations: 94.34 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.6349/0.6349, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004675, allocations: 20 kB / 431.5 MB, free: 6.082 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1316, allocations: 58.84 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4614/0.5931, allocations: 86.5 MB / 0.5633 GB, free: 68 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/0.5935, allocations: 75.95 kB / 0.5634 GB, free: 15.99 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01746/0.6109, allocations: 3.99 MB / 0.5673 GB, free: 12.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.611, allocations: 0 / 0.5673 GB, free: 12.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.611, allocations: 0 / 0.5673 GB, free: 12.04 MB / 394.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.0006136/0.6116, allocations: 419.9 kB / 0.5677 GB, free: 11.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.6117, allocations: 8.031 kB / 0.5677 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.322e-05/0.6118, allocations: 30.56 kB / 0.5677 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.6118, allocations: 15.34 kB / 0.5677 GB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.6121, allocations: 207.3 kB / 0.5679 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.6122, allocations: 11.94 kB / 0.5679 GB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.6122, allocations: 4 kB / 0.5679 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.6124, allocations: 46.56 kB / 0.568 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.6124, allocations: 0 / 0.568 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.6124, allocations: 0 / 0.568 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.6125, allocations: 0 / 0.568 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.6126, allocations: 29.02 kB / 0.568 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005683/0.6132, allocations: 300.9 kB / 0.5683 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.6135, allocations: 54.48 kB / 0.5683 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.6136, allocations: 0 / 0.5683 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.6136, allocations: 38.56 kB / 0.5684 GB, free: 10.74 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.402e-06/0.6136, allocations: 0 / 0.5684 GB, free: 10.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009403/0.6146, allocations: 181.2 kB / 0.5686 GB, free: 10.56 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.141e-05/0.6147, allocations: 55.36 kB / 0.5686 GB, free: 10.49 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003481/0.615, allocations: 202 kB / 0.5688 GB, free: 10.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.615, allocations: 25.7 kB / 0.5688 GB, free: 10.26 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.457e-05/0.6152, allocations: 170.4 kB / 0.569 GB, free: 10.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.6152, allocations: 15.8 kB / 0.569 GB, free: 10.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-06/0.6152, allocations: 0 / 0.569 GB, free: 10.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.6154, allocations: 315.1 kB / 0.5693 GB, free: 9.758 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.6155, allocations: 27.98 kB / 0.5693 GB, free: 9.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.6157, allocations: 23.98 kB / 0.5693 GB, free: 9.707 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.6158, allocations: 23.98 kB / 0.5694 GB, free: 9.684 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.6158, allocations: 0 / 0.5694 GB, free: 9.684 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003442/0.6162, allocations: 97.59 kB / 0.5695 GB, free: 9.582 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.6162, allocations: 6.969 kB / 0.5695 GB, free: 9.578 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.6162, allocations: 0 / 0.5695 GB, free: 9.578 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.6163, allocations: 0 / 0.5695 GB, free: 9.578 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.6164, allocations: 15.98 kB / 0.5695 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.6164, allocations: 0 / 0.5695 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.795e-05/0.6165, allocations: 15.95 kB / 0.5695 GB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.6165, allocations: 0 / 0.5695 GB, free: 9.547 MB / 394.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 0.0001522/0.6167, allocations: 133.8 kB / 0.5696 GB, free: 9.406 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.6168, allocations: 11.81 kB / 0.5696 GB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004189/0.6172, allocations: 122.5 kB / 0.5698 GB, free: 9.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.6172, allocations: 0 / 0.5698 GB, free: 9.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6172, allocations: 0 / 0.5698 GB, free: 9.27 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.6172, allocations: 4 kB / 0.5698 GB, free: 9.266 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007672/0.618, allocations: 378.5 kB / 0.5701 GB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.618, allocations: 12.2 kB / 0.5701 GB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.6182, allocations: 12.75 kB / 0.5701 GB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.6182, allocations: 0 / 0.5701 GB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.6182, allocations: 4.375 kB / 0.5702 GB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.6182, allocations: 0 / 0.5702 GB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.6182, allocations: 3.953 kB / 0.5702 GB, free: 8.809 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004175/0.6187, allocations: 207.4 kB / 0.5704 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.752e-05/0.6188, allocations: 96.91 kB / 0.5704 GB, free: 8.477 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.6188, allocations: 4 kB / 0.5704 GB, free: 8.473 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.6189, allocations: 7.938 kB / 0.5705 GB, free: 8.465 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.619, allocations: 7.984 kB / 0.5705 GB, free: 8.457 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-06/0.619, allocations: 3.953 kB / 0.5705 GB, free: 8.453 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002528/0.6193, allocations: 167.7 kB / 0.5706 GB, free: 8.289 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.955e-06/0.6193, allocations: 3.938 kB / 0.5706 GB, free: 8.285 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003384/0.6196, allocations: 27.94 kB / 0.5707 GB, free: 8.258 MB / 394.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.001806/0.6215, allocations: 1.024 MB / 0.5717 GB, free: 7.301 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003903/0.6219, allocations: 55.91 kB / 0.5717 GB, free: 7.246 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6219, allocations: 0 / 0.5717 GB, free: 7.246 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.6221, allocations: 31.98 kB / 0.5717 GB, free: 7.215 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.6224, allocations: 22.17 kB / 0.5718 GB, free: 7.195 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.6243, allocations: 0.785 MB / 0.5725 GB, free: 6.367 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.6248, allocations: 0.7158 MB / 0.5732 GB, free: 5.625 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.6249, allocations: 35.42 kB / 0.5733 GB, free: 5.59 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6249, allocations: 0 / 0.5733 GB, free: 5.59 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.6/3.225, allocations: 2.194 MB / 0.5754 GB, free: 3.395 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test5.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5_res.mat does not exist to compare? outputFormat=mat