Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11",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.001449/0.001449, allocations: 178.1 kB / 8.362 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.374/2.374, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001123/0.001123, allocations: 84.67 kB / 262.1 MB, free: 13.88 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.4107/0.4107, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.824e-05/2.826e-05, allocations: 4 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4834/0.4835, allocations: 58.85 MB / 477.2 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1702/0.6537, allocations: 85.6 MB / 0.5496 GB, free: 13.7 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/0.6541, allocations: 71.47 kB / 0.5496 GB, free: 13.63 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01622/0.6703, allocations: 3.576 MB / 0.5531 GB, free: 10.05 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.6704, allocations: 0 / 0.5531 GB, free: 10.05 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.074e-05/0.6704, allocations: 4 kB / 0.5531 GB, free: 10.05 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.00055/0.671, allocations: 382.9 kB / 0.5535 GB, free: 9.633 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.339e-05/0.6711, allocations: 12.03 kB / 0.5535 GB, free: 9.621 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/0.6711, allocations: 7.906 kB / 0.5535 GB, free: 9.613 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.6715, allocations: 198.8 kB / 0.5537 GB, free: 9.379 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.6715, allocations: 0 / 0.5537 GB, free: 9.379 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.6715, allocations: 0 / 0.5537 GB, free: 9.379 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.395e-05/0.6716, allocations: 15.94 kB / 0.5537 GB, free: 9.363 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.6718, allocations: 41.69 kB / 0.5538 GB, free: 9.316 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.6718, allocations: 0 / 0.5538 GB, free: 9.316 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.6718, allocations: 4 kB / 0.5538 GB, free: 9.312 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.6718, allocations: 0 / 0.5538 GB, free: 9.312 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005073/0.6723, allocations: 253.5 kB / 0.554 GB, free: 9.027 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.6726, allocations: 46.5 kB / 0.5541 GB, free: 8.973 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.744e-05/0.6726, allocations: 12.8 kB / 0.5541 GB, free: 8.957 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.6727, allocations: 4 kB / 0.5541 GB, free: 8.953 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.6727, allocations: 30.56 kB / 0.5541 GB, free: 8.914 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 2.114e-06/0.6727, allocations: 0 / 0.5541 GB, free: 8.914 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005438/0.6733, allocations: 97.47 kB / 0.5542 GB, free: 8.812 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.6734, allocations: 55.36 kB / 0.5543 GB, free: 8.746 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.6736, allocations: 152.2 kB / 0.5544 GB, free: 8.594 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.6736, allocations: 25.7 kB / 0.5544 GB, free: 8.562 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.228e-05/0.6737, allocations: 170.5 kB / 0.5546 GB, free: 8.395 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.6738, allocations: 15.66 kB / 0.5546 GB, free: 8.379 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.6738, allocations: 0 / 0.5546 GB, free: 8.379 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.6739, allocations: 314.8 kB / 0.5549 GB, free: 8.062 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.449e-05/0.674, allocations: 8 kB / 0.5549 GB, free: 8.055 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.145e-05/0.674, allocations: 8 kB / 0.5549 GB, free: 8.047 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.371e-05/0.6741, allocations: 15.98 kB / 0.5549 GB, free: 8.031 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.6741, allocations: 0 / 0.5549 GB, free: 8.031 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001415/0.6742, allocations: 49.7 kB / 0.555 GB, free: 7.977 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.6743, allocations: 11.98 kB / 0.555 GB, free: 7.965 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.6743, allocations: 0 / 0.555 GB, free: 7.965 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.6743, allocations: 0 / 0.555 GB, free: 7.965 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.6745, allocations: 12 kB / 0.555 GB, free: 7.953 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.6745, allocations: 3.953 kB / 0.555 GB, free: 7.949 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.428e-05/0.6746, allocations: 11.98 kB / 0.555 GB, free: 7.938 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.6746, allocations: 0 / 0.555 GB, free: 7.938 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 9.152e-05/0.6747, allocations: 109 kB / 0.5551 GB, free: 7.824 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001443/0.6749, allocations: 61.59 kB / 0.5552 GB, free: 7.758 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/0.6749, allocations: 7.906 kB / 0.5552 GB, free: 7.75 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.6751, allocations: 70.03 kB / 0.5553 GB, free: 7.68 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.6752, allocations: 0 / 0.5553 GB, free: 7.68 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.6752, allocations: 0 / 0.5553 GB, free: 7.68 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.6752, allocations: 3.938 kB / 0.5553 GB, free: 7.676 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004887/0.6757, allocations: 303.6 kB / 0.5555 GB, free: 7.336 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.6757, allocations: 7.984 kB / 0.5556 GB, free: 7.328 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.6758, allocations: 16 kB / 0.5556 GB, free: 7.312 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.605e-06/0.6759, allocations: 3.953 kB / 0.5556 GB, free: 7.309 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.6759, allocations: 4 kB / 0.5556 GB, free: 7.305 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.6759, allocations: 0 / 0.5556 GB, free: 7.305 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6759, allocations: 0 / 0.5556 GB, free: 7.305 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.6761, allocations: 159.4 kB / 0.5557 GB, free: 7.133 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.367e-05/0.6762, allocations: 89 kB / 0.5558 GB, free: 7.027 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.6763, allocations: 7.953 kB / 0.5558 GB, free: 7.02 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.6764, allocations: 15.94 kB / 0.5558 GB, free: 7.004 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.6765, allocations: 3.984 kB / 0.5558 GB, free: 7 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.6765, allocations: 0 / 0.5558 GB, free: 7 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001469/0.6766, allocations: 123.3 kB / 0.556 GB, free: 6.879 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6767, allocations: 3.938 kB / 0.556 GB, free: 6.875 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003588/0.677, allocations: 19.92 kB / 0.556 GB, free: 6.855 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.001484/0.6785, allocations: 0.9226 MB / 0.5569 GB, free: 5.949 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.6787, allocations: 24 kB / 0.5569 GB, free: 5.926 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.6787, allocations: 0 / 0.5569 GB, free: 5.926 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.955e-05/0.6788, allocations: 19.98 kB / 0.5569 GB, free: 5.906 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.6792, allocations: 23.17 kB / 0.5569 GB, free: 5.887 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006684/0.6798, allocations: 195.7 kB / 0.5571 GB, free: 5.652 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.6803, allocations: 0.7002 MB / 0.5578 GB, free: 4.926 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.055e-05/0.6804, allocations: 23.42 kB / 0.5578 GB, free: 4.902 MB / 395.1 MB Notification: Performance of SimCode: time 1.373e-06/0.6804, allocations: 0 / 0.5578 GB, free: 4.902 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.696/3.376, allocations: 1.885 MB / 0.5597 GB, free: 3.027 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat does not exist to compare? outputFormat=mat