Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.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.CombiTable2D.Test25,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test25,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test25",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.00153/0.00153, 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.143/2.143, 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.001138/0.001138, allocations: 82.34 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.3385/0.3385, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.272e-05/2.282e-05, allocations: 4 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4441/0.4442, allocations: 58.85 MB / 477.2 MB, free: 5.141 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1625/0.6067, allocations: 86.08 MB / 0.5501 GB, free: 13.11 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.607, allocations: 67.47 kB / 0.5501 GB, free: 13.05 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01709/0.6241, allocations: 4.091 MB / 0.5541 GB, free: 8.953 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.6242, allocations: 0 / 0.5541 GB, free: 8.953 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.6242, allocations: 4 kB / 0.5541 GB, free: 8.949 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005291/0.6248, allocations: 390.6 kB / 0.5545 GB, free: 8.527 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.6248, allocations: 12.03 kB / 0.5545 GB, free: 8.516 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.6249, allocations: 15.86 kB / 0.5545 GB, free: 8.5 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.6252, allocations: 199.4 kB / 0.5547 GB, free: 8.262 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.6252, allocations: 0 / 0.5547 GB, free: 8.262 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.6253, allocations: 4 kB / 0.5547 GB, free: 8.258 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.991e-05/0.6254, allocations: 12 kB / 0.5547 GB, free: 8.246 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.6255, allocations: 41.69 kB / 0.5548 GB, free: 8.199 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.6255, allocations: 0 / 0.5548 GB, free: 8.199 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.6255, allocations: 4 kB / 0.5548 GB, free: 8.195 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.6256, allocations: 0 / 0.5548 GB, free: 8.195 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.626, allocations: 281.2 kB / 0.555 GB, free: 7.883 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.654e-05/0.6261, allocations: 34.58 kB / 0.5551 GB, free: 7.84 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.903e-05/0.6262, allocations: 12.86 kB / 0.5551 GB, free: 7.824 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.6262, allocations: 0 / 0.5551 GB, free: 7.824 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.6263, allocations: 30.56 kB / 0.5551 GB, free: 7.785 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.714e-06/0.6263, allocations: 8 kB / 0.5551 GB, free: 7.777 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006207/0.6269, allocations: 133.3 kB / 0.5552 GB, free: 7.641 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.627, allocations: 55.41 kB / 0.5553 GB, free: 7.574 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.6272, allocations: 147.3 kB / 0.5554 GB, free: 7.418 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.6272, allocations: 29.7 kB / 0.5555 GB, free: 7.383 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.218e-05/0.6273, allocations: 170.5 kB / 0.5556 GB, free: 7.215 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.6274, allocations: 19.66 kB / 0.5557 GB, free: 7.195 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.6274, allocations: 0 / 0.5557 GB, free: 7.195 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.6275, allocations: 322.8 kB / 0.556 GB, free: 6.871 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.673e-05/0.6276, allocations: 12 kB / 0.556 GB, free: 6.859 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.659e-05/0.6277, allocations: 12 kB / 0.556 GB, free: 6.848 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.456e-05/0.6277, allocations: 16 kB / 0.556 GB, free: 6.832 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.6278, allocations: 3.938 kB / 0.556 GB, free: 6.828 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001676/0.6279, allocations: 69.69 kB / 0.5561 GB, free: 6.754 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.628, allocations: 4 kB / 0.5561 GB, free: 6.75 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.628, allocations: 4 kB / 0.5561 GB, free: 6.746 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.628, allocations: 0 / 0.5561 GB, free: 6.746 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.6282, allocations: 27.92 kB / 0.5561 GB, free: 6.719 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.6282, allocations: 3.953 kB / 0.5561 GB, free: 6.715 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.6284, allocations: 11.98 kB / 0.5561 GB, free: 6.703 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.6284, allocations: 4 kB / 0.5561 GB, free: 6.699 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 (7): * Single equations (assignments): 7 * 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.292e-05/0.6285, allocations: 105 kB / 0.5562 GB, free: 6.59 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001838/0.6287, allocations: 81.83 kB / 0.5563 GB, free: 6.504 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.6287, allocations: 7.906 kB / 0.5563 GB, free: 6.496 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.629, allocations: 90.16 kB / 0.5564 GB, free: 6.406 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.629, allocations: 0 / 0.5564 GB, free: 6.406 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.629, allocations: 0 / 0.5564 GB, free: 6.406 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.629, allocations: 3.984 kB / 0.5564 GB, free: 6.402 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005169/0.6295, allocations: 335.1 kB / 0.5567 GB, free: 6.031 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.6296, allocations: 4 kB / 0.5567 GB, free: 6.027 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.6297, allocations: 23.98 kB / 0.5567 GB, free: 6.004 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.6298, allocations: 3.953 kB / 0.5567 GB, free: 6 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.6298, allocations: 4 kB / 0.5568 GB, free: 5.996 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.6298, allocations: 0 / 0.5568 GB, free: 5.996 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.6298, allocations: 0 / 0.5568 GB, free: 5.996 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.63, allocations: 171.6 kB / 0.5569 GB, free: 5.812 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.123e-05/0.6301, allocations: 96.98 kB / 0.557 GB, free: 5.699 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.6302, allocations: 7.953 kB / 0.557 GB, free: 5.691 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.6303, allocations: 15.92 kB / 0.557 GB, free: 5.676 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.6304, allocations: 7.984 kB / 0.557 GB, free: 5.668 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.6304, allocations: 0 / 0.557 GB, free: 5.668 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.6306, allocations: 128.5 kB / 0.5572 GB, free: 5.543 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.5e-07/0.6306, allocations: 4 kB / 0.5572 GB, free: 5.539 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003473/0.6309, allocations: 23.98 kB / 0.5572 GB, free: 5.516 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 (7): * Single equations (assignments): 7 * 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.001555/0.6325, allocations: 0.9312 MB / 0.5581 GB, free: 4.598 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001721/0.6327, allocations: 39.94 kB / 0.5581 GB, free: 4.559 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.6327, allocations: 0 / 0.5581 GB, free: 4.559 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.459e-05/0.6328, allocations: 23.94 kB / 0.5582 GB, free: 4.535 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.6331, allocations: 23.23 kB / 0.5582 GB, free: 4.516 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000685/0.6338, allocations: 223.8 kB / 0.5584 GB, free: 4.258 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.6342, allocations: 0.7041 MB / 0.5591 GB, free: 3.527 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.6343, allocations: 31.42 kB / 0.5591 GB, free: 3.496 MB / 395.1 MB Notification: Performance of SimCode: time 6.91e-07/0.6343, allocations: 0 / 0.5591 GB, free: 3.496 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.626/3.261, allocations: 2.127 MB / 0.5612 GB, free: 1.375 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test25.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25_res.mat does not exist to compare? outputFormat=mat