Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",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.001111/0.001111, allocations: 177 kB / 17.06 MB, free: 5.094 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.368/1.368, 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.0009296/0.0009296, allocations: 98.89 kB / 292.1 MB, free: 10.92 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.3474/0.3474, allocations: 44.22 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003517, allocations: 12 kB / 460 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3744, allocations: 61.9 MB / 0.5096 GB, free: 38.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.5032, allocations: 89.07 MB / 0.5966 GB, free: 6.039 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.5035, allocations: 79.92 kB / 0.5967 GB, free: 5.969 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01428/0.5178, allocations: 5.313 MB / 0.6019 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.5179, allocations: 0 / 0.6019 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.5179, allocations: 8 kB / 0.6019 GB, free: 0.6484 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005564/0.5185, allocations: 410.8 kB / 0.6023 GB, free: 204 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.5185, allocations: 8.031 kB / 0.6023 GB, free: 196 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.361e-05/0.5186, allocations: 34.56 kB / 0.6023 GB, free: 152 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.5186, allocations: 7.906 kB / 0.6023 GB, free: 144 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.519, allocations: 205.2 kB / 0.6025 GB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.519, allocations: 3.938 kB / 0.6025 GB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.519, allocations: 7.953 kB / 0.6025 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.5192, allocations: 57.61 kB / 0.6026 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.5192, allocations: 3.984 kB / 0.6026 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.5192, allocations: 0 / 0.6026 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.5192, allocations: 4 kB / 0.6026 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.187e-05/0.5193, allocations: 15.98 kB / 0.6026 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002864/0.5196, allocations: 181.6 kB / 0.6028 GB, free: 15.58 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.5198, allocations: 58.55 kB / 0.6029 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.5198, allocations: 0 / 0.6029 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.52, allocations: 75.44 kB / 0.6029 GB, free: 15.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.653e-06/0.5201, allocations: 0 / 0.6029 GB, free: 15.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003423/0.5204, allocations: 93.56 kB / 0.603 GB, free: 15.33 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.5205, allocations: 59.34 kB / 0.6031 GB, free: 15.26 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.5207, allocations: 168.4 kB / 0.6032 GB, free: 15.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.5207, allocations: 25.7 kB / 0.6033 GB, free: 15.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/0.5208, allocations: 96.14 kB / 0.6034 GB, free: 14.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.5208, allocations: 19.73 kB / 0.6034 GB, free: 14.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-06/0.5208, allocations: 4 kB / 0.6034 GB, free: 14.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.521, allocations: 322.8 kB / 0.6037 GB, free: 14.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.622e-05/0.521, allocations: 12 kB / 0.6037 GB, free: 14.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.561e-05/0.5211, allocations: 29.69 kB / 0.6037 GB, free: 14.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.597e-05/0.5212, allocations: 23.98 kB / 0.6037 GB, free: 14.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5212, allocations: 0 / 0.6037 GB, free: 14.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001551/0.5213, allocations: 81.53 kB / 0.6038 GB, free: 14.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.5214, allocations: 7.953 kB / 0.6038 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.5214, allocations: 0 / 0.6038 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.5214, allocations: 4 kB / 0.6038 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.299e-05/0.5215, allocations: 11.98 kB / 0.6038 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.5215, allocations: 0 / 0.6038 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.859e-05/0.5216, allocations: 15.94 kB / 0.6039 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.5216, allocations: 0 / 0.6039 GB, free: 14.42 MB / 426.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 (7): * Single equations (assignments): 7 * 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.0001243/0.5217, allocations: 122.4 kB / 0.604 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.5217, allocations: 11.84 kB / 0.604 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.522, allocations: 93.94 kB / 0.6041 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.522, allocations: 0 / 0.6041 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.522, allocations: 0 / 0.6041 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.522, allocations: 0 / 0.6041 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.5222, allocations: 193.5 kB / 0.6043 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5222, allocations: 4 kB / 0.6043 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.571e-05/0.5222, allocations: 4.375 kB / 0.6043 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.5222, allocations: 4 kB / 0.6043 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.5223, allocations: 7.984 kB / 0.6043 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.5223, allocations: 7.953 kB / 0.6043 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5223, allocations: 0 / 0.6043 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.5225, allocations: 113 kB / 0.6044 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-05/0.5225, allocations: 85.02 kB / 0.6045 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.5226, allocations: 8 kB / 0.6045 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.586e-05/0.5226, allocations: 7.984 kB / 0.6045 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.5227, allocations: 11.89 kB / 0.6045 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.5227, allocations: 0 / 0.6045 GB, free: 13.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001037/0.5228, allocations: 135.2 kB / 0.6046 GB, free: 13.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5228, allocations: 0 / 0.6046 GB, free: 13.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002241/0.523, allocations: 23.84 kB / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001317/0.5243, allocations: 0.9627 MB / 0.6056 GB, free: 12.67 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001531/0.5245, allocations: 47.97 kB / 0.6056 GB, free: 12.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5245, allocations: 0 / 0.6056 GB, free: 12.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.173e-05/0.5246, allocations: 23.88 kB / 0.6057 GB, free: 12.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.5248, allocations: 27.92 kB / 0.6057 GB, free: 12.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.5259, allocations: 0.7757 MB / 0.6064 GB, free: 11.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.5262, allocations: 0.7082 MB / 0.6071 GB, free: 11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.069e-05/0.5263, allocations: 10.83 kB / 0.6072 GB, free: 11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.806e-05/0.5263, allocations: 27.42 kB / 0.6072 GB, free: 10.97 MB / 426.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5263, allocations: 0 / 0.6072 GB, free: 10.97 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.5412, allocations: 2.657 MB / 0.6098 GB, free: 8.449 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/0.5415, allocations: 214.1 kB / 0.61 GB, free: 8.207 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.233, allocations: 0 / 0.61 GB, free: 8.207 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat does not exist to compare? outputFormat=mat