Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test41",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.001585/0.001585, 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.186/2.186, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001125/0.001125, allocations: 96.36 kB / 270.9 MB, free: 8.359 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.6044/0.6044, allocations: 43.56 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004858/0.0004858, allocations: 12 kB / 431.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1305, allocations: 58.84 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4673/0.5978, allocations: 87.72 MB / 0.5645 GB, free: 14.81 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.5982, allocations: 75.11 kB / 0.5646 GB, free: 14.74 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02431/0.6225, allocations: 5.509 MB / 0.5699 GB, free: 9.273 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.6226, allocations: 3.938 kB / 0.5699 GB, free: 9.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.6226, allocations: 0.6562 kB / 0.5699 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.000671/0.6233, allocations: 437.7 kB / 0.5704 GB, free: 8.797 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.6233, allocations: 12.03 kB / 0.5704 GB, free: 8.785 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.374e-05/0.6234, allocations: 38.55 kB / 0.5704 GB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.6235, allocations: 16.12 kB / 0.5704 GB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.6239, allocations: 207.4 kB / 0.5706 GB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.6239, allocations: 4 kB / 0.5706 GB, free: 8.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.6239, allocations: 3.938 kB / 0.5706 GB, free: 8.477 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.6241, allocations: 57.67 kB / 0.5707 GB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.6242, allocations: 3.938 kB / 0.5707 GB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.6242, allocations: 0.5625 kB / 0.5707 GB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.6242, allocations: 1.031 kB / 0.5707 GB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.6243, allocations: 35.97 kB / 0.5707 GB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/0.6248, allocations: 296.8 kB / 0.571 GB, free: 8.035 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.6251, allocations: 62.61 kB / 0.5711 GB, free: 7.965 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.6251, allocations: 0 / 0.5711 GB, free: 7.965 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.6253, allocations: 73.2 kB / 0.5711 GB, free: 7.883 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.953e-06/0.6253, allocations: 0 / 0.5711 GB, free: 7.883 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000796/0.6261, allocations: 177.2 kB / 0.5713 GB, free: 7.703 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.6262, allocations: 59.39 kB / 0.5714 GB, free: 7.633 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.6265, allocations: 196.2 kB / 0.5716 GB, free: 7.438 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.6265, allocations: 25.7 kB / 0.5716 GB, free: 7.406 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.692e-05/0.6266, allocations: 170.4 kB / 0.5717 GB, free: 7.238 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.6267, allocations: 19.81 kB / 0.5718 GB, free: 7.219 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-06/0.6267, allocations: 0 / 0.5718 GB, free: 7.219 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.6268, allocations: 318.8 kB / 0.5721 GB, free: 6.898 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.869e-05/0.6269, allocations: 23.98 kB / 0.5721 GB, free: 6.875 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.627, allocations: 37.64 kB / 0.5721 GB, free: 6.832 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.6271, allocations: 25.97 kB / 0.5721 GB, free: 6.809 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6272, allocations: 0 / 0.5721 GB, free: 6.809 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002864/0.6275, allocations: 105.5 kB / 0.5722 GB, free: 6.699 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.6275, allocations: 4 kB / 0.5723 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.6275, allocations: 4 kB / 0.5723 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.6275, allocations: 0 / 0.5723 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.6277, allocations: 12 kB / 0.5723 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.6277, allocations: 3.953 kB / 0.5723 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.6278, allocations: 11.98 kB / 0.5723 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.6278, allocations: 4 kB / 0.5723 GB, free: 6.66 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.0001321/0.628, allocations: 125.9 kB / 0.5724 GB, free: 6.527 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.628, allocations: 23.88 kB / 0.5724 GB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003847/0.6284, allocations: 122.9 kB / 0.5725 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.6284, allocations: 0 / 0.5725 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.6285, allocations: 4 kB / 0.5725 GB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.6285, allocations: 4.234 kB / 0.5726 GB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006883/0.6292, allocations: 415.5 kB / 0.5729 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6292, allocations: 7.969 kB / 0.573 GB, free: 5.895 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.25e-05/0.6293, allocations: 15.88 kB / 0.573 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.6293, allocations: 0 / 0.573 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.6293, allocations: 4 kB / 0.573 GB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.657e-06/0.6293, allocations: 4.328 kB / 0.573 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.6293, allocations: 4.062 kB / 0.573 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.6297, allocations: 229.8 kB / 0.5732 GB, free: 5.617 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.164e-05/0.6298, allocations: 93 kB / 0.5733 GB, free: 5.508 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.6299, allocations: 15.95 kB / 0.5733 GB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.63, allocations: 0 / 0.5733 GB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.63, allocations: 7.984 kB / 0.5733 GB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.6301, allocations: 4 kB / 0.5733 GB, free: 5.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002122/0.6303, allocations: 156.2 kB / 0.5735 GB, free: 5.328 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6303, allocations: 0 / 0.5735 GB, free: 5.328 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003767/0.6307, allocations: 39.92 kB / 0.5735 GB, free: 5.289 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.00193/0.6326, allocations: 1.203 MB / 0.5747 GB, free: 4.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002997/0.633, allocations: 59.91 kB / 0.5747 GB, free: 4.102 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.633, allocations: 0 / 0.5747 GB, free: 4.102 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.6331, allocations: 35.92 kB / 0.5748 GB, free: 4.066 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.6335, allocations: 19.98 kB / 0.5748 GB, free: 4.047 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.6353, allocations: 0.957 MB / 0.5757 GB, free: 3.035 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.6356, allocations: 0.716 MB / 0.5764 GB, free: 2.293 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.6358, allocations: 35.42 kB / 0.5765 GB, free: 2.258 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6358, allocations: 0 / 0.5765 GB, free: 2.258 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.659/3.295, allocations: 2.58 MB / 0.579 GB, free: 15.68 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat does not exist to compare? outputFormat=mat