Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.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.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29",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.001635/0.001635, allocations: 184.4 kB / 16.41 MB, free: 5.703 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.053/2.053, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001656/0.001656, allocations: 82.12 kB / 270.9 MB, free: 8.395 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.5245/0.5245, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000501/0.0005006, allocations: 16 kB / 431.5 MB, free: 6.082 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1414, allocations: 58.85 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.489/0.6305, allocations: 86.42 MB / 0.5632 GB, free: 156 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.6308, allocations: 77.08 kB / 0.5633 GB, free: 80 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01762/0.6485, allocations: 3.911 MB / 0.5671 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6485, allocations: 0 / 0.5671 GB, free: 12.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.116e-05/0.6486, allocations: 3.984 kB / 0.5671 GB, free: 12.2 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005863/0.6492, allocations: 398.7 kB / 0.5675 GB, free: 11.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.6492, allocations: 12.03 kB / 0.5675 GB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.933e-05/0.6493, allocations: 30.56 kB / 0.5675 GB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.6493, allocations: 15.34 kB / 0.5676 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.6496, allocations: 196.1 kB / 0.5677 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.6497, allocations: 7.984 kB / 0.5678 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.6497, allocations: 4 kB / 0.5678 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.6499, allocations: 64.19 kB / 0.5678 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.65, allocations: 0.9375 kB / 0.5678 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.65, allocations: 4 kB / 0.5678 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.65, allocations: 0 / 0.5678 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.6502, allocations: 37 kB / 0.5679 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/0.6507, allocations: 296.8 kB / 0.5681 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.6509, allocations: 54.5 kB / 0.5682 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.651, allocations: 3.984 kB / 0.5682 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.651, allocations: 34.56 kB / 0.5682 GB, free: 10.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.854e-06/0.651, allocations: 4 kB / 0.5682 GB, free: 10.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009713/0.652, allocations: 193.6 kB / 0.5684 GB, free: 10.71 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.6521, allocations: 58.5 kB / 0.5685 GB, free: 10.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.6523, allocations: 144.3 kB / 0.5686 GB, free: 10.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.6523, allocations: 25.7 kB / 0.5686 GB, free: 10.46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.674e-05/0.6524, allocations: 162.5 kB / 0.5688 GB, free: 10.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.6525, allocations: 23.62 kB / 0.5688 GB, free: 10.28 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.6525, allocations: 0 / 0.5688 GB, free: 10.28 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.6526, allocations: 318.8 kB / 0.5691 GB, free: 9.961 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.6528, allocations: 31.98 kB / 0.5692 GB, free: 9.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.6529, allocations: 23.98 kB / 0.5692 GB, free: 9.906 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.6531, allocations: 31.98 kB / 0.5692 GB, free: 9.875 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6531, allocations: 0 / 0.5692 GB, free: 9.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003744/0.6535, allocations: 97.61 kB / 0.5693 GB, free: 9.773 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.6535, allocations: 11.98 kB / 0.5693 GB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.6536, allocations: 0 / 0.5693 GB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.6536, allocations: 0 / 0.5693 GB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.6538, allocations: 16 kB / 0.5693 GB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.6538, allocations: 7.938 kB / 0.5693 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.605e-05/0.6539, allocations: 19.94 kB / 0.5694 GB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.654, allocations: 4 kB / 0.5694 GB, free: 9.715 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 (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 0.0001432/0.6541, allocations: 117.8 kB / 0.5695 GB, free: 9.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.737e-05/0.6542, allocations: 11.89 kB / 0.5695 GB, free: 9.578 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004906/0.6547, allocations: 139.3 kB / 0.5696 GB, free: 9.438 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.6547, allocations: 0 / 0.5696 GB, free: 9.438 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6547, allocations: 0 / 0.5696 GB, free: 9.438 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.6547, allocations: 11.92 kB / 0.5696 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008133/0.6555, allocations: 394.5 kB / 0.57 GB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6556, allocations: 4 kB / 0.57 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.6557, allocations: 19.98 kB / 0.57 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.6558, allocations: 0 / 0.57 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.6558, allocations: 7.953 kB / 0.57 GB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.6558, allocations: 0 / 0.57 GB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.6558, allocations: 0 / 0.57 GB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/0.6562, allocations: 199.4 kB / 0.5702 GB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.321e-05/0.6563, allocations: 90.23 kB / 0.5703 GB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.6564, allocations: 3.938 kB / 0.5703 GB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.6565, allocations: 15.94 kB / 0.5703 GB, free: 8.617 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.6566, allocations: 7.984 kB / 0.5703 GB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.6566, allocations: 4 kB / 0.5703 GB, free: 8.605 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001467/0.6567, allocations: 116.8 kB / 0.5704 GB, free: 8.492 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6567, allocations: 0 / 0.5704 GB, free: 8.492 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000344/0.6571, allocations: 23.98 kB / 0.5705 GB, free: 8.469 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 (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.001948/0.6591, allocations: 1.038 MB / 0.5715 GB, free: 7.504 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003864/0.6595, allocations: 71.89 kB / 0.5716 GB, free: 7.434 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.6595, allocations: 0 / 0.5716 GB, free: 7.434 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.6597, allocations: 39.98 kB / 0.5716 GB, free: 7.395 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.66, allocations: 15.94 kB / 0.5716 GB, free: 7.379 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.6617, allocations: 0.6585 MB / 0.5722 GB, free: 6.676 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.6622, allocations: 0.7043 MB / 0.5729 GB, free: 5.945 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.6623, allocations: 31.42 kB / 0.573 GB, free: 5.914 MB / 394.7 MB Notification: Performance of SimCode: time 1.172e-06/0.6623, allocations: 3.938 kB / 0.573 GB, free: 5.91 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.701/3.363, allocations: 1.982 MB / 0.5749 GB, free: 3.93 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat does not exist to compare? outputFormat=mat