Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test31,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test31",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.002265/0.00227, allocations: 179.4 kB / 8.364 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.218/2.218, 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.001121/0.001121, allocations: 92.16 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.3008/0.3008, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.152e-05/2.163e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4096, allocations: 58.85 MB / 477.2 MB, free: 5.172 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1614/0.571, allocations: 85.74 MB / 0.5497 GB, free: 13.48 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.5714, allocations: 71.97 kB / 0.5498 GB, free: 13.41 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01674/0.5881, allocations: 4.127 MB / 0.5538 GB, free: 9.277 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5882, allocations: 0 / 0.5538 GB, free: 9.277 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.183e-05/0.5882, allocations: 4 kB / 0.5538 GB, free: 9.273 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.0004997/0.5887, allocations: 394.9 kB / 0.5542 GB, free: 8.844 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.5888, allocations: 12.03 kB / 0.5542 GB, free: 8.832 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/0.5889, allocations: 11.81 kB / 0.5542 GB, free: 8.82 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.5892, allocations: 226.5 kB / 0.5544 GB, free: 8.559 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.5893, allocations: 4 kB / 0.5545 GB, free: 8.555 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.5893, allocations: 4 kB / 0.5545 GB, free: 8.551 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.252e-05/0.5894, allocations: 15.98 kB / 0.5545 GB, free: 8.535 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.5896, allocations: 37.7 kB / 0.5545 GB, free: 8.492 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.5896, allocations: 0 / 0.5545 GB, free: 8.492 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.5896, allocations: 3.984 kB / 0.5545 GB, free: 8.488 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.5896, allocations: 3.984 kB / 0.5545 GB, free: 8.484 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005568/0.5902, allocations: 289.3 kB / 0.5548 GB, free: 8.164 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.5904, allocations: 34.58 kB / 0.5548 GB, free: 8.121 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.934e-05/0.5905, allocations: 16.94 kB / 0.5548 GB, free: 8.102 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.5905, allocations: 0 / 0.5548 GB, free: 8.102 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.5906, allocations: 30.56 kB / 0.5549 GB, free: 8.062 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.764e-06/0.5906, allocations: 4 kB / 0.5549 GB, free: 8.059 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005405/0.5911, allocations: 121.1 kB / 0.555 GB, free: 7.934 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.5912, allocations: 55.36 kB / 0.555 GB, free: 7.867 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.5916, allocations: 225.7 kB / 0.5553 GB, free: 7.641 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.5916, allocations: 25.7 kB / 0.5553 GB, free: 7.609 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.181e-05/0.5917, allocations: 170.5 kB / 0.5554 GB, free: 7.441 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.5918, allocations: 23.73 kB / 0.5555 GB, free: 7.418 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/0.5918, allocations: 0 / 0.5555 GB, free: 7.418 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.5919, allocations: 310.8 kB / 0.5558 GB, free: 7.105 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.014e-05/0.592, allocations: 16 kB / 0.5558 GB, free: 7.09 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.913e-05/0.592, allocations: 12 kB / 0.5558 GB, free: 7.078 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.628e-05/0.5921, allocations: 12.14 kB / 0.5558 GB, free: 7.066 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5921, allocations: 0 / 0.5558 GB, free: 7.066 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001527/0.5922, allocations: 65.53 kB / 0.5559 GB, free: 6.996 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.5923, allocations: 4 kB / 0.5559 GB, free: 6.992 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5923, allocations: 4 kB / 0.5559 GB, free: 6.988 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.5923, allocations: 3.938 kB / 0.5559 GB, free: 6.984 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.5924, allocations: 16.23 kB / 0.5559 GB, free: 6.969 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.5925, allocations: 4 kB / 0.5559 GB, free: 6.965 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.302e-05/0.5926, allocations: 11.95 kB / 0.5559 GB, free: 6.953 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.5926, allocations: 0 / 0.5559 GB, free: 6.953 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.306e-05/0.5927, allocations: 105 kB / 0.556 GB, free: 6.844 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001714/0.5929, allocations: 69.59 kB / 0.5561 GB, free: 6.77 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.457e-05/0.5929, allocations: 19.75 kB / 0.5561 GB, free: 6.75 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.5932, allocations: 83.27 kB / 0.5562 GB, free: 6.664 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.5932, allocations: 4 kB / 0.5562 GB, free: 6.66 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.5932, allocations: 7.953 kB / 0.5562 GB, free: 6.652 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.5932, allocations: 0 / 0.5562 GB, free: 6.652 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005917/0.5938, allocations: 339.1 kB / 0.5565 GB, free: 6.277 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.5938, allocations: 7.938 kB / 0.5565 GB, free: 6.27 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.594, allocations: 11.98 kB / 0.5565 GB, free: 6.258 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.594, allocations: 0 / 0.5565 GB, free: 6.258 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.594, allocations: 4 kB / 0.5565 GB, free: 6.254 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.594, allocations: 7.953 kB / 0.5565 GB, free: 6.246 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.594, allocations: 0 / 0.5565 GB, free: 6.246 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.5943, allocations: 171.3 kB / 0.5567 GB, free: 6.062 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.5944, allocations: 100.9 kB / 0.5568 GB, free: 5.945 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.5944, allocations: 0 / 0.5568 GB, free: 5.945 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.5946, allocations: 12.23 kB / 0.5568 GB, free: 5.934 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.5946, allocations: 3.953 kB / 0.5568 GB, free: 5.93 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.5947, allocations: 11.94 kB / 0.5568 GB, free: 5.918 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002691/0.5949, allocations: 196.3 kB / 0.557 GB, free: 5.727 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.595, allocations: 0 / 0.557 GB, free: 5.727 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003731/0.5953, allocations: 24 kB / 0.557 GB, free: 5.703 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.001441/0.5968, allocations: 0.9231 MB / 0.5579 GB, free: 4.801 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001568/0.597, allocations: 35.98 kB / 0.558 GB, free: 4.766 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.597, allocations: 3.938 kB / 0.558 GB, free: 4.762 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.301e-05/0.5971, allocations: 16 kB / 0.558 GB, free: 4.746 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.5974, allocations: 23.42 kB / 0.558 GB, free: 4.723 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009008/0.5983, allocations: 296.4 kB / 0.5583 GB, free: 4.391 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.5987, allocations: 0.7236 MB / 0.559 GB, free: 3.641 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.5988, allocations: 35.42 kB / 0.559 GB, free: 3.605 MB / 395.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5988, allocations: 0 / 0.559 GB, free: 3.605 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.668/3.267, allocations: 2.482 MB / 0.5615 GB, free: 1.129 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test31.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31_res.mat does not exist to compare? outputFormat=mat