Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 176.5 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009825/0.0009828, allocations: 91.52 kB / 292.1 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3521/0.3521, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.000317, allocations: 11.98 kB / 460 MB, free: 1.453 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3845, allocations: 61.9 MB / 0.5096 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.118/0.5026, allocations: 89.32 MB / 0.5969 GB, free: 5.812 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/0.5029, allocations: 79.88 kB / 0.5969 GB, free: 5.742 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01735/0.5203, allocations: 6.053 MB / 0.6029 GB, free: 15.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.075e-06/0.5204, allocations: 0 / 0.6029 GB, free: 15.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.77e-05/0.5204, allocations: 8 kB / 0.6029 GB, free: 15.68 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007204/0.5211, allocations: 466.6 kB / 0.6033 GB, free: 15.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.5212, allocations: 8.031 kB / 0.6033 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.774e-05/0.5212, allocations: 38.5 kB / 0.6034 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.599e-05/0.5213, allocations: 23.81 kB / 0.6034 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.5217, allocations: 242.7 kB / 0.6036 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.5218, allocations: 7.953 kB / 0.6036 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.5218, allocations: 0 / 0.6036 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.522, allocations: 109 kB / 0.6037 GB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.522, allocations: 0 / 0.6037 GB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.5221, allocations: 3.984 kB / 0.6037 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.5221, allocations: 4 kB / 0.6037 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.5222, allocations: 27.98 kB / 0.6038 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00027/0.5225, allocations: 222.5 kB / 0.604 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/0.5227, allocations: 121.1 kB / 0.6041 GB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.5228, allocations: 4 kB / 0.6041 GB, free: 14.24 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.523, allocations: 113.1 kB / 0.6042 GB, free: 14.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.523, allocations: 0 / 0.6042 GB, free: 14.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004544/0.5235, allocations: 169.4 kB / 0.6044 GB, free: 13.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.929e-05/0.5236, allocations: 128.5 kB / 0.6045 GB, free: 13.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.5238, allocations: 202.9 kB / 0.6047 GB, free: 13.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.5238, allocations: 33.64 kB / 0.6047 GB, free: 13.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.03e-05/0.5239, allocations: 116.1 kB / 0.6048 GB, free: 13.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.5239, allocations: 27.56 kB / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-06/0.524, allocations: 4 kB / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.5241, allocations: 327.1 kB / 0.6052 GB, free: 13.06 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.674e-05/0.5242, allocations: 31.98 kB / 0.6052 GB, free: 13.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.5243, allocations: 70.62 kB / 0.6053 GB, free: 12.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.579e-05/0.5244, allocations: 43.97 kB / 0.6053 GB, free: 12.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.5244, allocations: 0 / 0.6053 GB, free: 12.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002662/0.5247, allocations: 137.4 kB / 0.6054 GB, free: 12.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.5247, allocations: 9.562 kB / 0.6054 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.5247, allocations: 0.625 kB / 0.6054 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.5247, allocations: 0 / 0.6054 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.5249, allocations: 31.98 kB / 0.6055 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.5249, allocations: 4 kB / 0.6055 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.838e-05/0.525, allocations: 11.98 kB / 0.6055 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.525, allocations: 8 kB / 0.6055 GB, free: 12.7 MB / 426.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_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001309/0.5251, allocations: 126.4 kB / 0.6056 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.5252, allocations: 27.75 kB / 0.6056 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003331/0.5255, allocations: 158.5 kB / 0.6058 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.5255, allocations: 4 kB / 0.6058 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.5256, allocations: 3.984 kB / 0.6058 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.5256, allocations: 4 kB / 0.6058 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.5258, allocations: 225.5 kB / 0.606 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5258, allocations: 0 / 0.606 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.031e-05/0.5259, allocations: 15.94 kB / 0.606 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.5259, allocations: 0 / 0.606 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.5259, allocations: 3.953 kB / 0.606 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.5259, allocations: 7.984 kB / 0.606 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5259, allocations: 3.938 kB / 0.606 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.5262, allocations: 195.4 kB / 0.6062 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.82e-05/0.5263, allocations: 108.8 kB / 0.6063 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.5264, allocations: 4 kB / 0.6063 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-05/0.5265, allocations: 4 kB / 0.6063 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.5265, allocations: 11.98 kB / 0.6064 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.5266, allocations: 8 kB / 0.6064 GB, free: 11.69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001823/0.5267, allocations: 168.1 kB / 0.6065 GB, free: 11.53 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5268, allocations: 0 / 0.6065 GB, free: 11.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003007/0.5271, allocations: 51.92 kB / 0.6066 GB, free: 11.48 MB / 426.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.001795/0.5289, allocations: 1.14 MB / 0.6077 GB, free: 10.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002656/0.5291, allocations: 91.83 kB / 0.6078 GB, free: 10.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5292, allocations: 4.125 kB / 0.6078 GB, free: 10.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.5293, allocations: 40.36 kB / 0.6078 GB, free: 10.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.5296, allocations: 52.02 kB / 0.6079 GB, free: 10.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.5314, allocations: 1.347 MB / 0.6092 GB, free: 8.871 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.5318, allocations: 0.7205 MB / 0.6099 GB, free: 8.125 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001228/0.5319, allocations: 37.5 kB / 0.6099 GB, free: 8.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.532, allocations: 51.41 kB / 0.61 GB, free: 8.039 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.532, allocations: 0 / 0.61 GB, free: 8.039 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.5563, allocations: 4.22 MB / 0.6141 GB, free: 3.98 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003104/0.5566, allocations: 222.8 kB / 0.6143 GB, free: 3.734 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/2.331, allocations: 0 / 0.6143 GB, free: 3.734 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat does not exist to compare? outputFormat=mat