Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7",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.002091/0.002091, 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.138/2.138, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001143/0.001143, allocations: 80.92 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.3107/0.3107, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.31e-05/2.324e-05, allocations: 0 / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.4287, allocations: 58.85 MB / 477.2 MB, free: 5.289 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1857/0.6145, allocations: 85.6 MB / 0.5496 GB, free: 13.69 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.6148, allocations: 75.45 kB / 0.5496 GB, free: 13.62 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01539/0.6302, allocations: 3.546 MB / 0.5531 GB, free: 10.07 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6303, allocations: 4 kB / 0.5531 GB, free: 10.07 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.6303, allocations: 0 / 0.5531 GB, free: 10.07 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.0004744/0.6308, allocations: 374.9 kB / 0.5535 GB, free: 9.656 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.6309, allocations: 12.03 kB / 0.5535 GB, free: 9.645 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.6309, allocations: 3.906 kB / 0.5535 GB, free: 9.641 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.6312, allocations: 190.9 kB / 0.5537 GB, free: 9.414 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.6312, allocations: 4 kB / 0.5537 GB, free: 9.41 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.6313, allocations: 0 / 0.5537 GB, free: 9.41 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.554e-05/0.6314, allocations: 15.98 kB / 0.5537 GB, free: 9.395 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.6315, allocations: 45.64 kB / 0.5537 GB, free: 9.344 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.6315, allocations: 0 / 0.5537 GB, free: 9.344 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.6315, allocations: 0 / 0.5537 GB, free: 9.344 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.6315, allocations: 0 / 0.5537 GB, free: 9.344 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.6319, allocations: 261.4 kB / 0.554 GB, free: 9.051 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.6322, allocations: 30.58 kB / 0.554 GB, free: 9.012 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.597e-05/0.6322, allocations: 16.94 kB / 0.554 GB, free: 8.992 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.6323, allocations: 0 / 0.554 GB, free: 8.992 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.6323, allocations: 34.5 kB / 0.5541 GB, free: 8.949 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.6323, allocations: 0 / 0.5541 GB, free: 8.949 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004932/0.6328, allocations: 101.3 kB / 0.5542 GB, free: 8.844 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.6329, allocations: 55.41 kB / 0.5542 GB, free: 8.777 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.6331, allocations: 140.3 kB / 0.5543 GB, free: 8.633 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.6332, allocations: 25.7 kB / 0.5544 GB, free: 8.602 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.93e-05/0.6332, allocations: 162.5 kB / 0.5545 GB, free: 8.441 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.6333, allocations: 15.75 kB / 0.5545 GB, free: 8.426 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.6333, allocations: 0 / 0.5545 GB, free: 8.426 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.6335, allocations: 318.8 kB / 0.5548 GB, free: 8.105 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.816e-05/0.6335, allocations: 15.94 kB / 0.5549 GB, free: 8.09 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.185e-05/0.6335, allocations: 4 kB / 0.5549 GB, free: 8.086 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.182e-05/0.6336, allocations: 11.98 kB / 0.5549 GB, free: 8.074 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.6336, allocations: 4 kB / 0.5549 GB, free: 8.07 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001282/0.6337, allocations: 49.7 kB / 0.5549 GB, free: 8.016 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.6338, allocations: 11.98 kB / 0.5549 GB, free: 8.004 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.6338, allocations: 0 / 0.5549 GB, free: 8.004 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.6338, allocations: 3.938 kB / 0.5549 GB, free: 8 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.634, allocations: 12 kB / 0.555 GB, free: 7.988 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.634, allocations: 0 / 0.555 GB, free: 7.988 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.214e-05/0.6341, allocations: 7.984 kB / 0.555 GB, free: 7.98 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.6341, allocations: 4 kB / 0.555 GB, free: 7.977 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 7.903e-05/0.6342, allocations: 109.1 kB / 0.5551 GB, free: 7.863 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001432/0.6343, allocations: 65.53 kB / 0.5551 GB, free: 7.793 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.6344, allocations: 3.906 kB / 0.5551 GB, free: 7.789 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001932/0.6346, allocations: 70 kB / 0.5552 GB, free: 7.719 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.6346, allocations: 4 kB / 0.5552 GB, free: 7.715 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.6346, allocations: 0 / 0.5552 GB, free: 7.715 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.6346, allocations: 3.953 kB / 0.5552 GB, free: 7.711 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004399/0.6351, allocations: 307.5 kB / 0.5555 GB, free: 7.367 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.6351, allocations: 4.062 kB / 0.5555 GB, free: 7.363 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.6352, allocations: 15.98 kB / 0.5555 GB, free: 7.348 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.6353, allocations: 0 / 0.5555 GB, free: 7.348 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.6353, allocations: 0 / 0.5555 GB, free: 7.348 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.6353, allocations: 4 kB / 0.5555 GB, free: 7.344 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.6353, allocations: 3.953 kB / 0.5555 GB, free: 7.34 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.6355, allocations: 163.4 kB / 0.5557 GB, free: 7.164 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.761e-05/0.6356, allocations: 89 kB / 0.5558 GB, free: 7.059 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.6356, allocations: 0 / 0.5558 GB, free: 7.059 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.6357, allocations: 8 kB / 0.5558 GB, free: 7.051 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/0.6358, allocations: 7.984 kB / 0.5558 GB, free: 7.043 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.6358, allocations: 7.891 kB / 0.5558 GB, free: 7.035 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.6359, allocations: 112.5 kB / 0.5559 GB, free: 6.926 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.636, allocations: 0 / 0.5559 GB, free: 6.926 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003466/0.6363, allocations: 20 kB / 0.5559 GB, free: 6.906 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.001514/0.6378, allocations: 0.9153 MB / 0.5568 GB, free: 6.008 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001517/0.638, allocations: 31.94 kB / 0.5568 GB, free: 5.977 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.638, allocations: 0 / 0.5568 GB, free: 5.977 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.46e-05/0.6381, allocations: 12 kB / 0.5569 GB, free: 5.965 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.6384, allocations: 26.91 kB / 0.5569 GB, free: 5.945 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006439/0.6391, allocations: 195 kB / 0.5571 GB, free: 5.711 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.6395, allocations: 0.6963 MB / 0.5577 GB, free: 4.988 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.54e-05/0.6396, allocations: 23.42 kB / 0.5578 GB, free: 4.965 MB / 395.1 MB Notification: Performance of SimCode: time 9.02e-07/0.6396, allocations: 4 kB / 0.5578 GB, free: 4.961 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.734/3.373, allocations: 1.811 MB / 0.5595 GB, free: 3.156 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat does not exist to compare? outputFormat=mat