Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_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.001022/0.001022, allocations: 180.9 kB / 8.006 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.371/1.371, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.0008827/0.0008827, allocations: 86.62 kB / 261.8 MB, free: 1.68 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.2361/0.2361, allocations: 43.48 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.575e-05/1.577e-05, allocations: 4 kB / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1388, allocations: 58.86 MB / 477.2 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4868/0.6257, allocations: 85.58 MB / 0.5496 GB, free: 8.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.626, allocations: 79.39 kB / 0.5497 GB, free: 8.949 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008646/0.6346, allocations: 3.495 MB / 0.5531 GB, free: 6.184 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.6347, allocations: 0 / 0.5531 GB, free: 6.184 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.6347, allocations: 4 kB / 0.5531 GB, free: 6.18 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.0003335/0.635, allocations: 369.1 kB / 0.5535 GB, free: 5.781 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.6351, allocations: 11.97 kB / 0.5535 GB, free: 5.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.6351, allocations: 7.906 kB / 0.5535 GB, free: 5.762 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.6354, allocations: 191.5 kB / 0.5537 GB, free: 5.539 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.6354, allocations: 8 kB / 0.5537 GB, free: 5.531 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.6354, allocations: 0 / 0.5537 GB, free: 5.531 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.76e-05/0.6355, allocations: 15.48 kB / 0.5537 GB, free: 5.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.578e-05/0.6356, allocations: 37.02 kB / 0.5537 GB, free: 5.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.6356, allocations: 0 / 0.5537 GB, free: 5.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.6356, allocations: 0 / 0.5537 GB, free: 5.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.6356, allocations: 0 / 0.5537 GB, free: 5.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.636, allocations: 258.9 kB / 0.554 GB, free: 5.207 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.6361, allocations: 41.31 kB / 0.554 GB, free: 5.164 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.129e-05/0.6362, allocations: 4.859 kB / 0.554 GB, free: 5.156 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.6362, allocations: 4.094 kB / 0.554 GB, free: 5.152 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.6362, allocations: 38.55 kB / 0.554 GB, free: 5.105 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.031e-06/0.6362, allocations: 0 / 0.554 GB, free: 5.105 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003992/0.6366, allocations: 102.6 kB / 0.5541 GB, free: 5.012 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.008e-05/0.6366, allocations: 51.41 kB / 0.5542 GB, free: 4.949 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.6368, allocations: 128.5 kB / 0.5543 GB, free: 4.824 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.6368, allocations: 25.7 kB / 0.5543 GB, free: 4.793 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.048e-05/0.6368, allocations: 97.94 kB / 0.5544 GB, free: 4.703 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.6368, allocations: 15.66 kB / 0.5544 GB, free: 4.688 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.6368, allocations: 0 / 0.5544 GB, free: 4.688 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.929e-05/0.6369, allocations: 325.9 kB / 0.5548 GB, free: 4.363 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.6369, allocations: 11 kB / 0.5548 GB, free: 4.355 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.46e-05/0.637, allocations: 7 kB / 0.5548 GB, free: 4.352 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.33e-05/0.637, allocations: 11.12 kB / 0.5548 GB, free: 4.344 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.637, allocations: 0 / 0.5548 GB, free: 4.344 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.375e-05/0.6371, allocations: 56.31 kB / 0.5548 GB, free: 4.289 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.6371, allocations: 8 kB / 0.5548 GB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.6371, allocations: 0 / 0.5548 GB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.6371, allocations: 0 / 0.5548 GB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.53e-05/0.6372, allocations: 18.98 kB / 0.5549 GB, free: 4.266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.6372, allocations: 4 kB / 0.5549 GB, free: 4.262 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.925e-05/0.6373, allocations: 4 kB / 0.5549 GB, free: 4.258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.6373, allocations: 4 kB / 0.5549 GB, free: 4.254 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 5.649e-05/0.6373, allocations: 105.1 kB / 0.555 GB, free: 4.145 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.123e-05/0.6374, allocations: 63.34 kB / 0.555 GB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.6375, allocations: 3.906 kB / 0.555 GB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.6376, allocations: 68.27 kB / 0.5551 GB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.6376, allocations: 0 / 0.5551 GB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.6376, allocations: 7.938 kB / 0.5551 GB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.6376, allocations: 7.953 kB / 0.5551 GB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.6379, allocations: 294.9 kB / 0.5554 GB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.6379, allocations: 0 / 0.5554 GB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.521e-05/0.6379, allocations: 15.98 kB / 0.5554 GB, free: 3.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.6379, allocations: 4 kB / 0.5554 GB, free: 3.676 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.638, allocations: 4 kB / 0.5554 GB, free: 3.672 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.638, allocations: 0 / 0.5554 GB, free: 3.672 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.638, allocations: 7.953 kB / 0.5554 GB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.802e-05/0.6381, allocations: 154.5 kB / 0.5556 GB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/0.6381, allocations: 89 kB / 0.5557 GB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.6381, allocations: 0 / 0.5557 GB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.604e-05/0.6382, allocations: 8 kB / 0.5557 GB, free: 3.395 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.6383, allocations: 11.94 kB / 0.5557 GB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.6383, allocations: 0 / 0.5557 GB, free: 3.383 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.727e-05/0.6383, allocations: 113.4 kB / 0.5558 GB, free: 3.285 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6384, allocations: 3.938 kB / 0.5558 GB, free: 3.281 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002335/0.6386, allocations: 15.94 kB / 0.5558 GB, free: 3.266 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.0009241/0.6395, allocations: 0.9265 MB / 0.5567 GB, free: 2.379 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.419e-05/0.6396, allocations: 27.62 kB / 0.5567 GB, free: 2.359 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.6396, allocations: 0 / 0.5567 GB, free: 2.359 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.38e-05/0.6397, allocations: 15.62 kB / 0.5568 GB, free: 2.348 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.6399, allocations: 7.984 kB / 0.5568 GB, free: 2.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003822/0.6403, allocations: 148.2 kB / 0.5569 GB, free: 2.168 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.6404, allocations: 0.7001 MB / 0.5576 GB, free: 1.441 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.61e-05/0.6405, allocations: 16.16 kB / 0.5576 GB, free: 1.422 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.402e-05/0.6406, allocations: 18.88 kB / 0.5576 GB, free: 1.41 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.6406, allocations: 0 / 0.5576 GB, free: 1.41 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.6626, allocations: 1.707 MB / 0.5593 GB, free: 15.72 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002387/0.6629, allocations: 166.5 kB / 0.5594 GB, free: 15.52 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/2.363, allocations: 0 / 0.5594 GB, free: 15.52 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat does not exist to compare? outputFormat=mat