Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test27,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test27",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.002175/0.002175, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.031/2.031, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 95.62 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2939/0.2939, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.479e-05/3.494e-05, allocations: 224 / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4349/0.435, allocations: 58.86 MB / 477.2 MB, free: 5.285 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1639/0.599, allocations: 85.74 MB / 0.5497 GB, free: 13.54 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.5993, allocations: 67.97 kB / 0.5498 GB, free: 13.47 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01781/0.6172, allocations: 4.13 MB / 0.5538 GB, free: 9.344 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.6172, allocations: 0 / 0.5538 GB, free: 9.344 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.179e-05/0.6172, allocations: 4 kB / 0.5538 GB, free: 9.34 MB / 395.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.0005343/0.6178, allocations: 402.8 kB / 0.5542 GB, free: 8.902 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.6179, allocations: 12.03 kB / 0.5542 GB, free: 8.891 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.6179, allocations: 11.81 kB / 0.5542 GB, free: 8.879 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.6183, allocations: 218.6 kB / 0.5544 GB, free: 8.625 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.6183, allocations: 4 kB / 0.5544 GB, free: 8.621 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.6183, allocations: 4 kB / 0.5545 GB, free: 8.617 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.389e-05/0.6185, allocations: 15.98 kB / 0.5545 GB, free: 8.602 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.653e-05/0.6186, allocations: 41.69 kB / 0.5545 GB, free: 8.555 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.6186, allocations: 0 / 0.5545 GB, free: 8.555 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.6186, allocations: 0 / 0.5545 GB, free: 8.555 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.6186, allocations: 0 / 0.5545 GB, free: 8.555 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005559/0.6192, allocations: 289.3 kB / 0.5548 GB, free: 8.234 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.6194, allocations: 42.5 kB / 0.5548 GB, free: 8.184 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.45e-05/0.6195, allocations: 16.84 kB / 0.5548 GB, free: 8.164 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.6195, allocations: 0 / 0.5548 GB, free: 8.164 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.6196, allocations: 34.56 kB / 0.5549 GB, free: 8.121 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.6196, allocations: 0 / 0.5549 GB, free: 8.121 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005472/0.6201, allocations: 121.2 kB / 0.555 GB, free: 7.996 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.6202, allocations: 59.36 kB / 0.555 GB, free: 7.926 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003892/0.6206, allocations: 225.7 kB / 0.5553 GB, free: 7.699 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.6206, allocations: 25.7 kB / 0.5553 GB, free: 7.668 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.6207, allocations: 170.5 kB / 0.5554 GB, free: 7.5 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.6208, allocations: 19.73 kB / 0.5555 GB, free: 7.48 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/0.6208, allocations: 0 / 0.5555 GB, free: 7.48 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.6209, allocations: 310.8 kB / 0.5558 GB, free: 7.168 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.986e-05/0.621, allocations: 16 kB / 0.5558 GB, free: 7.152 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.406e-05/0.6211, allocations: 12 kB / 0.5558 GB, free: 7.141 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.815e-05/0.6211, allocations: 12.14 kB / 0.5558 GB, free: 7.129 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.6211, allocations: 0 / 0.5558 GB, free: 7.129 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001506/0.6213, allocations: 69.53 kB / 0.5559 GB, free: 7.055 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.6214, allocations: 8 kB / 0.5559 GB, free: 7.047 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.6214, allocations: 256 / 0.5559 GB, free: 7.047 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.6214, allocations: 0 / 0.5559 GB, free: 7.047 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.6215, allocations: 19.98 kB / 0.5559 GB, free: 7.027 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.6215, allocations: 4 kB / 0.5559 GB, free: 7.023 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.061e-05/0.6216, allocations: 7.953 kB / 0.5559 GB, free: 7.016 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.6217, allocations: 0 / 0.5559 GB, free: 7.016 MB / 395.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 () * 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.208e-05/0.6218, allocations: 105 kB / 0.556 GB, free: 6.906 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000172/0.6219, allocations: 69.53 kB / 0.5561 GB, free: 6.832 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.639e-05/0.622, allocations: 19.8 kB / 0.5561 GB, free: 6.812 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.6222, allocations: 83.28 kB / 0.5562 GB, free: 6.727 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.6223, allocations: 4 kB / 0.5562 GB, free: 6.723 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.6223, allocations: 7.953 kB / 0.5562 GB, free: 6.715 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.6223, allocations: 0 / 0.5562 GB, free: 6.715 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005699/0.6229, allocations: 343.1 kB / 0.5565 GB, free: 6.336 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.6229, allocations: 7.984 kB / 0.5565 GB, free: 6.328 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.623, allocations: 8 kB / 0.5565 GB, free: 6.32 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.623, allocations: 4 kB / 0.5565 GB, free: 6.316 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.623, allocations: 0 / 0.5565 GB, free: 6.316 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.6231, allocations: 3.953 kB / 0.5565 GB, free: 6.312 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6231, allocations: 4 kB / 0.5565 GB, free: 6.309 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.6233, allocations: 171.3 kB / 0.5567 GB, free: 6.125 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.6234, allocations: 96.92 kB / 0.5568 GB, free: 6.012 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.6235, allocations: 256 / 0.5568 GB, free: 6.012 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.6236, allocations: 19.92 kB / 0.5568 GB, free: 5.992 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.6237, allocations: 7.953 kB / 0.5568 GB, free: 5.984 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.6237, allocations: 7.938 kB / 0.5568 GB, free: 5.977 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002636/0.624, allocations: 196.2 kB / 0.557 GB, free: 5.785 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.624, allocations: 4 kB / 0.557 GB, free: 5.781 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.000367/0.6244, allocations: 24 kB / 0.557 GB, free: 5.758 MB / 395.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 () * 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.001467/0.6258, allocations: 0.9225 MB / 0.5579 GB, free: 4.848 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.000154/0.626, allocations: 35.92 kB / 0.558 GB, free: 4.812 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.626, allocations: 0 / 0.558 GB, free: 4.812 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.823e-05/0.6261, allocations: 16.12 kB / 0.558 GB, free: 4.797 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.6264, allocations: 24.05 kB / 0.558 GB, free: 4.77 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008737/0.6273, allocations: 300.2 kB / 0.5583 GB, free: 4.434 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.6277, allocations: 0.7236 MB / 0.559 GB, free: 3.684 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.6278, allocations: 35.42 kB / 0.559 GB, free: 3.648 MB / 395.1 MB Notification: Performance of SimCode: time 9.22e-07/0.6279, allocations: 4 kB / 0.559 GB, free: 3.645 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.674/3.302, allocations: 2.458 MB / 0.5614 GB, free: 1.191 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test27.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27_res.mat does not exist to compare? outputFormat=mat