Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.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.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test27",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.002338/0.002338, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001227/0.001226, allocations: 89.55 kB / 270.9 MB, free: 8.383 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.5323/0.5323, allocations: 43.55 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.0004837, allocations: 16 kB / 431.5 MB, free: 6.059 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1296, allocations: 58.85 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4644/0.594, allocations: 87.67 MB / 0.5645 GB, free: 14.83 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/0.5944, allocations: 79.95 kB / 0.5645 GB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02395/0.6183, allocations: 5.288 MB / 0.5697 GB, free: 9.512 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.6184, allocations: 0 / 0.5697 GB, free: 9.512 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.6184, allocations: 0 / 0.5697 GB, free: 9.512 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006891/0.6191, allocations: 427.8 kB / 0.5701 GB, free: 9.051 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.6192, allocations: 12.03 kB / 0.5701 GB, free: 9.039 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.572e-05/0.6192, allocations: 34.5 kB / 0.5701 GB, free: 8.996 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.6193, allocations: 15.34 kB / 0.5702 GB, free: 8.984 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.6197, allocations: 209.9 kB / 0.5704 GB, free: 8.742 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.6197, allocations: 7.984 kB / 0.5704 GB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.6197, allocations: 4 kB / 0.5704 GB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.6199, allocations: 57.61 kB / 0.5704 GB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.62, allocations: 0 / 0.5704 GB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.62, allocations: 0 / 0.5704 GB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.62, allocations: 5.031 kB / 0.5704 GB, free: 8.668 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.6201, allocations: 23.86 kB / 0.5705 GB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005181/0.6207, allocations: 300.8 kB / 0.5707 GB, free: 8.301 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.6209, allocations: 58.67 kB / 0.5708 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.621, allocations: 2.719 kB / 0.5708 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/0.6212, allocations: 71.44 kB / 0.5709 GB, free: 8.152 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.404e-06/0.6212, allocations: 4 kB / 0.5709 GB, free: 8.148 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000824/0.622, allocations: 181.2 kB / 0.571 GB, free: 7.965 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.6221, allocations: 51.41 kB / 0.5711 GB, free: 7.902 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.6224, allocations: 165.4 kB / 0.5713 GB, free: 7.734 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.6224, allocations: 29.7 kB / 0.5713 GB, free: 7.699 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.362e-05/0.6225, allocations: 162.6 kB / 0.5714 GB, free: 7.539 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.6226, allocations: 27.64 kB / 0.5715 GB, free: 7.512 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.6226, allocations: 0 / 0.5715 GB, free: 7.512 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.6227, allocations: 318.8 kB / 0.5718 GB, free: 7.191 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.828e-05/0.6228, allocations: 19.98 kB / 0.5718 GB, free: 7.172 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.623, allocations: 37.7 kB / 0.5718 GB, free: 7.129 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.6231, allocations: 24 kB / 0.5718 GB, free: 7.105 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.6231, allocations: 0 / 0.5718 GB, free: 7.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003032/0.6234, allocations: 101.5 kB / 0.5719 GB, free: 7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.6234, allocations: 8 kB / 0.5719 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.6235, allocations: 4.031 kB / 0.572 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.6235, allocations: 0 / 0.572 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.6236, allocations: 15.98 kB / 0.572 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.6237, allocations: 7.953 kB / 0.572 GB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.218e-05/0.6238, allocations: 0 / 0.572 GB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.6238, allocations: 7.938 kB / 0.572 GB, free: 6.957 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001497/0.624, allocations: 130.7 kB / 0.5721 GB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.624, allocations: 11.91 kB / 0.5721 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003996/0.6244, allocations: 122.3 kB / 0.5722 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.6244, allocations: 288 / 0.5722 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.6245, allocations: 0 / 0.5722 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.6245, allocations: 3.953 kB / 0.5722 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007382/0.6252, allocations: 423.3 kB / 0.5726 GB, free: 6.203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.6252, allocations: 0 / 0.5726 GB, free: 6.203 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.622e-05/0.6253, allocations: 8.875 kB / 0.5727 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.6253, allocations: 4 kB / 0.5727 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.6254, allocations: 7.969 kB / 0.5727 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.6254, allocations: 3.953 kB / 0.5727 GB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.6254, allocations: 4 kB / 0.5727 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.6258, allocations: 217.9 kB / 0.5729 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.89e-05/0.6259, allocations: 93.02 kB / 0.573 GB, free: 5.828 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.6259, allocations: 8.328 kB / 0.573 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.6261, allocations: 11.98 kB / 0.573 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.6261, allocations: 8 kB / 0.573 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.6262, allocations: 4 kB / 0.573 GB, free: 5.797 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001882/0.6264, allocations: 140.8 kB / 0.5731 GB, free: 5.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6264, allocations: 4 kB / 0.5731 GB, free: 5.656 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003831/0.6268, allocations: 35.92 kB / 0.5732 GB, free: 5.621 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002021/0.6288, allocations: 1.199 MB / 0.5743 GB, free: 4.496 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000332/0.6292, allocations: 63.91 kB / 0.5744 GB, free: 4.434 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6292, allocations: 0 / 0.5744 GB, free: 4.434 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.6293, allocations: 31.98 kB / 0.5744 GB, free: 4.402 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.6297, allocations: 19.98 kB / 0.5745 GB, free: 4.383 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.6316, allocations: 0.9019 MB / 0.5753 GB, free: 3.418 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.6319, allocations: 0.7043 MB / 0.576 GB, free: 2.688 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.632, allocations: 35.42 kB / 0.5761 GB, free: 2.652 MB / 394.7 MB Notification: Performance of SimCode: time 3.166e-06/0.6321, allocations: 112 / 0.5761 GB, free: 2.652 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.782/3.414, allocations: 2.464 MB / 0.5785 GB, free: 204 kB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat does not exist to compare? outputFormat=mat