Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_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.0023/0.0023, allocations: 186.2 kB / 16.41 MB, free: 5.727 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.234/2.234, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001166/0.001165, allocations: 92.36 kB / 270.9 MB, free: 8.406 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.5206/0.5206, allocations: 43.56 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006492/0.0006493, allocations: 12 kB / 431.5 MB, free: 5.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1269, allocations: 58.85 MB / 490.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4657/0.5927, allocations: 87.72 MB / 0.5645 GB, free: 14.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/0.593, allocations: 71.97 kB / 0.5646 GB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0261/0.6191, allocations: 5.386 MB / 0.5698 GB, free: 9.273 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.6192, allocations: 0.5469 kB / 0.5698 GB, free: 9.273 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.771e-05/0.6192, allocations: 4 kB / 0.5698 GB, free: 9.27 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.0007449/0.62, allocations: 430.3 kB / 0.5702 GB, free: 8.805 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.62, allocations: 8.031 kB / 0.5702 GB, free: 8.797 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.78e-05/0.6201, allocations: 34.56 kB / 0.5703 GB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.823e-05/0.6202, allocations: 11.34 kB / 0.5703 GB, free: 8.746 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.6206, allocations: 217.9 kB / 0.5705 GB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.6206, allocations: 4 kB / 0.5705 GB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.6207, allocations: 0 / 0.5705 GB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.6209, allocations: 53.67 kB / 0.5706 GB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.6209, allocations: 0 / 0.5706 GB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.6209, allocations: 7.984 kB / 0.5706 GB, free: 8.426 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.621, allocations: 4.969 kB / 0.5706 GB, free: 8.422 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.6211, allocations: 23.92 kB / 0.5706 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005256/0.6216, allocations: 296.8 kB / 0.5709 GB, free: 8.059 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.6219, allocations: 59.48 kB / 0.5709 GB, free: 7.992 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.622, allocations: 0 / 0.5709 GB, free: 7.992 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002266/0.6222, allocations: 71.45 kB / 0.571 GB, free: 7.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.154e-06/0.6222, allocations: 4 kB / 0.571 GB, free: 7.906 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008577/0.6231, allocations: 177.2 kB / 0.5712 GB, free: 7.727 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.6232, allocations: 51.41 kB / 0.5712 GB, free: 7.664 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.6235, allocations: 173.4 kB / 0.5714 GB, free: 7.488 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.6235, allocations: 29.7 kB / 0.5714 GB, free: 7.453 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.436e-05/0.6236, allocations: 158.6 kB / 0.5716 GB, free: 7.297 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.543e-05/0.6237, allocations: 23.66 kB / 0.5716 GB, free: 7.273 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/0.6237, allocations: 4 kB / 0.5716 GB, free: 7.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.6238, allocations: 318.8 kB / 0.5719 GB, free: 6.949 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.6239, allocations: 23.98 kB / 0.5719 GB, free: 6.926 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.6241, allocations: 41.64 kB / 0.572 GB, free: 6.879 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.6242, allocations: 23.98 kB / 0.572 GB, free: 6.855 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6242, allocations: 0 / 0.572 GB, free: 6.855 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003234/0.6246, allocations: 102.1 kB / 0.5721 GB, free: 6.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.6246, allocations: 4 kB / 0.5721 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.6246, allocations: 4.031 kB / 0.5721 GB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.6246, allocations: 0 / 0.5721 GB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.6248, allocations: 16 kB / 0.5721 GB, free: 6.727 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.6248, allocations: 11.88 kB / 0.5721 GB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.6249, allocations: 7.984 kB / 0.5721 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.625, allocations: 0 / 0.5721 GB, free: 6.707 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.0001577/0.6251, allocations: 129.8 kB / 0.5722 GB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.6252, allocations: 11.89 kB / 0.5723 GB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004324/0.6256, allocations: 122.9 kB / 0.5724 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.6256, allocations: 0 / 0.5724 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.6257, allocations: 0 / 0.5724 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.6257, allocations: 3.953 kB / 0.5724 GB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007873/0.6265, allocations: 415.4 kB / 0.5728 GB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.6265, allocations: 0 / 0.5728 GB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.563e-05/0.6266, allocations: 15.98 kB / 0.5728 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.6266, allocations: 3.938 kB / 0.5728 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.6266, allocations: 4.031 kB / 0.5728 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/0.6267, allocations: 7.953 kB / 0.5728 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6267, allocations: 0 / 0.5728 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004119/0.6271, allocations: 218 kB / 0.573 GB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.382e-05/0.6272, allocations: 89 kB / 0.5731 GB, free: 5.586 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.6273, allocations: 15.95 kB / 0.5731 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.6274, allocations: 0 / 0.5731 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.6275, allocations: 7.984 kB / 0.5731 GB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.6275, allocations: 4 kB / 0.5731 GB, free: 5.559 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002104/0.6277, allocations: 149.1 kB / 0.5733 GB, free: 5.414 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6277, allocations: 0 / 0.5733 GB, free: 5.414 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000392/0.6281, allocations: 31.94 kB / 0.5733 GB, free: 5.383 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.002129/0.6303, allocations: 1.205 MB / 0.5745 GB, free: 4.254 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003689/0.6307, allocations: 63.91 kB / 0.5745 GB, free: 4.191 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.6307, allocations: 0 / 0.5745 GB, free: 4.191 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.6308, allocations: 31.98 kB / 0.5746 GB, free: 4.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.6313, allocations: 19.98 kB / 0.5746 GB, free: 4.141 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.6332, allocations: 0.9053 MB / 0.5755 GB, free: 3.176 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.6336, allocations: 0.7121 MB / 0.5762 GB, free: 2.438 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.6337, allocations: 35.53 kB / 0.5762 GB, free: 2.406 MB / 394.7 MB Notification: Performance of SimCode: time 1.253e-06/0.6337, allocations: 3.938 kB / 0.5762 GB, free: 2.402 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.857/3.49, allocations: 2.445 MB / 0.5786 GB, free: 15.96 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat does not exist to compare? outputFormat=mat