Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test28,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test28,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_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.001448/0.001448, allocations: 179.4 kB / 8.364 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.134/2.134, 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.001107/0.001107, allocations: 91.06 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.3664/0.3664, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.219e-05/3.226e-05, allocations: 4 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4257, allocations: 58.86 MB / 477.2 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1679/0.5936, allocations: 85.74 MB / 0.5497 GB, free: 13.54 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.5939, allocations: 67.97 kB / 0.5498 GB, free: 13.47 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0172/0.6112, allocations: 4.018 MB / 0.5537 GB, free: 9.453 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6112, allocations: 0 / 0.5537 GB, free: 9.453 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.333e-05/0.6113, allocations: 7.938 kB / 0.5537 GB, free: 9.445 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.0005638/0.6118, allocations: 394.9 kB / 0.5541 GB, free: 9.016 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.6119, allocations: 8.031 kB / 0.5541 GB, free: 9.008 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.612, allocations: 11.81 kB / 0.5541 GB, free: 8.996 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003736/0.6124, allocations: 202.8 kB / 0.5543 GB, free: 8.758 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.6124, allocations: 8 kB / 0.5543 GB, free: 8.75 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.6124, allocations: 4 kB / 0.5543 GB, free: 8.746 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.668e-05/0.6125, allocations: 11.98 kB / 0.5543 GB, free: 8.734 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.6126, allocations: 41.69 kB / 0.5544 GB, free: 8.688 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.6127, allocations: 0 / 0.5544 GB, free: 8.688 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.6127, allocations: 0 / 0.5544 GB, free: 8.688 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.6127, allocations: 0 / 0.5544 GB, free: 8.688 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005458/0.6133, allocations: 293.3 kB / 0.5547 GB, free: 8.363 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.6135, allocations: 38.52 kB / 0.5547 GB, free: 8.316 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.964e-05/0.6135, allocations: 16.94 kB / 0.5547 GB, free: 8.297 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.6136, allocations: 3.984 kB / 0.5547 GB, free: 8.293 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.6136, allocations: 30.56 kB / 0.5547 GB, free: 8.254 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 2.224e-06/0.6136, allocations: 0 / 0.5547 GB, free: 8.254 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005457/0.6142, allocations: 121.2 kB / 0.5549 GB, free: 8.129 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.6143, allocations: 63.36 kB / 0.5549 GB, free: 8.055 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.6146, allocations: 205.8 kB / 0.5551 GB, free: 7.84 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.6147, allocations: 29.64 kB / 0.5551 GB, free: 7.805 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.745e-05/0.6148, allocations: 170.6 kB / 0.5553 GB, free: 7.637 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.6148, allocations: 15.73 kB / 0.5553 GB, free: 7.621 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-06/0.6148, allocations: 0 / 0.5553 GB, free: 7.621 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.615, allocations: 318.8 kB / 0.5556 GB, free: 7.301 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.922e-05/0.6151, allocations: 8 kB / 0.5556 GB, free: 7.293 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.777e-05/0.6151, allocations: 12 kB / 0.5556 GB, free: 7.281 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.838e-05/0.6152, allocations: 20.14 kB / 0.5557 GB, free: 7.262 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.6152, allocations: 0 / 0.5557 GB, free: 7.262 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001588/0.6154, allocations: 65.72 kB / 0.5557 GB, free: 7.191 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.6154, allocations: 8 kB / 0.5557 GB, free: 7.184 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.6154, allocations: 0 / 0.5557 GB, free: 7.184 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.6155, allocations: 0 / 0.5557 GB, free: 7.184 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.6156, allocations: 19.98 kB / 0.5558 GB, free: 7.164 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.6156, allocations: 0 / 0.5558 GB, free: 7.164 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.651e-05/0.6157, allocations: 7.953 kB / 0.5558 GB, free: 7.156 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.6157, allocations: 4 kB / 0.5558 GB, free: 7.152 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.813e-05/0.6158, allocations: 105 kB / 0.5559 GB, free: 7.043 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001716/0.616, allocations: 69.53 kB / 0.5559 GB, free: 6.969 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.618e-05/0.6161, allocations: 15.81 kB / 0.5559 GB, free: 6.953 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.6163, allocations: 83.28 kB / 0.556 GB, free: 6.867 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.6164, allocations: 4 kB / 0.556 GB, free: 6.863 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.6164, allocations: 3.953 kB / 0.556 GB, free: 6.859 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.6164, allocations: 0 / 0.556 GB, free: 6.859 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005772/0.617, allocations: 339.1 kB / 0.5564 GB, free: 6.484 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.617, allocations: 0 / 0.5564 GB, free: 6.484 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.6171, allocations: 15.98 kB / 0.5564 GB, free: 6.469 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.6171, allocations: 0 / 0.5564 GB, free: 6.469 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.6172, allocations: 0 / 0.5564 GB, free: 6.469 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.6172, allocations: 7.953 kB / 0.5564 GB, free: 6.461 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.6172, allocations: 4 kB / 0.5564 GB, free: 6.457 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.6174, allocations: 171.6 kB / 0.5565 GB, free: 6.273 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.6175, allocations: 97 kB / 0.5566 GB, free: 6.16 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.6176, allocations: 0 / 0.5566 GB, free: 6.16 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.6177, allocations: 11.94 kB / 0.5567 GB, free: 6.148 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.6178, allocations: 11.88 kB / 0.5567 GB, free: 6.137 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.6178, allocations: 8 kB / 0.5567 GB, free: 6.129 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002378/0.618, allocations: 167.2 kB / 0.5568 GB, free: 5.965 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6181, allocations: 3.938 kB / 0.5568 GB, free: 5.961 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003737/0.6184, allocations: 24 kB / 0.5569 GB, free: 5.938 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.001521/0.62, allocations: 0.9281 MB / 0.5578 GB, free: 5.031 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001627/0.6202, allocations: 35.92 kB / 0.5578 GB, free: 4.996 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6202, allocations: 0 / 0.5578 GB, free: 4.996 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.188e-05/0.6202, allocations: 16 kB / 0.5578 GB, free: 4.98 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.6206, allocations: 31.36 kB / 0.5578 GB, free: 4.949 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008242/0.6214, allocations: 271.8 kB / 0.5581 GB, free: 4.641 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.6218, allocations: 0.7158 MB / 0.5588 GB, free: 3.898 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.6219, allocations: 31.42 kB / 0.5588 GB, free: 3.867 MB / 395.1 MB Notification: Performance of SimCode: time 8.01e-07/0.622, allocations: 4 kB / 0.5588 GB, free: 3.863 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.679/3.301, allocations: 2.313 MB / 0.5611 GB, free: 1.555 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test28.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28_res.mat does not exist to compare? outputFormat=mat