Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test16",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.005046/0.005046, allocations: 179.4 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.348/2.348, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001666/0.001665, allocations: 90.08 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3478/0.3478, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.741e-05/2.755e-05, allocations: 4 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4222, allocations: 58.85 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1702/0.5924, allocations: 85.73 MB / 0.5497 GB, free: 13.46 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.5927, allocations: 75.45 kB / 0.5498 GB, free: 13.39 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01677/0.6095, allocations: 3.906 MB / 0.5536 GB, free: 9.492 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6096, allocations: 0 / 0.5536 GB, free: 9.492 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.6096, allocations: 7.938 kB / 0.5536 GB, free: 9.484 MB / 395.1 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.0004893/0.6101, allocations: 378.9 kB / 0.554 GB, free: 9.07 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.6102, allocations: 8.031 kB / 0.554 GB, free: 9.062 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.487e-05/0.6102, allocations: 19.84 kB / 0.554 GB, free: 9.043 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.6106, allocations: 201.7 kB / 0.5542 GB, free: 8.809 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.6106, allocations: 0 / 0.5542 GB, free: 8.809 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.6106, allocations: 4 kB / 0.5542 GB, free: 8.805 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.495e-05/0.6107, allocations: 12 kB / 0.5542 GB, free: 8.793 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.817e-05/0.6108, allocations: 41.69 kB / 0.5543 GB, free: 8.746 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.6108, allocations: 0 / 0.5543 GB, free: 8.746 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.6109, allocations: 4 kB / 0.5543 GB, free: 8.742 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.6109, allocations: 0 / 0.5543 GB, free: 8.742 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005296/0.6114, allocations: 281.3 kB / 0.5545 GB, free: 8.43 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.6117, allocations: 34.58 kB / 0.5546 GB, free: 8.387 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.932e-05/0.6117, allocations: 20.88 kB / 0.5546 GB, free: 8.363 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.6117, allocations: 0 / 0.5546 GB, free: 8.363 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.6118, allocations: 34.56 kB / 0.5546 GB, free: 8.32 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.844e-06/0.6118, allocations: 0 / 0.5546 GB, free: 8.32 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005105/0.6123, allocations: 109.3 kB / 0.5547 GB, free: 8.207 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.6124, allocations: 51.41 kB / 0.5548 GB, free: 8.145 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.6126, allocations: 173.4 kB / 0.5549 GB, free: 7.969 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.6127, allocations: 29.64 kB / 0.555 GB, free: 7.934 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.6128, allocations: 174.5 kB / 0.5551 GB, free: 7.762 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.6128, allocations: 11.75 kB / 0.5551 GB, free: 7.75 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.6129, allocations: 0 / 0.5551 GB, free: 7.75 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.613, allocations: 322.8 kB / 0.5554 GB, free: 7.426 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/0.6131, allocations: 12 kB / 0.5555 GB, free: 7.414 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.066e-05/0.6131, allocations: 15.98 kB / 0.5555 GB, free: 7.398 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.742e-05/0.6132, allocations: 12.16 kB / 0.5555 GB, free: 7.387 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.6132, allocations: 0 / 0.5555 GB, free: 7.387 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001463/0.6133, allocations: 61.62 kB / 0.5555 GB, free: 7.32 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.6134, allocations: 4 kB / 0.5555 GB, free: 7.316 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.6134, allocations: 400 / 0.5555 GB, free: 7.316 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.6134, allocations: 0 / 0.5555 GB, free: 7.316 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.6136, allocations: 23.97 kB / 0.5556 GB, free: 7.293 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.6136, allocations: 0 / 0.5556 GB, free: 7.293 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.702e-05/0.6137, allocations: 11.98 kB / 0.5556 GB, free: 7.281 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.6137, allocations: 4 kB / 0.5556 GB, free: 7.277 MB / 395.1 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 8.374e-05/0.6138, allocations: 104.9 kB / 0.5557 GB, free: 7.168 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001616/0.614, allocations: 69.53 kB / 0.5557 GB, free: 7.094 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.787e-05/0.614, allocations: 11.81 kB / 0.5558 GB, free: 7.082 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.6142, allocations: 82.06 kB / 0.5558 GB, free: 6.992 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.6143, allocations: 0 / 0.5558 GB, free: 6.992 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.6143, allocations: 8 kB / 0.5558 GB, free: 6.984 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.6143, allocations: 3.953 kB / 0.5559 GB, free: 6.98 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005246/0.6148, allocations: 327.1 kB / 0.5562 GB, free: 6.617 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6149, allocations: 0 / 0.5562 GB, free: 6.617 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.615, allocations: 11.98 kB / 0.5562 GB, free: 6.605 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.615, allocations: 4 kB / 0.5562 GB, free: 6.602 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.615, allocations: 0 / 0.5562 GB, free: 6.602 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.615, allocations: 0 / 0.5562 GB, free: 6.602 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.615, allocations: 7.953 kB / 0.5562 GB, free: 6.594 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.6153, allocations: 167.4 kB / 0.5563 GB, free: 6.414 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.118e-05/0.6154, allocations: 92.92 kB / 0.5564 GB, free: 6.305 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.6154, allocations: 256 / 0.5564 GB, free: 6.305 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.6156, allocations: 11.98 kB / 0.5564 GB, free: 6.293 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.6156, allocations: 11.88 kB / 0.5565 GB, free: 6.281 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.6156, allocations: 3.953 kB / 0.5565 GB, free: 6.277 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001957/0.6158, allocations: 156.1 kB / 0.5566 GB, free: 6.125 MB / 395.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6159, allocations: 0 / 0.5566 GB, free: 6.125 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003634/0.6162, allocations: 23.98 kB / 0.5566 GB, free: 6.102 MB / 395.1 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.001511/0.6177, allocations: 0.9222 MB / 0.5575 GB, free: 5.191 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.618, allocations: 31.94 kB / 0.5576 GB, free: 5.16 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.618, allocations: 4 kB / 0.5576 GB, free: 5.156 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.563e-05/0.6181, allocations: 16.11 kB / 0.5576 GB, free: 5.141 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.6184, allocations: 15.42 kB / 0.5576 GB, free: 5.129 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007817/0.6192, allocations: 255.4 kB / 0.5578 GB, free: 4.836 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.6196, allocations: 0.7119 MB / 0.5585 GB, free: 4.098 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.68e-05/0.6197, allocations: 27.42 kB / 0.5586 GB, free: 4.07 MB / 395.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6197, allocations: 0 / 0.5586 GB, free: 4.07 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.74/3.359, allocations: 2.111 MB / 0.5606 GB, free: 1.965 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test16.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16_res.mat does not exist to compare? outputFormat=mat