Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6",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.002329/0.002329, 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.102/2.102, 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.001651/0.001651, allocations: 98.36 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.3622/0.3622, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.588e-05/2.622e-05, allocations: 224 / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4106, allocations: 58.85 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1686/0.5793, allocations: 85.68 MB / 0.5497 GB, free: 13.54 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.5797, allocations: 71.97 kB / 0.5497 GB, free: 13.46 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01846/0.5981, allocations: 4.199 MB / 0.5538 GB, free: 9.27 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5982, allocations: 0 / 0.5538 GB, free: 9.27 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.953e-05/0.5982, allocations: 4 kB / 0.5538 GB, free: 9.266 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005487/0.5988, allocations: 402.8 kB / 0.5542 GB, free: 8.828 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.5989, allocations: 8.031 kB / 0.5542 GB, free: 8.82 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.373e-05/0.5989, allocations: 15.81 kB / 0.5542 GB, free: 8.805 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.5993, allocations: 210.8 kB / 0.5544 GB, free: 8.559 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.5993, allocations: 0 / 0.5544 GB, free: 8.559 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.5993, allocations: 4 kB / 0.5545 GB, free: 8.555 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001065/0.5994, allocations: 19.94 kB / 0.5545 GB, free: 8.535 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.5996, allocations: 45.69 kB / 0.5545 GB, free: 8.484 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.5996, allocations: 0 / 0.5545 GB, free: 8.484 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.5996, allocations: 4 kB / 0.5545 GB, free: 8.48 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.5997, allocations: 0 / 0.5545 GB, free: 8.48 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/0.6002, allocations: 293.2 kB / 0.5548 GB, free: 8.156 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.6003, allocations: 38.58 kB / 0.5548 GB, free: 8.109 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.584e-05/0.6003, allocations: 20.97 kB / 0.5549 GB, free: 8.086 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.6004, allocations: 4 kB / 0.5549 GB, free: 8.082 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.6004, allocations: 30.56 kB / 0.5549 GB, free: 8.043 MB / 395.1 MB Notification: Performance of pre-optimization done (n=5): time 1.904e-06/0.6004, allocations: 3.938 kB / 0.5549 GB, free: 8.039 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006315/0.6011, allocations: 133.3 kB / 0.555 GB, free: 7.902 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.6011, allocations: 55.41 kB / 0.5551 GB, free: 7.836 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003452/0.6015, allocations: 201.4 kB / 0.5553 GB, free: 7.629 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.6015, allocations: 25.7 kB / 0.5553 GB, free: 7.598 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.6016, allocations: 174.5 kB / 0.5555 GB, free: 7.426 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.6017, allocations: 27.64 kB / 0.5555 GB, free: 7.398 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-06/0.6017, allocations: 0 / 0.5555 GB, free: 7.398 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.6019, allocations: 311 kB / 0.5558 GB, free: 7.086 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.948e-05/0.6019, allocations: 19.94 kB / 0.5558 GB, free: 7.066 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.454e-05/0.602, allocations: 12.08 kB / 0.5558 GB, free: 7.055 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.197e-05/0.6021, allocations: 19.97 kB / 0.5558 GB, free: 7.035 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6021, allocations: 0 / 0.5558 GB, free: 7.035 MB / 395.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001909/0.6023, allocations: 73.59 kB / 0.5559 GB, free: 6.957 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.6023, allocations: 8 kB / 0.5559 GB, free: 6.949 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.6023, allocations: 4.062 kB / 0.5559 GB, free: 6.945 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.6024, allocations: 4 kB / 0.5559 GB, free: 6.941 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.6026, allocations: 15.98 kB / 0.5559 GB, free: 6.926 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.6026, allocations: 4 kB / 0.5559 GB, free: 6.922 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.781e-05/0.6027, allocations: 7.953 kB / 0.5559 GB, free: 6.914 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.6027, allocations: 0 / 0.5559 GB, free: 6.914 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 (8): * Single equations (assignments): 8 * 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.712e-05/0.6028, allocations: 116.9 kB / 0.5561 GB, free: 6.793 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002055/0.603, allocations: 73.59 kB / 0.5561 GB, free: 6.715 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.412e-05/0.6031, allocations: 19.8 kB / 0.5561 GB, free: 6.695 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/0.6034, allocations: 95.88 kB / 0.5562 GB, free: 6.598 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.6034, allocations: 7.938 kB / 0.5562 GB, free: 6.59 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.6035, allocations: 3.953 kB / 0.5562 GB, free: 6.586 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.6035, allocations: 0 / 0.5562 GB, free: 6.586 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006114/0.6041, allocations: 359 kB / 0.5566 GB, free: 6.191 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.6041, allocations: 8 kB / 0.5566 GB, free: 6.184 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.6043, allocations: 15.98 kB / 0.5566 GB, free: 6.168 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.6043, allocations: 4 kB / 0.5566 GB, free: 6.164 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.6043, allocations: 3.953 kB / 0.5566 GB, free: 6.16 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.6043, allocations: 0 / 0.5566 GB, free: 6.16 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.6044, allocations: 0 / 0.5566 GB, free: 6.16 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.6046, allocations: 179.3 kB / 0.5568 GB, free: 5.969 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.86e-05/0.6047, allocations: 97.02 kB / 0.5569 GB, free: 5.855 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.6048, allocations: 0 / 0.5569 GB, free: 5.855 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.6049, allocations: 19.92 kB / 0.5569 GB, free: 5.836 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.605, allocations: 0 / 0.5569 GB, free: 5.836 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.605, allocations: 7.984 kB / 0.5569 GB, free: 5.828 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002278/0.6052, allocations: 160.2 kB / 0.5571 GB, free: 5.672 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6053, allocations: 3.938 kB / 0.5571 GB, free: 5.668 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003906/0.6057, allocations: 24 kB / 0.5571 GB, free: 5.645 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 (8): * Single equations (assignments): 8 * 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.001615/0.6073, allocations: 0.944 MB / 0.558 GB, free: 4.723 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.6075, allocations: 40 kB / 0.558 GB, free: 4.684 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6075, allocations: 4 kB / 0.558 GB, free: 4.68 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 7.234e-05/0.6076, allocations: 23.94 kB / 0.5581 GB, free: 4.656 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.608, allocations: 27.23 kB / 0.5581 GB, free: 4.633 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008572/0.6089, allocations: 279.5 kB / 0.5584 GB, free: 4.316 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.6093, allocations: 0.7118 MB / 0.5591 GB, free: 3.578 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.6094, allocations: 47.34 kB / 0.5591 GB, free: 3.531 MB / 395.1 MB Notification: Performance of SimCode: time 1.232e-06/0.6094, allocations: 0 / 0.5591 GB, free: 3.531 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.69/3.299, allocations: 2.387 MB / 0.5614 GB, free: 1.148 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat does not exist to compare? outputFormat=mat