Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test29",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.00114/0.00114, allocations: 184.6 kB / 8.008 MB, free: 1.035 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.3 MB / 213.7 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008704/0.0008705, allocations: 96.84 kB / 261.7 MB, free: 13.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2387/0.2387, allocations: 43.49 MB / 353.2 MB, free: 1.828 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.725e-05/1.729e-05, allocations: 0 / 418.4 MB, free: 40.12 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3678, allocations: 58.85 MB / 477.2 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1314/0.4992, allocations: 85.67 MB / 0.5497 GB, free: 13.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.4995, allocations: 75.47 kB / 0.5498 GB, free: 12.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009981/0.5095, allocations: 3.894 MB / 0.5536 GB, free: 9.078 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5096, allocations: 0 / 0.5536 GB, free: 9.078 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.5096, allocations: 0 / 0.5536 GB, free: 9.078 MB / 394.7 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.0003563/0.51, allocations: 374.3 kB / 0.5539 GB, free: 8.668 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.51, allocations: 8.031 kB / 0.5539 GB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.51, allocations: 11.89 kB / 0.5539 GB, free: 8.648 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.5103, allocations: 202.8 kB / 0.5541 GB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-06/0.5103, allocations: 4 kB / 0.5541 GB, free: 8.406 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.5103, allocations: 0 / 0.5541 GB, free: 8.406 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.265e-05/0.5104, allocations: 20 kB / 0.5542 GB, free: 8.387 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.094e-05/0.5105, allocations: 41.69 kB / 0.5542 GB, free: 8.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.5105, allocations: 7.938 kB / 0.5542 GB, free: 8.332 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.5105, allocations: 0 / 0.5542 GB, free: 8.332 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.5105, allocations: 4 kB / 0.5542 GB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003141/0.5109, allocations: 273.3 kB / 0.5545 GB, free: 8.023 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.395e-05/0.5109, allocations: 42.56 kB / 0.5545 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.778e-05/0.511, allocations: 16.98 kB / 0.5545 GB, free: 7.953 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.511, allocations: 0 / 0.5545 GB, free: 7.953 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.511, allocations: 34.56 kB / 0.5546 GB, free: 7.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.084e-06/0.511, allocations: 3.984 kB / 0.5546 GB, free: 7.906 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004032/0.5115, allocations: 129.5 kB / 0.5547 GB, free: 7.773 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.5115, allocations: 55.41 kB / 0.5547 GB, free: 7.707 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.5116, allocations: 143.2 kB / 0.5549 GB, free: 7.559 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.5116, allocations: 25.7 kB / 0.5549 GB, free: 7.527 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.931e-05/0.5117, allocations: 96.14 kB / 0.555 GB, free: 7.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.5117, allocations: 31.55 kB / 0.555 GB, free: 7.398 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.5117, allocations: 0 / 0.555 GB, free: 7.398 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.595e-05/0.5118, allocations: 319 kB / 0.5553 GB, free: 7.078 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.487e-05/0.5119, allocations: 12 kB / 0.5553 GB, free: 7.066 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.32e-05/0.5119, allocations: 12 kB / 0.5553 GB, free: 7.055 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.507e-05/0.5119, allocations: 20 kB / 0.5554 GB, free: 7.035 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.5119, allocations: 0 / 0.5554 GB, free: 7.035 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001072/0.512, allocations: 81.69 kB / 0.5554 GB, free: 6.949 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.5121, allocations: 4 kB / 0.5554 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5121, allocations: 8.062 kB / 0.5555 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.5121, allocations: 0 / 0.5555 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.5122, allocations: 23.98 kB / 0.5555 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.5122, allocations: 0 / 0.5555 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.533e-05/0.5123, allocations: 15.94 kB / 0.5555 GB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.5123, allocations: 0 / 0.5555 GB, free: 6.898 MB / 394.7 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 6.388e-05/0.5123, allocations: 105 kB / 0.5556 GB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001101/0.5125, allocations: 85.52 kB / 0.5557 GB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.5125, allocations: 7.906 kB / 0.5557 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/0.5127, allocations: 86.3 kB / 0.5558 GB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.5127, allocations: 0 / 0.5558 GB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.5127, allocations: 3.953 kB / 0.5558 GB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5127, allocations: 3.938 kB / 0.5558 GB, free: 6.598 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.513, allocations: 339 kB / 0.5561 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.513, allocations: 0 / 0.5561 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.084e-05/0.5131, allocations: 23.98 kB / 0.5561 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.5131, allocations: 0 / 0.5561 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.5131, allocations: 7.953 kB / 0.5561 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5131, allocations: 0 / 0.5561 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5131, allocations: 0 / 0.5561 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.5133, allocations: 179.6 kB / 0.5563 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.784e-05/0.5133, allocations: 93 kB / 0.5564 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.5134, allocations: 4 kB / 0.5564 GB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.966e-05/0.5134, allocations: 7.953 kB / 0.5564 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.5135, allocations: 11.97 kB / 0.5564 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.5135, allocations: 0 / 0.5564 GB, free: 5.867 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.164e-05/0.5136, allocations: 112.5 kB / 0.5565 GB, free: 5.758 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5136, allocations: 4 kB / 0.5565 GB, free: 5.754 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002319/0.5138, allocations: 19.94 kB / 0.5565 GB, free: 5.734 MB / 394.7 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.001018/0.5149, allocations: 0.938 MB / 0.5575 GB, free: 4.812 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.515, allocations: 40 kB / 0.5575 GB, free: 4.773 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.515, allocations: 0 / 0.5575 GB, free: 4.773 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.637e-05/0.515, allocations: 27.94 kB / 0.5575 GB, free: 4.746 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.5152, allocations: 23.23 kB / 0.5575 GB, free: 4.727 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.5157, allocations: 177.7 kB / 0.5577 GB, free: 4.516 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.516, allocations: 0.7079 MB / 0.5584 GB, free: 3.781 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.949e-05/0.516, allocations: 16.95 kB / 0.5584 GB, free: 3.766 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.425e-05/0.5161, allocations: 27.42 kB / 0.5584 GB, free: 3.738 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5161, allocations: 0 / 0.5584 GB, free: 3.738 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.5365, allocations: 1.919 MB / 0.5603 GB, free: 1.828 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/0.5368, allocations: 163.8 kB / 0.5605 GB, free: 1.633 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.391/1.928, allocations: 0 / 0.5605 GB, free: 1.633 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat does not exist to compare? outputFormat=mat