Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test30",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.00221/0.00221, allocations: 177.9 kB / 8.362 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.088/2.088, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.00118/0.00118, allocations: 88.69 kB / 262.1 MB, free: 13.87 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.3074/0.3074, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.276e-05/2.284e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4206, allocations: 58.85 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1671/0.5878, allocations: 85.74 MB / 0.5497 GB, free: 13.46 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.5881, allocations: 67.97 kB / 0.5498 GB, free: 13.4 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01664/0.6048, allocations: 3.916 MB / 0.5536 GB, free: 9.488 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6048, allocations: 0 / 0.5536 GB, free: 9.488 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.726e-05/0.6049, allocations: 0 / 0.5536 GB, free: 9.488 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.0005328/0.6054, allocations: 382.9 kB / 0.554 GB, free: 9.07 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.6055, allocations: 8.031 kB / 0.554 GB, free: 9.062 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.6055, allocations: 11.89 kB / 0.554 GB, free: 9.051 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.6059, allocations: 209.6 kB / 0.5542 GB, free: 8.809 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.6059, allocations: 4 kB / 0.5542 GB, free: 8.805 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.6059, allocations: 7.984 kB / 0.5542 GB, free: 8.797 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.239e-05/0.606, allocations: 12 kB / 0.5542 GB, free: 8.785 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.6062, allocations: 41.69 kB / 0.5543 GB, free: 8.738 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.168e-05/0.6062, allocations: 0 / 0.5543 GB, free: 8.738 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.6062, allocations: 0 / 0.5543 GB, free: 8.738 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.6062, allocations: 0 / 0.5543 GB, free: 8.738 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.6068, allocations: 273.3 kB / 0.5545 GB, free: 8.434 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.607, allocations: 42.56 kB / 0.5546 GB, free: 8.383 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.852e-05/0.6071, allocations: 12.86 kB / 0.5546 GB, free: 8.367 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.6071, allocations: 0 / 0.5546 GB, free: 8.367 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.6071, allocations: 30.56 kB / 0.5546 GB, free: 8.328 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.6072, allocations: 0 / 0.5546 GB, free: 8.328 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005221/0.6077, allocations: 113.4 kB / 0.5547 GB, free: 8.211 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.6078, allocations: 51.41 kB / 0.5548 GB, free: 8.148 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.608, allocations: 177.4 kB / 0.5549 GB, free: 7.969 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.6081, allocations: 25.7 kB / 0.555 GB, free: 7.938 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.64e-05/0.6082, allocations: 170.4 kB / 0.5551 GB, free: 7.77 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.6082, allocations: 19.73 kB / 0.5551 GB, free: 7.75 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.6082, allocations: 0 / 0.5551 GB, free: 7.75 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.6084, allocations: 318.8 kB / 0.5554 GB, free: 7.43 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.999e-05/0.6085, allocations: 16 kB / 0.5555 GB, free: 7.414 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.552e-05/0.6085, allocations: 8 kB / 0.5555 GB, free: 7.406 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.252e-05/0.6086, allocations: 16.14 kB / 0.5555 GB, free: 7.391 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.6086, allocations: 0 / 0.5555 GB, free: 7.391 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001544/0.6088, allocations: 61.62 kB / 0.5555 GB, free: 7.324 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.6088, allocations: 4 kB / 0.5555 GB, free: 7.32 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.6088, allocations: 0 / 0.5555 GB, free: 7.32 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.6088, allocations: 4 kB / 0.5555 GB, free: 7.316 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.609, allocations: 15.98 kB / 0.5556 GB, free: 7.301 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.609, allocations: 0 / 0.5556 GB, free: 7.301 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.467e-05/0.6091, allocations: 8.141 kB / 0.5556 GB, free: 7.293 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.6091, allocations: 0 / 0.5556 GB, free: 7.293 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 9.351e-05/0.6092, allocations: 112.9 kB / 0.5557 GB, free: 7.176 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001678/0.6094, allocations: 65.84 kB / 0.5557 GB, free: 7.105 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.6094, allocations: 23.78 kB / 0.5558 GB, free: 7.082 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.6097, allocations: 82.02 kB / 0.5558 GB, free: 6.992 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/0.6097, allocations: 0 / 0.5558 GB, free: 6.992 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6097, allocations: 4 kB / 0.5558 GB, free: 6.988 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.6097, allocations: 3.953 kB / 0.5558 GB, free: 6.984 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005296/0.6103, allocations: 327.1 kB / 0.5562 GB, free: 6.621 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6103, allocations: 0 / 0.5562 GB, free: 6.621 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.6104, allocations: 19.92 kB / 0.5562 GB, free: 6.602 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.6104, allocations: 0 / 0.5562 GB, free: 6.602 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.6105, allocations: 0 / 0.5562 GB, free: 6.602 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.6105, allocations: 4 kB / 0.5562 GB, free: 6.598 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.6105, allocations: 3.953 kB / 0.5562 GB, free: 6.594 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.6107, allocations: 167.5 kB / 0.5563 GB, free: 6.414 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.965e-05/0.6108, allocations: 92.91 kB / 0.5564 GB, free: 6.305 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.6109, allocations: 4 kB / 0.5564 GB, free: 6.301 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.611, allocations: 4 kB / 0.5564 GB, free: 6.297 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.611, allocations: 3.984 kB / 0.5564 GB, free: 6.293 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.6111, allocations: 11.89 kB / 0.5565 GB, free: 6.281 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001937/0.6113, allocations: 156.1 kB / 0.5566 GB, free: 6.129 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6113, allocations: 0 / 0.5566 GB, free: 6.129 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003456/0.6116, allocations: 20 kB / 0.5566 GB, free: 6.109 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.001467/0.6131, allocations: 0.9217 MB / 0.5575 GB, free: 5.203 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.6133, allocations: 35.98 kB / 0.5576 GB, free: 5.168 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6133, allocations: 0 / 0.5576 GB, free: 5.168 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.545e-05/0.6134, allocations: 19.94 kB / 0.5576 GB, free: 5.148 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.6137, allocations: 11.84 kB / 0.5576 GB, free: 5.137 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007471/0.6145, allocations: 247.5 kB / 0.5578 GB, free: 4.852 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.6149, allocations: 0.7158 MB / 0.5585 GB, free: 4.109 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.778e-05/0.615, allocations: 27.42 kB / 0.5586 GB, free: 4.082 MB / 395.1 MB Notification: Performance of SimCode: time 1.453e-06/0.615, allocations: 0 / 0.5586 GB, free: 4.082 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.719/3.334, allocations: 2.126 MB / 0.5606 GB, free: 1.965 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test30.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30_res.mat does not exist to compare? outputFormat=mat