Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test1",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.001467/0.001467, allocations: 177.8 kB / 8.36 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.035/2.035, 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.001121/0.00112, allocations: 92.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.3279/0.3279, allocations: 43.48 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.251e-05/2.236e-05, allocations: 4 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4304/0.4304, allocations: 58.85 MB / 477.2 MB, free: 5.168 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1633/0.5938, allocations: 85.7 MB / 0.5497 GB, free: 13.49 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.5941, allocations: 75.47 kB / 0.5498 GB, free: 13.42 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01555/0.6097, allocations: 3.515 MB / 0.5532 GB, free: 9.902 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6098, allocations: 4 kB / 0.5532 GB, free: 9.898 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.6098, allocations: 4 kB / 0.5532 GB, free: 9.895 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.0004733/0.6103, allocations: 371 kB / 0.5536 GB, free: 9.488 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/0.6104, allocations: 8.031 kB / 0.5536 GB, free: 9.48 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.543e-05/0.6104, allocations: 7.906 kB / 0.5536 GB, free: 9.473 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.6108, allocations: 198.8 kB / 0.5538 GB, free: 9.238 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.6108, allocations: 4 kB / 0.5538 GB, free: 9.234 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.6108, allocations: 0 / 0.5538 GB, free: 9.234 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.616e-05/0.6109, allocations: 12 kB / 0.5538 GB, free: 9.223 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.64e-05/0.6111, allocations: 45.69 kB / 0.5538 GB, free: 9.172 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.6111, allocations: 0 / 0.5538 GB, free: 9.172 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.6111, allocations: 4 kB / 0.5538 GB, free: 9.168 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.6111, allocations: 0 / 0.5538 GB, free: 9.168 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.6116, allocations: 257.4 kB / 0.5541 GB, free: 8.879 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.6119, allocations: 46.56 kB / 0.5541 GB, free: 8.824 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.988e-05/0.6119, allocations: 8.859 kB / 0.5541 GB, free: 8.812 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.612, allocations: 0 / 0.5541 GB, free: 8.812 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.612, allocations: 30.56 kB / 0.5541 GB, free: 8.773 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.612, allocations: 4 kB / 0.5542 GB, free: 8.77 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005128/0.6126, allocations: 109.4 kB / 0.5543 GB, free: 8.656 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.6126, allocations: 59.34 kB / 0.5543 GB, free: 8.586 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.6128, allocations: 125.2 kB / 0.5544 GB, free: 8.453 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.6128, allocations: 29.69 kB / 0.5545 GB, free: 8.418 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.353e-05/0.6129, allocations: 158.6 kB / 0.5546 GB, free: 8.262 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.613, allocations: 19.66 kB / 0.5546 GB, free: 8.242 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-06/0.613, allocations: 0 / 0.5546 GB, free: 8.242 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.6131, allocations: 318.8 kB / 0.5549 GB, free: 7.922 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.754e-05/0.6132, allocations: 8 kB / 0.5549 GB, free: 7.914 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.578e-05/0.6132, allocations: 15.98 kB / 0.555 GB, free: 7.898 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.511e-05/0.6133, allocations: 16 kB / 0.555 GB, free: 7.883 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.6133, allocations: 0 / 0.555 GB, free: 7.883 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001811/0.6135, allocations: 61.62 kB / 0.555 GB, free: 7.816 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.6135, allocations: 4 kB / 0.555 GB, free: 7.812 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.6136, allocations: 0 / 0.555 GB, free: 7.812 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.6136, allocations: 0 / 0.555 GB, free: 7.812 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.6138, allocations: 16.12 kB / 0.5551 GB, free: 7.797 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.6138, allocations: 0 / 0.5551 GB, free: 7.797 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.6139, allocations: 15.98 kB / 0.5551 GB, free: 7.781 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.614, allocations: 0 / 0.5551 GB, free: 7.781 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 0.0001301/0.6141, allocations: 105.1 kB / 0.5552 GB, free: 7.672 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002748/0.6144, allocations: 65.59 kB / 0.5552 GB, free: 7.602 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.934e-05/0.6145, allocations: 7.891 kB / 0.5552 GB, free: 7.594 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/0.6148, allocations: 82.02 kB / 0.5553 GB, free: 7.512 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.6149, allocations: 0 / 0.5553 GB, free: 7.512 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.6149, allocations: 0 / 0.5553 GB, free: 7.512 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.6149, allocations: 3.953 kB / 0.5553 GB, free: 7.508 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007876/0.6157, allocations: 311.5 kB / 0.5556 GB, free: 7.16 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.6158, allocations: 0 / 0.5556 GB, free: 7.16 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.616, allocations: 19.92 kB / 0.5556 GB, free: 7.141 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.616, allocations: 4 kB / 0.5556 GB, free: 7.137 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.616, allocations: 0 / 0.5556 GB, free: 7.137 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.616, allocations: 0 / 0.5556 GB, free: 7.137 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/0.6161, allocations: 3.953 kB / 0.5556 GB, free: 7.133 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.6164, allocations: 159.5 kB / 0.5558 GB, free: 6.961 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.6165, allocations: 93 kB / 0.5559 GB, free: 6.852 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.6166, allocations: 0 / 0.5559 GB, free: 6.852 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.6168, allocations: 8 kB / 0.5559 GB, free: 6.844 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.6169, allocations: 7.938 kB / 0.5559 GB, free: 6.836 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.6169, allocations: 4 kB / 0.5559 GB, free: 6.832 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.6171, allocations: 103.3 kB / 0.556 GB, free: 6.73 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6171, allocations: 3.938 kB / 0.556 GB, free: 6.727 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0006486/0.6178, allocations: 23.94 kB / 0.556 GB, free: 6.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.002152/0.62, allocations: 0.9225 MB / 0.5569 GB, free: 5.793 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.6202, allocations: 35.98 kB / 0.557 GB, free: 5.758 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.6203, allocations: 0 / 0.557 GB, free: 5.758 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.6204, allocations: 19.94 kB / 0.557 GB, free: 5.738 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.6209, allocations: 19.75 kB / 0.557 GB, free: 5.719 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000894/0.6218, allocations: 183.1 kB / 0.5572 GB, free: 5.496 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.6222, allocations: 0.7001 MB / 0.5579 GB, free: 4.77 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.6224, allocations: 27.42 kB / 0.5579 GB, free: 4.742 MB / 395.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6224, allocations: 3.938 kB / 0.5579 GB, free: 4.738 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.955/3.578, allocations: 1.8 MB / 0.5596 GB, free: 2.945 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test1.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1_res.mat does not exist to compare? outputFormat=mat