Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test12",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.0009459/0.0009462, allocations: 177.5 kB / 8.005 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.778/1.778, allocations: 205.3 MB / 213.7 MB, free: 1.746 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.0009106/0.0009103, allocations: 86.16 kB / 261.7 MB, free: 1.699 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.2392/0.2392, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.26e-05/2.276e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1366, allocations: 58.85 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4101/0.5468, allocations: 85.7 MB / 0.5497 GB, free: 8.602 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.5471, allocations: 67.75 kB / 0.5498 GB, free: 8.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008183/0.5553, allocations: 3.591 MB / 0.5533 GB, free: 5.715 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5553, allocations: 0 / 0.5533 GB, free: 5.715 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.5553, allocations: 4 kB / 0.5533 GB, free: 5.711 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003253/0.5557, allocations: 385 kB / 0.5537 GB, free: 5.301 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.5557, allocations: 12.03 kB / 0.5537 GB, free: 5.289 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.5558, allocations: 3.906 kB / 0.5537 GB, free: 5.285 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.556, allocations: 194.2 kB / 0.5539 GB, free: 5.059 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.556, allocations: 7.969 kB / 0.5539 GB, free: 5.051 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.5561, allocations: 0 / 0.5539 GB, free: 5.051 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.597e-05/0.5561, allocations: 19.16 kB / 0.5539 GB, free: 5.039 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.977e-05/0.5562, allocations: 45.06 kB / 0.5539 GB, free: 4.992 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.5563, allocations: 0 / 0.5539 GB, free: 4.992 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.5563, allocations: 8 kB / 0.5539 GB, free: 4.984 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.5563, allocations: 0 / 0.5539 GB, free: 4.984 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.5567, allocations: 254.9 kB / 0.5542 GB, free: 4.711 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.5569, allocations: 41.88 kB / 0.5542 GB, free: 4.668 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.628e-05/0.5569, allocations: 8.859 kB / 0.5542 GB, free: 4.656 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.5569, allocations: 7.047 kB / 0.5542 GB, free: 4.652 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.557, allocations: 37.69 kB / 0.5543 GB, free: 4.609 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.557, allocations: 7.938 kB / 0.5543 GB, free: 4.602 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004049/0.5574, allocations: 102.9 kB / 0.5544 GB, free: 4.508 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.5574, allocations: 55.36 kB / 0.5544 GB, free: 4.441 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.5576, allocations: 145.9 kB / 0.5546 GB, free: 4.309 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.5576, allocations: 29.7 kB / 0.5546 GB, free: 4.273 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.5576, allocations: 102.9 kB / 0.5547 GB, free: 4.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.5576, allocations: 19.66 kB / 0.5547 GB, free: 4.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.5577, allocations: 0 / 0.5547 GB, free: 4.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.947e-05/0.5577, allocations: 318.3 kB / 0.555 GB, free: 3.844 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.223e-05/0.5577, allocations: 11.81 kB / 0.555 GB, free: 3.836 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.826e-05/0.5578, allocations: 15.31 kB / 0.555 GB, free: 3.824 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.624e-05/0.5578, allocations: 15.42 kB / 0.5551 GB, free: 3.816 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.5578, allocations: 0 / 0.5551 GB, free: 3.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.108e-05/0.5579, allocations: 67.78 kB / 0.5551 GB, free: 3.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.5579, allocations: 4 kB / 0.5551 GB, free: 3.746 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.5579, allocations: 0 / 0.5551 GB, free: 3.746 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.5579, allocations: 0 / 0.5551 GB, free: 3.746 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/0.558, allocations: 12 kB / 0.5551 GB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.558, allocations: 7.938 kB / 0.5551 GB, free: 3.727 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.806e-05/0.5581, allocations: 8 kB / 0.5552 GB, free: 3.719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.5581, allocations: 3.188 kB / 0.5552 GB, free: 3.719 MB / 362.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 4.7e-05/0.5581, allocations: 105.1 kB / 0.5553 GB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.777e-05/0.5582, allocations: 68.53 kB / 0.5553 GB, free: 3.543 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.5583, allocations: 7.906 kB / 0.5553 GB, free: 3.535 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.5584, allocations: 84.2 kB / 0.5554 GB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.5584, allocations: 0 / 0.5554 GB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5584, allocations: 64 / 0.5554 GB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.5584, allocations: 4 kB / 0.5554 GB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.5587, allocations: 315.1 kB / 0.5557 GB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.5587, allocations: 4 kB / 0.5557 GB, free: 3.129 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.694e-05/0.5588, allocations: 15.98 kB / 0.5557 GB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.5588, allocations: 3.953 kB / 0.5557 GB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.5588, allocations: 7.312 kB / 0.5557 GB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5588, allocations: 0 / 0.5557 GB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5588, allocations: 0 / 0.5557 GB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.648e-05/0.5589, allocations: 157.8 kB / 0.5559 GB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.913e-05/0.5589, allocations: 96.94 kB / 0.556 GB, free: 2.832 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.559, allocations: 3.953 kB / 0.556 GB, free: 2.828 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.918e-05/0.559, allocations: 8 kB / 0.556 GB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.5591, allocations: 11.55 kB / 0.556 GB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-06/0.5591, allocations: 0 / 0.556 GB, free: 2.812 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.779e-05/0.5591, allocations: 125.1 kB / 0.5561 GB, free: 2.703 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5592, allocations: 3.938 kB / 0.5561 GB, free: 2.699 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002307/0.5594, allocations: 15.94 kB / 0.5561 GB, free: 2.684 MB / 362.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.0008223/0.5602, allocations: 0.9289 MB / 0.5571 GB, free: 1.797 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.964e-05/0.5603, allocations: 31 kB / 0.5571 GB, free: 1.773 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5603, allocations: 4 kB / 0.5571 GB, free: 1.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.571e-05/0.5604, allocations: 18.5 kB / 0.5571 GB, free: 1.758 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.5606, allocations: 15.92 kB / 0.5571 GB, free: 1.742 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.5609, allocations: 171.9 kB / 0.5573 GB, free: 1.551 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.5611, allocations: 0.7118 MB / 0.558 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.054e-05/0.5611, allocations: 16.17 kB / 0.558 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.5612, allocations: 22.06 kB / 0.558 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5612, allocations: 0 / 0.558 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.5815, allocations: 1.876 MB / 0.5598 GB, free: 14.92 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/0.5817, allocations: 160.2 kB / 0.56 GB, free: 14.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.4/1.982, allocations: 0 / 0.56 GB, free: 14.73 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12_res.mat does not exist to compare? outputFormat=mat