Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test75",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.001583/0.001583, 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.118/2.118, 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.00118/0.00118, allocations: 91.25 kB / 270.9 MB, free: 8.379 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.5368/0.5368, allocations: 43.55 MB / 362.7 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004835, allocations: 20 kB / 431.5 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.127, allocations: 58.85 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4649/0.5919, allocations: 87.81 MB / 0.5646 GB, free: 14.56 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.5923, allocations: 79.95 kB / 0.5647 GB, free: 14.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.034/0.6263, allocations: 7.698 MB / 0.5722 GB, free: 6.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6264, allocations: 0 / 0.5722 GB, free: 6.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.869e-05/0.6264, allocations: 4 kB / 0.5722 GB, free: 6.836 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001012/0.6274, allocations: 0.5424 MB / 0.5727 GB, free: 6.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.6275, allocations: 8.031 kB / 0.5727 GB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.669e-05/0.6276, allocations: 42.55 kB / 0.5728 GB, free: 6.191 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.34e-05/0.6277, allocations: 31.62 kB / 0.5728 GB, free: 6.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000658/0.6283, allocations: 291 kB / 0.5731 GB, free: 5.836 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.6284, allocations: 4 kB / 0.5731 GB, free: 5.832 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.6284, allocations: 7.938 kB / 0.5731 GB, free: 5.824 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.6288, allocations: 105.1 kB / 0.5732 GB, free: 5.711 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.6288, allocations: 0 / 0.5732 GB, free: 5.711 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.6288, allocations: 4 kB / 0.5732 GB, free: 5.707 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.6288, allocations: 0 / 0.5732 GB, free: 5.707 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000203/0.629, allocations: 51.91 kB / 0.5732 GB, free: 5.656 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008263/0.6299, allocations: 469 kB / 0.5737 GB, free: 5.145 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004439/0.6304, allocations: 117.4 kB / 0.5738 GB, free: 5.012 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.6304, allocations: 4 kB / 0.5738 GB, free: 5.008 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003371/0.6307, allocations: 117.8 kB / 0.5739 GB, free: 4.875 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.304e-06/0.6308, allocations: 0 / 0.5739 GB, free: 4.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001451/0.6322, allocations: 371.8 kB / 0.5743 GB, free: 4.504 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.6323, allocations: 81.11 kB / 0.5743 GB, free: 4.406 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007565/0.6331, allocations: 395.6 kB / 0.5747 GB, free: 4.016 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.6331, allocations: 29.7 kB / 0.5748 GB, free: 3.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.6333, allocations: 198.8 kB / 0.5749 GB, free: 3.781 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.924e-05/0.6333, allocations: 51.3 kB / 0.575 GB, free: 3.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.445e-05/0.6334, allocations: 4 kB / 0.575 GB, free: 3.727 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.6335, allocations: 318.8 kB / 0.5753 GB, free: 3.406 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.6337, allocations: 39.98 kB / 0.5753 GB, free: 3.367 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.6339, allocations: 76.72 kB / 0.5754 GB, free: 3.281 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.6341, allocations: 60.08 kB / 0.5755 GB, free: 3.223 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6342, allocations: 3.938 kB / 0.5755 GB, free: 3.219 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005229/0.6347, allocations: 157.6 kB / 0.5756 GB, free: 3.059 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.6347, allocations: 8 kB / 0.5756 GB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.6347, allocations: 0 / 0.5756 GB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.6348, allocations: 4.75 kB / 0.5756 GB, free: 3.047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.635, allocations: 31.92 kB / 0.5757 GB, free: 3.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.6351, allocations: 8.062 kB / 0.5757 GB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.6352, allocations: 11.98 kB / 0.5757 GB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.6353, allocations: 4 kB / 0.5757 GB, free: 2.992 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002559/0.6355, allocations: 177.7 kB / 0.5759 GB, free: 2.809 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-05/0.6356, allocations: 28.38 kB / 0.5759 GB, free: 2.781 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007059/0.6363, allocations: 220 kB / 0.5761 GB, free: 2.559 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.6364, allocations: 8 kB / 0.5761 GB, free: 2.551 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.6364, allocations: 3.984 kB / 0.5761 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.6364, allocations: 0 / 0.5761 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.6378, allocations: 0.6789 MB / 0.5768 GB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.6378, allocations: 11.94 kB / 0.5768 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.638, allocations: 20 kB / 0.5768 GB, free: 1.773 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.638, allocations: 4.062 kB / 0.5768 GB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.638, allocations: 7.984 kB / 0.5768 GB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.6381, allocations: 4.312 kB / 0.5768 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6381, allocations: 0 / 0.5768 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007101/0.6388, allocations: 423.9 kB / 0.5772 GB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.639, allocations: 124.7 kB / 0.5773 GB, free: 1.164 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.071e-05/0.6391, allocations: 11.95 kB / 0.5773 GB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.6393, allocations: 4 kB / 0.5774 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.379e-05/0.6394, allocations: 19.97 kB / 0.5774 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.6394, allocations: 8 kB / 0.5774 GB, free: 1.121 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005608/0.64, allocations: 315 kB / 0.5777 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.64, allocations: 0 / 0.5777 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005479/0.6406, allocations: 63.92 kB / 0.5777 GB, free: 0.7539 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002463/0.643, allocations: 1.523 MB / 0.5792 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004983/0.6436, allocations: 123.7 kB / 0.5793 GB, free: 15.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6436, allocations: 0 / 0.5793 GB, free: 15.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.6438, allocations: 71.89 kB / 0.5794 GB, free: 15.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006265/0.6445, allocations: 49.61 kB / 0.5795 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003756/0.6482, allocations: 2.001 MB / 0.5814 GB, free: 12.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.6488, allocations: 0.7791 MB / 0.5822 GB, free: 12.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.649, allocations: 83.41 kB / 0.5823 GB, free: 12.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.649, allocations: 0 / 0.5823 GB, free: 12.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.728/3.377, allocations: 4.674 MB / 0.5868 GB, free: 7.422 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat does not exist to compare? outputFormat=mat