Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test15",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.002277/0.002277, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0007742/0.0007743, allocations: 93.3 kB / 267.1 MB, free: 9.281 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.3672/0.3672, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.417e-05/3.434e-05, allocations: 4 kB / 425.4 MB, free: 8.117 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1091, allocations: 58.85 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3765/0.4856, allocations: 86.39 MB / 0.5573 GB, free: 17.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.4859, allocations: 77.27 kB / 0.5573 GB, free: 17.37 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01049/0.4964, allocations: 3.94 MB / 0.5612 GB, free: 15.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4964, allocations: 4.656 kB / 0.5612 GB, free: 15.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.4965, allocations: 0 / 0.5612 GB, free: 15.07 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004137/0.4969, allocations: 385.3 kB / 0.5616 GB, free: 14.67 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.4969, allocations: 12.03 kB / 0.5616 GB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.111e-05/0.497, allocations: 36.06 kB / 0.5616 GB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.497, allocations: 11.34 kB / 0.5616 GB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.4973, allocations: 206.3 kB / 0.5618 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.4973, allocations: 0 / 0.5618 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.4974, allocations: 4 kB / 0.5618 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.4975, allocations: 43.61 kB / 0.5619 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.4976, allocations: 1.406 kB / 0.5619 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.4976, allocations: 3.984 kB / 0.5619 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.4976, allocations: 1.375 kB / 0.5619 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.225e-05/0.4977, allocations: 19.69 kB / 0.5619 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.4981, allocations: 303 kB / 0.5622 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.4983, allocations: 36.94 kB / 0.5622 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.171e-05/0.4984, allocations: 13.09 kB / 0.5622 GB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.4984, allocations: 0 / 0.5622 GB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.4985, allocations: 38.56 kB / 0.5623 GB, free: 13.92 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.4985, allocations: 4 kB / 0.5623 GB, free: 13.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004932/0.499, allocations: 113.4 kB / 0.5624 GB, free: 13.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.499, allocations: 59.3 kB / 0.5624 GB, free: 13.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.4992, allocations: 187.3 kB / 0.5626 GB, free: 13.6 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.4993, allocations: 25.7 kB / 0.5626 GB, free: 13.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.939e-05/0.4993, allocations: 108.4 kB / 0.5627 GB, free: 13.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.4994, allocations: 20.89 kB / 0.5628 GB, free: 13.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.4994, allocations: 0 / 0.5628 GB, free: 13.46 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.4995, allocations: 324.7 kB / 0.5631 GB, free: 13.14 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.027e-05/0.4995, allocations: 13.06 kB / 0.5631 GB, free: 13.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.634e-05/0.4996, allocations: 13 kB / 0.5631 GB, free: 13.13 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.417e-05/0.4996, allocations: 17.83 kB / 0.5631 GB, free: 13.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.4996, allocations: 1.781 kB / 0.5631 GB, free: 13.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001105/0.4997, allocations: 71.84 kB / 0.5632 GB, free: 13.06 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.4998, allocations: 4 kB / 0.5632 GB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4998, allocations: 4 kB / 0.5632 GB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.4998, allocations: 0 / 0.5632 GB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.23e-05/0.4999, allocations: 15.19 kB / 0.5632 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.4999, allocations: 0 / 0.5632 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.125e-05/0.5, allocations: 13.31 kB / 0.5632 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.5, allocations: 1.406 kB / 0.5632 GB, free: 13.03 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 (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 5.918e-05/0.5, allocations: 104.9 kB / 0.5633 GB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.5001, allocations: 15.91 kB / 0.5633 GB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/0.5003, allocations: 86.06 kB / 0.5634 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.5003, allocations: 0 / 0.5634 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.5003, allocations: 4 kB / 0.5634 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.5003, allocations: 1.594 kB / 0.5634 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003328/0.5006, allocations: 353.9 kB / 0.5638 GB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5006, allocations: 1.688 kB / 0.5638 GB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.925e-05/0.5007, allocations: 13.17 kB / 0.5638 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.5007, allocations: 5.078 kB / 0.5638 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.5007, allocations: 4 kB / 0.5638 GB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.5007, allocations: 0 / 0.5638 GB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5008, allocations: 5.359 kB / 0.5638 GB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.5009, allocations: 163.6 kB / 0.5639 GB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/0.5009, allocations: 90.66 kB / 0.564 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.501, allocations: 2.109 kB / 0.564 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.271e-05/0.501, allocations: 17.39 kB / 0.564 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.5011, allocations: 8.766 kB / 0.5641 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.5011, allocations: 4 kB / 0.5641 GB, free: 12.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001151/0.5012, allocations: 154.3 kB / 0.5642 GB, free: 12.06 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5012, allocations: 0 / 0.5642 GB, free: 12.06 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002489/0.5015, allocations: 21.41 kB / 0.5642 GB, free: 12.05 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 (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.00105/0.5025, allocations: 0.9762 MB / 0.5652 GB, free: 11.15 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001157/0.5027, allocations: 38.69 kB / 0.5652 GB, free: 11.12 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5027, allocations: 0 / 0.5652 GB, free: 11.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.438e-05/0.5027, allocations: 19.53 kB / 0.5652 GB, free: 11.11 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.503, allocations: 16.33 kB / 0.5652 GB, free: 11.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005118/0.5035, allocations: 221.5 kB / 0.5655 GB, free: 10.89 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.5037, allocations: 0.7122 MB / 0.5662 GB, free: 10.17 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.33e-05/0.5037, allocations: 19.36 kB / 0.5662 GB, free: 10.15 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.084e-05/0.5038, allocations: 27.44 kB / 0.5662 GB, free: 10.14 MB / 394.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5038, allocations: 0 / 0.5662 GB, free: 10.14 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01583/0.5196, allocations: 2.411 MB / 0.5686 GB, free: 8.273 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/0.5199, allocations: 189.5 kB / 0.5687 GB, free: 8.043 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.301, allocations: 0 / 0.5687 GB, free: 8.043 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test15.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15_res.mat does not exist to compare? outputFormat=mat