Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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.0009434/0.0009436, allocations: 177.6 kB / 8.003 MB, free: 1.07 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.589/1.589, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009301/0.0009301, allocations: 82.62 kB / 261.7 MB, free: 1.688 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.2014/0.2014, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.748e-05/1.751e-05, allocations: 7.984 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1111, allocations: 58.85 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3685/0.4797, allocations: 86.54 MB / 0.5505 GB, free: 7.898 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000178/0.4799, allocations: 78.11 kB / 0.5506 GB, free: 7.859 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01418/0.4941, allocations: 8.029 MB / 0.5584 GB, free: 1.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4942, allocations: 0 / 0.5584 GB, free: 1.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.952e-05/0.4942, allocations: 8 kB / 0.5585 GB, free: 1.012 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004441/0.4946, allocations: 0.5474 MB / 0.559 GB, free: 448 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.4947, allocations: 12.88 kB / 0.559 GB, free: 436 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.911e-05/0.4948, allocations: 47.39 kB / 0.559 GB, free: 388 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.4951, allocations: 337.6 kB / 0.5594 GB, free: 36 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.4951, allocations: 4 kB / 0.5594 GB, free: 32 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.4952, allocations: 0 / 0.5594 GB, free: 32 kB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.854e-05/0.4952, allocations: 15.5 kB / 0.5594 GB, free: 20 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.4953, allocations: 48.44 kB / 0.5594 GB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.4954, allocations: 3.938 kB / 0.5594 GB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.4954, allocations: 0 / 0.5594 GB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.4954, allocations: 7.891 kB / 0.5594 GB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005711/0.496, allocations: 425.9 kB / 0.5599 GB, free: 15.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.4961, allocations: 32.95 kB / 0.5599 GB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.585e-05/0.4962, allocations: 15.67 kB / 0.5599 GB, free: 15.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.4962, allocations: 4.078 kB / 0.5599 GB, free: 15.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.4962, allocations: 30.56 kB / 0.5599 GB, free: 15.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.4962, allocations: 7.938 kB / 0.5599 GB, free: 15.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000441/0.4967, allocations: 191 kB / 0.5601 GB, free: 15.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.4967, allocations: 55.39 kB / 0.5602 GB, free: 15.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.4978, allocations: 0.7558 MB / 0.5609 GB, free: 14.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.4978, allocations: 25.7 kB / 0.5609 GB, free: 14.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.4979, allocations: 213.2 kB / 0.5611 GB, free: 14.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.498, allocations: 15.48 kB / 0.5612 GB, free: 14.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.498, allocations: 4 kB / 0.5612 GB, free: 14.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.4981, allocations: 359 kB / 0.5615 GB, free: 14.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.46e-05/0.4982, allocations: 7.688 kB / 0.5615 GB, free: 14.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.385e-05/0.4982, allocations: 21.67 kB / 0.5615 GB, free: 14.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.03e-05/0.4982, allocations: 11.12 kB / 0.5615 GB, free: 14.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4982, allocations: 0 / 0.5615 GB, free: 14.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001294/0.4984, allocations: 99.12 kB / 0.5616 GB, free: 14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.4984, allocations: 4 kB / 0.5616 GB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4984, allocations: 4 kB / 0.5616 GB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.4984, allocations: 7.953 kB / 0.5616 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.173e-05/0.4985, allocations: 15.98 kB / 0.5617 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.4985, allocations: 0 / 0.5617 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.875e-05/0.4986, allocations: 7.984 kB / 0.5617 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.4986, allocations: 0 / 0.5617 GB, free: 13.96 MB / 378.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 6.92e-05/0.4987, allocations: 105 kB / 0.5618 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001457/0.4988, allocations: 103.4 kB / 0.5619 GB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.65e-05/0.4989, allocations: 43.48 kB / 0.5619 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001822/0.4991, allocations: 123.8 kB / 0.562 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.4991, allocations: 8 kB / 0.562 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4991, allocations: 0 / 0.562 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.4991, allocations: 0 / 0.562 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006296/0.4998, allocations: 0.5515 MB / 0.5626 GB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.4998, allocations: 3.953 kB / 0.5626 GB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.632e-05/0.4999, allocations: 15.98 kB / 0.5626 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4999, allocations: 4.141 kB / 0.5626 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.4999, allocations: 0 / 0.5626 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4999, allocations: 4 kB / 0.5626 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4999, allocations: 3.984 kB / 0.5626 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.5001, allocations: 188.3 kB / 0.5628 GB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/0.5003, allocations: 173 kB / 0.563 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.154e-05/0.5003, allocations: 7.984 kB / 0.563 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.702e-05/0.5004, allocations: 8 kB / 0.563 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.5005, allocations: 4 kB / 0.563 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.5005, allocations: 3.984 kB / 0.563 GB, free: 12.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005678/0.501, allocations: 0.6057 MB / 0.5636 GB, free: 12.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.501, allocations: 0 / 0.5636 GB, free: 12.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003144/0.5014, allocations: 63.92 kB / 0.5636 GB, free: 12.15 MB / 378.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.001148/0.5025, allocations: 0.9594 MB / 0.5646 GB, free: 11.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.235e-05/0.5026, allocations: 34.56 kB / 0.5646 GB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5026, allocations: 0 / 0.5646 GB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.376e-05/0.5027, allocations: 21.8 kB / 0.5646 GB, free: 11.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.5029, allocations: 19.66 kB / 0.5646 GB, free: 11.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.5041, allocations: 0.8345 MB / 0.5655 GB, free: 10.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.5045, allocations: 0.8351 MB / 0.5663 GB, free: 9.547 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.205e-05/0.5046, allocations: 36 kB / 0.5663 GB, free: 9.512 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.5047, allocations: 118.8 kB / 0.5664 GB, free: 9.477 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5047, allocations: 0 / 0.5664 GB, free: 9.477 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02684/0.5316, allocations: 5.85 MB / 0.5721 GB, free: 3.621 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003136/0.532, allocations: 164.1 kB / 0.5723 GB, free: 3.426 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.02/2.552, allocations: 3.938 kB / 0.5723 GB, free: 3.422 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat does not exist to compare? outputFormat=mat