Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_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.002187/0.002192, allocations: 178.3 kB / 8.359 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.055/2.055, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001093/0.001093, allocations: 93.72 kB / 262.1 MB, free: 13.86 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.3041/0.3041, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.379e-05/2.375e-05, allocations: 4.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.4336, allocations: 58.86 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1894/0.6231, allocations: 85.84 MB / 0.5498 GB, free: 13.35 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/0.6235, allocations: 71.97 kB / 0.5499 GB, free: 13.28 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01721/0.6407, allocations: 3.929 MB / 0.5537 GB, free: 9.352 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6408, allocations: 0 / 0.5537 GB, free: 9.352 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.6408, allocations: 0 / 0.5537 GB, free: 9.352 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005074/0.6413, allocations: 386.9 kB / 0.5541 GB, free: 8.93 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/0.6414, allocations: 12.03 kB / 0.5541 GB, free: 8.918 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.6414, allocations: 7.906 kB / 0.5541 GB, free: 8.91 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.6417, allocations: 198.8 kB / 0.5543 GB, free: 8.676 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.6418, allocations: 4 kB / 0.5543 GB, free: 8.672 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.6418, allocations: 4 kB / 0.5543 GB, free: 8.668 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001137/0.6419, allocations: 20 kB / 0.5543 GB, free: 8.648 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.6421, allocations: 79.25 kB / 0.5544 GB, free: 8.559 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.6421, allocations: 0 / 0.5544 GB, free: 8.559 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.6422, allocations: 3.938 kB / 0.5544 GB, free: 8.555 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.6422, allocations: 4 kB / 0.5544 GB, free: 8.551 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006206/0.6428, allocations: 365.6 kB / 0.5548 GB, free: 8.152 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.6432, allocations: 73.17 kB / 0.5548 GB, free: 8.062 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.841e-05/0.6432, allocations: 29.72 kB / 0.5549 GB, free: 8.027 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-05/0.6433, allocations: 8.078 kB / 0.5549 GB, free: 8.02 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.6433, allocations: 34.72 kB / 0.5549 GB, free: 7.977 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.804e-06/0.6434, allocations: 0 / 0.5549 GB, free: 7.977 MB / 395.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007628/0.6441, allocations: 169 kB / 0.5551 GB, free: 7.805 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.6442, allocations: 85.06 kB / 0.5551 GB, free: 7.703 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.6444, allocations: 143 kB / 0.5553 GB, free: 7.555 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.6444, allocations: 25.7 kB / 0.5553 GB, free: 7.523 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.587e-05/0.6445, allocations: 162.6 kB / 0.5555 GB, free: 7.363 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.571e-05/0.6446, allocations: 31.55 kB / 0.5555 GB, free: 7.332 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-06/0.6446, allocations: 0 / 0.5555 GB, free: 7.332 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.6448, allocations: 318.8 kB / 0.5558 GB, free: 7.012 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.173e-05/0.6448, allocations: 20 kB / 0.5558 GB, free: 6.992 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-05/0.6449, allocations: 33.7 kB / 0.5558 GB, free: 6.953 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.426e-05/0.645, allocations: 31.98 kB / 0.5559 GB, free: 6.922 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.645, allocations: 4 kB / 0.5559 GB, free: 6.918 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000229/0.6453, allocations: 93.52 kB / 0.556 GB, free: 6.82 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.6453, allocations: 4 kB / 0.556 GB, free: 6.816 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6453, allocations: 0 / 0.556 GB, free: 6.816 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.6454, allocations: 0 / 0.556 GB, free: 6.816 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.6455, allocations: 23.98 kB / 0.556 GB, free: 6.793 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.6456, allocations: 0 / 0.556 GB, free: 6.793 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.985e-05/0.6457, allocations: 19.89 kB / 0.556 GB, free: 6.773 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.6457, allocations: 0 / 0.556 GB, free: 6.773 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.756e-05/0.6458, allocations: 105 kB / 0.5561 GB, free: 6.664 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002516/0.6461, allocations: 93.52 kB / 0.5562 GB, free: 6.566 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.197e-05/0.6461, allocations: 11.91 kB / 0.5562 GB, free: 6.555 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003311/0.6465, allocations: 114.5 kB / 0.5563 GB, free: 6.438 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.6465, allocations: 4.188 kB / 0.5563 GB, free: 6.434 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.6465, allocations: 3.953 kB / 0.5563 GB, free: 6.43 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.6465, allocations: 7.938 kB / 0.5563 GB, free: 6.422 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007819/0.6473, allocations: 463 kB / 0.5568 GB, free: 5.922 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.6473, allocations: 3.938 kB / 0.5568 GB, free: 5.918 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.6475, allocations: 23.98 kB / 0.5568 GB, free: 5.895 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.6476, allocations: 0 / 0.5568 GB, free: 5.895 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.6476, allocations: 3.953 kB / 0.5568 GB, free: 5.891 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/0.6476, allocations: 8.031 kB / 0.5568 GB, free: 5.883 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.6476, allocations: 0 / 0.5568 GB, free: 5.883 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.648, allocations: 294.9 kB / 0.5571 GB, free: 5.562 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-05/0.6481, allocations: 93.33 kB / 0.5572 GB, free: 5.453 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.6482, allocations: 4 kB / 0.5572 GB, free: 5.449 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.6483, allocations: 8 kB / 0.5572 GB, free: 5.441 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/0.6484, allocations: 7.984 kB / 0.5572 GB, free: 5.434 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.6484, allocations: 7.984 kB / 0.5572 GB, free: 5.426 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001454/0.6486, allocations: 115.2 kB / 0.5573 GB, free: 5.312 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6486, allocations: 0 / 0.5573 GB, free: 5.312 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004451/0.6491, allocations: 27.92 kB / 0.5574 GB, free: 5.285 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001668/0.6508, allocations: 1.195 MB / 0.5585 GB, free: 4.098 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002485/0.651, allocations: 59.92 kB / 0.5586 GB, free: 4.039 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.6511, allocations: 0 / 0.5586 GB, free: 4.039 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.968e-05/0.6512, allocations: 31.94 kB / 0.5586 GB, free: 4.008 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.6516, allocations: 23.27 kB / 0.5586 GB, free: 3.988 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008503/0.6525, allocations: 249.2 kB / 0.5589 GB, free: 3.695 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.6529, allocations: 0.7119 MB / 0.5596 GB, free: 2.957 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.653, allocations: 27.42 kB / 0.5596 GB, free: 2.93 MB / 395.1 MB Notification: Performance of SimCode: time 9.62e-07/0.653, allocations: 0 / 0.5596 GB, free: 2.93 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.724/3.377, allocations: 2.148 MB / 0.5617 GB, free: 0.7852 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test29.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29_res.mat does not exist to compare? outputFormat=mat