Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test43",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.001544/0.001544, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.216/2.216, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001622/0.001622, allocations: 92.42 kB / 270.9 MB, free: 8.352 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.5857/0.5857, allocations: 43.54 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004976/0.0004975, allocations: 24 kB / 431.5 MB, free: 6.039 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1265, allocations: 58.84 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4725/0.599, allocations: 87.71 MB / 0.5645 GB, free: 14.9 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.5994, allocations: 71.95 kB / 0.5646 GB, free: 14.83 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03099/0.6304, allocations: 5.464 MB / 0.5699 GB, free: 9.422 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.6305, allocations: 4 kB / 0.5699 GB, free: 9.418 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.57e-05/0.6306, allocations: 0 / 0.5699 GB, free: 9.418 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.001217/0.6318, allocations: 434.3 kB / 0.5703 GB, free: 8.949 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.323e-05/0.6319, allocations: 8.031 kB / 0.5703 GB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.75e-05/0.632, allocations: 38.55 kB / 0.5704 GB, free: 8.895 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.001e-05/0.6321, allocations: 19.25 kB / 0.5704 GB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005429/0.6327, allocations: 207.6 kB / 0.5706 GB, free: 8.633 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.6327, allocations: 4 kB / 0.5706 GB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.6328, allocations: 4 kB / 0.5706 GB, free: 8.625 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.6331, allocations: 53.67 kB / 0.5706 GB, free: 8.566 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.6331, allocations: 3.938 kB / 0.5706 GB, free: 8.562 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.6331, allocations: 0 / 0.5706 GB, free: 8.562 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.6331, allocations: 1.031 kB / 0.5706 GB, free: 8.562 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.6333, allocations: 23.97 kB / 0.5707 GB, free: 8.539 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.6347, allocations: 300.8 kB / 0.5709 GB, free: 8.195 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/0.6352, allocations: 67.48 kB / 0.571 GB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.6352, allocations: 0 / 0.571 GB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002736/0.6355, allocations: 63.52 kB / 0.5711 GB, free: 8.047 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.906e-06/0.6355, allocations: 0 / 0.5711 GB, free: 8.047 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.00113/0.6367, allocations: 189 kB / 0.5713 GB, free: 7.855 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.6368, allocations: 55.41 kB / 0.5713 GB, free: 7.789 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000545/0.6373, allocations: 188.8 kB / 0.5715 GB, free: 7.598 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.42e-05/0.6374, allocations: 25.7 kB / 0.5715 GB, free: 7.566 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.6377, allocations: 162.6 kB / 0.5717 GB, free: 7.406 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.6378, allocations: 23.64 kB / 0.5717 GB, free: 7.383 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.6379, allocations: 8 kB / 0.5717 GB, free: 7.375 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00036/0.6383, allocations: 310.8 kB / 0.572 GB, free: 7.062 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.6386, allocations: 23.98 kB / 0.572 GB, free: 7.039 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.6388, allocations: 37.7 kB / 0.572 GB, free: 6.996 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.6389, allocations: 23.94 kB / 0.5721 GB, free: 6.973 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.639, allocations: 0 / 0.5721 GB, free: 6.973 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004518/0.6394, allocations: 98.41 kB / 0.5722 GB, free: 6.871 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.6395, allocations: 4 kB / 0.5722 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.6395, allocations: 4 kB / 0.5722 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.6395, allocations: 0 / 0.5722 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.6398, allocations: 23.95 kB / 0.5722 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.6398, allocations: 3.953 kB / 0.5722 GB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.6399, allocations: 4 kB / 0.5722 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.64, allocations: 8 kB / 0.5722 GB, free: 6.824 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.0002104/0.6402, allocations: 126 kB / 0.5723 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.575e-05/0.6403, allocations: 15.81 kB / 0.5723 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006549/0.641, allocations: 122.9 kB / 0.5725 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.641, allocations: 4 kB / 0.5725 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.6411, allocations: 0 / 0.5725 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.897e-05/0.6411, allocations: 3.953 kB / 0.5725 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.6428, allocations: 415.3 kB / 0.5729 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.6428, allocations: 0 / 0.5729 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.6429, allocations: 15.98 kB / 0.5729 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.643, allocations: 0 / 0.5729 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.643, allocations: 7.984 kB / 0.5729 GB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.116e-06/0.643, allocations: 7.922 kB / 0.5729 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.641e-05/0.643, allocations: 7.938 kB / 0.5729 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005614/0.6436, allocations: 213.9 kB / 0.5731 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.6438, allocations: 97 kB / 0.5732 GB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.138e-05/0.6438, allocations: 7.891 kB / 0.5732 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.6441, allocations: 4 kB / 0.5732 GB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.6441, allocations: 15.98 kB / 0.5732 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.6442, allocations: 4 kB / 0.5732 GB, free: 5.656 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003395/0.6445, allocations: 152.9 kB / 0.5734 GB, free: 5.508 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.152e-06/0.6446, allocations: 0 / 0.5734 GB, free: 5.508 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001639/0.6462, allocations: 31.94 kB / 0.5734 GB, free: 5.477 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.004177/0.6504, allocations: 1.201 MB / 0.5746 GB, free: 4.348 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004538/0.651, allocations: 67.91 kB / 0.5746 GB, free: 4.281 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.651, allocations: 0 / 0.5746 GB, free: 4.281 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.6512, allocations: 35.92 kB / 0.5747 GB, free: 4.246 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005889/0.6518, allocations: 19.98 kB / 0.5747 GB, free: 4.227 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/0.6554, allocations: 0.9171 MB / 0.5756 GB, free: 3.266 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/0.656, allocations: 0.716 MB / 0.5763 GB, free: 2.523 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003265/0.6563, allocations: 35.42 kB / 0.5763 GB, free: 2.488 MB / 394.7 MB Notification: Performance of SimCode: time 6.042e-06/0.6564, allocations: 0 / 0.5763 GB, free: 2.488 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.678/3.334, allocations: 2.523 MB / 0.5788 GB, free: 15.98 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat does not exist to compare? outputFormat=mat