Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test28",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.001125/0.001125, allocations: 182.8 kB / 15.76 MB, free: 6.367 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.51/1.51, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009382/0.0009382, allocations: 90.83 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2071/0.2071, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1332, allocations: 58.86 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3878/0.5211, allocations: 86.39 MB / 0.5632 GB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.5214, allocations: 72.78 kB / 0.5633 GB, free: 13.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01023/0.5316, allocations: 4.049 MB / 0.5672 GB, free: 9.754 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.5317, allocations: 0 / 0.5672 GB, free: 9.754 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.5317, allocations: 0 / 0.5672 GB, free: 9.754 MB / 378.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.0004682/0.5322, allocations: 422.2 kB / 0.5676 GB, free: 9.301 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.5322, allocations: 12.03 kB / 0.5677 GB, free: 9.289 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.846e-05/0.5323, allocations: 34.19 kB / 0.5677 GB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.5323, allocations: 11.86 kB / 0.5677 GB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.5326, allocations: 216.6 kB / 0.5679 GB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.5326, allocations: 4 kB / 0.5679 GB, free: 8.988 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.5326, allocations: 4 kB / 0.5679 GB, free: 8.984 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.5328, allocations: 52.3 kB / 0.568 GB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.5328, allocations: 0 / 0.568 GB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.5328, allocations: 0 / 0.568 GB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.5328, allocations: 0 / 0.568 GB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.12e-05/0.5329, allocations: 23.36 kB / 0.568 GB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003933/0.5333, allocations: 301 kB / 0.5683 GB, free: 8.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.5335, allocations: 41.62 kB / 0.5683 GB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.5335, allocations: 4 kB / 0.5683 GB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.5336, allocations: 30.56 kB / 0.5683 GB, free: 8.504 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.5336, allocations: 4 kB / 0.5683 GB, free: 8.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005664/0.5342, allocations: 166.5 kB / 0.5685 GB, free: 8.348 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.5342, allocations: 55.41 kB / 0.5686 GB, free: 8.281 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.5345, allocations: 220 kB / 0.5688 GB, free: 8.082 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.5345, allocations: 25.7 kB / 0.5688 GB, free: 8.051 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.5345, allocations: 109.8 kB / 0.5689 GB, free: 7.957 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.5346, allocations: 15.25 kB / 0.5689 GB, free: 7.945 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.5346, allocations: 4 kB / 0.5689 GB, free: 7.941 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.5347, allocations: 326.5 kB / 0.5692 GB, free: 7.617 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.651e-05/0.5348, allocations: 23.86 kB / 0.5692 GB, free: 7.598 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.628e-05/0.5349, allocations: 23.67 kB / 0.5693 GB, free: 7.578 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.358e-05/0.5349, allocations: 18.88 kB / 0.5693 GB, free: 7.562 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.5349, allocations: 0 / 0.5693 GB, free: 7.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001864/0.5351, allocations: 96 kB / 0.5694 GB, free: 7.473 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.5352, allocations: 8 kB / 0.5694 GB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.5352, allocations: 4.062 kB / 0.5694 GB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.5352, allocations: 0 / 0.5694 GB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.053e-05/0.5353, allocations: 12 kB / 0.5694 GB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.5353, allocations: 3.953 kB / 0.5694 GB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.837e-05/0.5353, allocations: 23.02 kB / 0.5694 GB, free: 7.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.5353, allocations: 4 kB / 0.5694 GB, free: 7.422 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 () * Number of clocked 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 9.577e-05/0.5354, allocations: 125.7 kB / 0.5696 GB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.5355, allocations: 7.906 kB / 0.5696 GB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002403/0.5357, allocations: 115.7 kB / 0.5697 GB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.5357, allocations: 0 / 0.5697 GB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.5357, allocations: 0 / 0.5697 GB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.5358, allocations: 3.953 kB / 0.5697 GB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004588/0.5362, allocations: 384.2 kB / 0.57 GB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5362, allocations: 4 kB / 0.57 GB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.106e-05/0.5363, allocations: 15.5 kB / 0.5701 GB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.5363, allocations: 4 kB / 0.5701 GB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.5363, allocations: 0 / 0.5701 GB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.5363, allocations: 7.938 kB / 0.5701 GB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5363, allocations: 0 / 0.5701 GB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.5366, allocations: 189.8 kB / 0.5703 GB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.911e-05/0.5367, allocations: 100.8 kB / 0.5703 GB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.5367, allocations: 0 / 0.5703 GB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.7e-05/0.5368, allocations: 4 kB / 0.5704 GB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.5368, allocations: 16.11 kB / 0.5704 GB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.5368, allocations: 4 kB / 0.5704 GB, free: 6.418 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001575/0.537, allocations: 186.1 kB / 0.5705 GB, free: 6.266 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.753e-06/0.537, allocations: 4 kB / 0.5706 GB, free: 6.262 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002329/0.5372, allocations: 27.56 kB / 0.5706 GB, free: 6.238 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 () * Number of clocked 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.001305/0.5385, allocations: 1.017 MB / 0.5716 GB, free: 5.266 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.5388, allocations: 55.41 kB / 0.5716 GB, free: 5.219 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5388, allocations: 0.5625 kB / 0.5716 GB, free: 5.219 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.67e-05/0.5388, allocations: 31.48 kB / 0.5717 GB, free: 5.191 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.5391, allocations: 16.44 kB / 0.5717 GB, free: 5.176 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.5403, allocations: 0.7689 MB / 0.5724 GB, free: 4.426 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.5406, allocations: 0.7232 MB / 0.5731 GB, free: 3.684 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.472e-05/0.5406, allocations: 8.188 kB / 0.5731 GB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.232e-05/0.5407, allocations: 36.86 kB / 0.5732 GB, free: 3.656 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.5407, allocations: 0 / 0.5732 GB, free: 3.656 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01489/0.5556, allocations: 2.6 MB / 0.5757 GB, free: 1.082 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.5559, allocations: 220.6 kB / 0.5759 GB, free: 0.832 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/2.243, allocations: 0 / 0.5759 GB, free: 0.832 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat does not exist to compare? outputFormat=mat