Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test6",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.001009/0.001009, allocations: 177.6 kB / 8.002 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.743/1.743, 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.0009581/0.0009581, allocations: 98.08 kB / 261.8 MB, free: 1.668 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.2619/0.2619, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.63e-05/1.631e-05, allocations: 0 / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1419, allocations: 58.86 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4595/0.6015, allocations: 85.69 MB / 0.5497 GB, free: 8.625 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.6018, allocations: 66.27 kB / 0.5498 GB, free: 8.598 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009492/0.6113, allocations: 4.195 MB / 0.5539 GB, free: 5.234 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6114, allocations: 0 / 0.5539 GB, free: 5.234 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.6114, allocations: 0 / 0.5539 GB, free: 5.234 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003432/0.6117, allocations: 395.1 kB / 0.5542 GB, free: 4.812 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.6118, allocations: 12.03 kB / 0.5543 GB, free: 4.801 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.6118, allocations: 11.81 kB / 0.5543 GB, free: 4.789 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.612, allocations: 216.3 kB / 0.5545 GB, free: 4.547 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.6121, allocations: 7.938 kB / 0.5545 GB, free: 4.539 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.6121, allocations: 4 kB / 0.5545 GB, free: 4.535 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.284e-05/0.6122, allocations: 22.23 kB / 0.5545 GB, free: 4.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.739e-05/0.6122, allocations: 49.25 kB / 0.5546 GB, free: 4.473 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.6123, allocations: 0 / 0.5546 GB, free: 4.473 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.6123, allocations: 3.938 kB / 0.5546 GB, free: 4.469 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.6123, allocations: 0 / 0.5546 GB, free: 4.469 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002983/0.6126, allocations: 294.3 kB / 0.5548 GB, free: 4.164 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.127e-05/0.6127, allocations: 41.94 kB / 0.5549 GB, free: 4.121 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.24e-05/0.6127, allocations: 12.3 kB / 0.5549 GB, free: 4.109 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.6127, allocations: 7.828 kB / 0.5549 GB, free: 4.105 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.6128, allocations: 30.56 kB / 0.5549 GB, free: 4.066 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.6128, allocations: 0 / 0.5549 GB, free: 4.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004018/0.6132, allocations: 138.3 kB / 0.5551 GB, free: 3.945 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.08e-05/0.6132, allocations: 51.41 kB / 0.5551 GB, free: 3.883 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.6134, allocations: 200.1 kB / 0.5553 GB, free: 3.703 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.6134, allocations: 25.7 kB / 0.5553 GB, free: 3.672 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/0.6134, allocations: 108.6 kB / 0.5554 GB, free: 3.578 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.6134, allocations: 26.89 kB / 0.5555 GB, free: 3.555 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-06/0.6135, allocations: 0 / 0.5555 GB, free: 3.555 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.979e-05/0.6135, allocations: 325.3 kB / 0.5558 GB, free: 3.234 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.347e-05/0.6136, allocations: 15.5 kB / 0.5558 GB, free: 3.223 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.979e-05/0.6136, allocations: 14.44 kB / 0.5558 GB, free: 3.215 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.079e-05/0.6136, allocations: 11.73 kB / 0.5558 GB, free: 3.207 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.6136, allocations: 3.984 kB / 0.5558 GB, free: 3.203 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.669e-05/0.6137, allocations: 88.52 kB / 0.5559 GB, free: 3.125 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.6137, allocations: 7.984 kB / 0.5559 GB, free: 3.117 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.6138, allocations: 0 / 0.5559 GB, free: 3.117 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.6138, allocations: 4 kB / 0.5559 GB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.6139, allocations: 20.17 kB / 0.5559 GB, free: 3.094 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.6139, allocations: 4 kB / 0.5559 GB, free: 3.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.532e-05/0.614, allocations: 11.95 kB / 0.5559 GB, free: 3.078 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.614, allocations: 4 kB / 0.5559 GB, free: 3.074 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 (8): * Single equations (assignments): 8 * 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.061e-05/0.614, allocations: 108.9 kB / 0.556 GB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.866e-05/0.6141, allocations: 73.03 kB / 0.5561 GB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.6142, allocations: 15.81 kB / 0.5561 GB, free: 2.879 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.6143, allocations: 98.81 kB / 0.5562 GB, free: 2.797 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.6143, allocations: 8 kB / 0.5562 GB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6143, allocations: 3.953 kB / 0.5562 GB, free: 2.785 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.6143, allocations: 0 / 0.5562 GB, free: 2.785 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.6146, allocations: 364.9 kB / 0.5566 GB, free: 2.422 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6146, allocations: 0 / 0.5566 GB, free: 2.422 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.775e-05/0.6147, allocations: 15.98 kB / 0.5566 GB, free: 2.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.6147, allocations: 4 kB / 0.5566 GB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.6147, allocations: 3.953 kB / 0.5566 GB, free: 2.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.6147, allocations: 4 kB / 0.5566 GB, free: 2.395 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6148, allocations: 0 / 0.5566 GB, free: 2.395 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.6149, allocations: 186.8 kB / 0.5568 GB, free: 2.215 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.6149, allocations: 96.91 kB / 0.5569 GB, free: 2.102 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.6149, allocations: 0 / 0.5569 GB, free: 2.102 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.039e-05/0.615, allocations: 15.94 kB / 0.5569 GB, free: 2.086 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.6151, allocations: 11.88 kB / 0.5569 GB, free: 2.078 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.6151, allocations: 0 / 0.5569 GB, free: 2.078 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.819e-05/0.6152, allocations: 162.9 kB / 0.5571 GB, free: 1.945 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6152, allocations: 0 / 0.5571 GB, free: 1.945 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002315/0.6154, allocations: 24 kB / 0.5571 GB, free: 1.922 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 (8): * Single equations (assignments): 8 * 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.0009029/0.6163, allocations: 0.9342 MB / 0.558 GB, free: 1.035 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.904e-05/0.6164, allocations: 43.36 kB / 0.558 GB, free: 1.004 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.6165, allocations: 0 / 0.558 GB, free: 1.004 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.16e-05/0.6165, allocations: 27.69 kB / 0.5581 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.6167, allocations: 15.83 kB / 0.5581 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.6172, allocations: 256.7 kB / 0.5583 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/0.6174, allocations: 0.7119 MB / 0.559 GB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.595e-05/0.6174, allocations: 20.91 kB / 0.559 GB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.249e-05/0.6175, allocations: 38.81 kB / 0.5591 GB, free: 15.93 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6175, allocations: 0 / 0.5591 GB, free: 15.93 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.6379, allocations: 2.334 MB / 0.5614 GB, free: 13.61 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/0.6381, allocations: 167.4 kB / 0.5615 GB, free: 13.41 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.426/2.064, allocations: 0 / 0.5615 GB, free: 13.41 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat does not exist to compare? outputFormat=mat