Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2",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.001474/0.001478, allocations: 177.5 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.118/2.118, 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.001133/0.001132, allocations: 81.3 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.3917/0.3917, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.819e-05/2.823e-05, allocations: 8.203 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.3986, allocations: 58.85 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1773/0.5759, allocations: 85.59 MB / 0.5496 GB, free: 13.62 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003581/0.5764, allocations: 75.95 kB / 0.5496 GB, free: 13.54 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01987/0.5963, allocations: 3.493 MB / 0.5531 GB, free: 10.05 MB / 395.1 MB Notification: Performance of FrontEnd: time 4.91e-06/0.5964, allocations: 0 / 0.5531 GB, free: 10.05 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.148e-05/0.5964, allocations: 4.547 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.0006408/0.597, allocations: 367 kB / 0.5534 GB, free: 9.645 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.506e-05/0.5971, allocations: 12.02 kB / 0.5534 GB, free: 9.633 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.5972, allocations: 7.906 kB / 0.5534 GB, free: 9.625 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.5976, allocations: 194.8 kB / 0.5536 GB, free: 9.395 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.5976, allocations: 4 kB / 0.5536 GB, free: 9.391 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.5977, allocations: 4 kB / 0.5536 GB, free: 9.387 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001067/0.5978, allocations: 11.98 kB / 0.5536 GB, free: 9.375 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.5979, allocations: 37.7 kB / 0.5537 GB, free: 9.332 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.598, allocations: 0 / 0.5537 GB, free: 9.332 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.598, allocations: 3.984 kB / 0.5537 GB, free: 9.328 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.423e-06/0.598, allocations: 0 / 0.5537 GB, free: 9.328 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.5986, allocations: 253.4 kB / 0.5539 GB, free: 9.043 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.5989, allocations: 50.48 kB / 0.554 GB, free: 8.984 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.272e-05/0.5989, allocations: 8.859 kB / 0.554 GB, free: 8.973 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.599, allocations: 0 / 0.554 GB, free: 8.973 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.599, allocations: 34.56 kB / 0.554 GB, free: 8.93 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 2.375e-06/0.599, allocations: 0 / 0.554 GB, free: 8.93 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006585/0.5997, allocations: 93.42 kB / 0.5541 GB, free: 8.832 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.5998, allocations: 55.41 kB / 0.5542 GB, free: 8.766 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.6, allocations: 129.2 kB / 0.5543 GB, free: 8.629 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.6001, allocations: 25.7 kB / 0.5543 GB, free: 8.598 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.6002, allocations: 162.5 kB / 0.5545 GB, free: 8.438 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.344e-05/0.6003, allocations: 15.72 kB / 0.5545 GB, free: 8.422 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.6003, allocations: 3.938 kB / 0.5545 GB, free: 8.418 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.6005, allocations: 314.8 kB / 0.5548 GB, free: 8.102 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.19e-05/0.6005, allocations: 8 kB / 0.5548 GB, free: 8.094 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.134e-05/0.6006, allocations: 16 kB / 0.5548 GB, free: 8.078 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.897e-05/0.6007, allocations: 11.98 kB / 0.5548 GB, free: 8.066 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.6007, allocations: 0 / 0.5548 GB, free: 8.066 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002036/0.6009, allocations: 53.64 kB / 0.5549 GB, free: 8.008 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.601, allocations: 4 kB / 0.5549 GB, free: 8.004 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.601, allocations: 4 kB / 0.5549 GB, free: 8 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.601, allocations: 0 / 0.5549 GB, free: 8 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.6012, allocations: 15.98 kB / 0.5549 GB, free: 7.984 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.6012, allocations: 0 / 0.5549 GB, free: 7.984 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.6013, allocations: 11.98 kB / 0.5549 GB, free: 7.973 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.6014, allocations: 0 / 0.5549 GB, free: 7.973 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.0001226/0.6015, allocations: 109.1 kB / 0.555 GB, free: 7.859 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002069/0.6017, allocations: 53.61 kB / 0.555 GB, free: 7.801 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.56e-05/0.6018, allocations: 11.89 kB / 0.5551 GB, free: 7.789 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.6021, allocations: 66.03 kB / 0.5551 GB, free: 7.723 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.6021, allocations: 0 / 0.5551 GB, free: 7.723 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.6021, allocations: 0 / 0.5551 GB, free: 7.723 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.6021, allocations: 7.953 kB / 0.5551 GB, free: 7.715 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006435/0.6028, allocations: 303.5 kB / 0.5554 GB, free: 7.375 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/0.6028, allocations: 4.062 kB / 0.5554 GB, free: 7.371 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.603, allocations: 15.94 kB / 0.5554 GB, free: 7.355 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.603, allocations: 0 / 0.5554 GB, free: 7.355 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.6031, allocations: 3.984 kB / 0.5554 GB, free: 7.352 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.393e-06/0.6031, allocations: 4 kB / 0.5554 GB, free: 7.348 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/0.6031, allocations: 3.953 kB / 0.5555 GB, free: 7.344 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.6034, allocations: 155.5 kB / 0.5556 GB, free: 7.176 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.536e-05/0.6035, allocations: 81.02 kB / 0.5557 GB, free: 7.078 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.6036, allocations: 7.938 kB / 0.5557 GB, free: 7.07 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.6037, allocations: 11.98 kB / 0.5557 GB, free: 7.059 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.143e-05/0.6038, allocations: 7.953 kB / 0.5557 GB, free: 7.051 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.6038, allocations: 4 kB / 0.5557 GB, free: 7.047 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001566/0.604, allocations: 107.1 kB / 0.5558 GB, free: 6.945 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.138e-06/0.604, allocations: 4 kB / 0.5558 GB, free: 6.941 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0005935/0.6046, allocations: 19.88 kB / 0.5558 GB, free: 6.922 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.002178/0.6068, allocations: 0.921 MB / 0.5567 GB, free: 6.016 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.6071, allocations: 24 kB / 0.5568 GB, free: 5.992 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.6071, allocations: 0 / 0.5568 GB, free: 5.992 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.95e-05/0.6072, allocations: 19.94 kB / 0.5568 GB, free: 5.973 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.6077, allocations: 22.97 kB / 0.5568 GB, free: 5.953 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008422/0.6085, allocations: 175.1 kB / 0.557 GB, free: 5.738 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/0.609, allocations: 0.704 MB / 0.5576 GB, free: 5.008 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.6091, allocations: 27.42 kB / 0.5577 GB, free: 4.98 MB / 395.1 MB Notification: Performance of SimCode: time 1.152e-06/0.6092, allocations: 0 / 0.5577 GB, free: 4.98 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.769/3.378, allocations: 1.749 MB / 0.5594 GB, free: 3.238 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat does not exist to compare? outputFormat=mat