Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008072/0.0008072, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008559/0.0008562, allocations: 173.2 kB / 16.58 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3076/0.3076, allocations: 43.55 MB / 314.6 MB, free: 8.773 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005267/0.0005267, allocations: 20 kB / 384 MB, free: 7.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1041, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.001979/0.1061, allocations: 1.391 MB / 444.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.1081, allocations: 1.305 MB / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.129e-05/0.1082, allocations: 4 kB / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.1084, allocations: 39.83 kB / 445.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.1086, allocations: 43.83 kB / 445.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.1089, allocations: 71.8 kB / 445.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.109, allocations: 83.75 kB / 445.8 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.048e-05/0.1091, allocations: 16.14 kB / 445.8 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.128e-05/0.1092, allocations: 35.86 kB / 445.9 MB, free: 9.945 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.1093, allocations: 35.78 kB / 445.9 MB, free: 9.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.1093, allocations: 4 kB / 445.9 MB, free: 9.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1094, allocations: 51.91 kB / 446 MB, free: 9.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.024e-05/0.1095, allocations: 15.92 kB / 446 MB, free: 9.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.531e-05/0.1095, allocations: 41.69 kB / 446 MB, free: 9.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.1097, allocations: 92.03 kB / 446.1 MB, free: 9.703 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1097, allocations: 0 / 446.1 MB, free: 9.703 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1097, allocations: 4 kB / 446.1 MB, free: 9.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.005e-06/0.1097, allocations: 0 / 446.1 MB, free: 9.699 MB / 382.1 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.0004568/0.1102, allocations: 398.9 kB / 446.5 MB, free: 9.262 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.1102, allocations: 16.03 kB / 446.5 MB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.1103, allocations: 30.56 kB / 446.5 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.1103, allocations: 7.906 kB / 446.6 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.1105, allocations: 198.9 kB / 446.8 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1105, allocations: 7.984 kB / 446.8 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.1105, allocations: 0 / 446.8 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.1107, allocations: 75.34 kB / 446.8 MB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1107, allocations: 3.938 kB / 446.8 MB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.1107, allocations: 4 kB / 446.8 MB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.3e-05/0.1108, allocations: 4 kB / 446.8 MB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.643e-05/0.1109, allocations: 15.98 kB / 446.9 MB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/0.1112, allocations: 277 kB / 447.1 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.1114, allocations: 58.62 kB / 447.2 MB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.604e-05/0.1114, allocations: 24.8 kB / 447.2 MB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.1114, allocations: 0 / 447.2 MB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.1116, allocations: 71.38 kB / 447.3 MB, free: 8.348 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.1116, allocations: 4 kB / 447.3 MB, free: 8.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004857/0.1121, allocations: 173.1 kB / 447.5 MB, free: 8.168 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.1122, allocations: 77.11 kB / 447.5 MB, free: 8.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.1123, allocations: 154.5 kB / 447.7 MB, free: 7.914 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.1124, allocations: 29.7 kB / 447.7 MB, free: 7.879 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/0.1124, allocations: 96.12 kB / 447.8 MB, free: 7.781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.1125, allocations: 23.66 kB / 447.8 MB, free: 7.758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.1125, allocations: 0 / 447.8 MB, free: 7.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.1127, allocations: 330.8 kB / 448.1 MB, free: 7.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.315e-05/0.1128, allocations: 23.98 kB / 448.2 MB, free: 7.402 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/0.1128, allocations: 42.56 kB / 448.2 MB, free: 7.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.62e-05/0.1129, allocations: 28 kB / 448.2 MB, free: 7.324 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1129, allocations: 192 / 448.2 MB, free: 7.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002335/0.1131, allocations: 105.6 kB / 448.3 MB, free: 7.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1132, allocations: 7.938 kB / 448.4 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1132, allocations: 0 / 448.4 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1132, allocations: 0 / 448.4 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.143e-05/0.1133, allocations: 19.94 kB / 448.4 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.1133, allocations: 64 / 448.4 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.741e-05/0.1133, allocations: 11.98 kB / 448.4 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.1134, allocations: 0 / 448.4 MB, free: 7.176 MB / 382.1 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 9.102e-05/0.1134, allocations: 129.8 kB / 448.5 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.1135, allocations: 11.84 kB / 448.5 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.495e-05/0.1135, allocations: 16.7 kB / 448.5 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1135, allocations: 0 / 448.5 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1135, allocations: 0 / 448.5 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1135, allocations: 0 / 448.5 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004532/0.114, allocations: 387.3 kB / 448.9 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.114, allocations: 0 / 448.9 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.514e-05/0.1141, allocations: 15.98 kB / 448.9 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-06/0.1141, allocations: 4 kB / 448.9 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1141, allocations: 3.938 kB / 448.9 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1141, allocations: 0 / 448.9 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1141, allocations: 0 / 448.9 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.1143, allocations: 208.2 kB / 449.1 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.219e-05/0.1144, allocations: 93 kB / 449.2 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.1144, allocations: 0 / 449.2 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.191e-05/0.1145, allocations: 8.375 kB / 449.2 MB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.1145, allocations: 7.984 kB / 449.2 MB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.1146, allocations: 4 kB / 449.3 MB, free: 6.203 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.1147, allocations: 122.6 kB / 449.4 MB, free: 6.086 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.1147, allocations: 4 kB / 449.4 MB, free: 6.082 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000264/0.115, allocations: 28 kB / 449.4 MB, free: 6.055 MB / 382.1 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 (8): * Single equations (assignments): 6 * 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.001505/0.1165, allocations: 1.136 MB / 450.5 MB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001624/0.1166, allocations: 55.92 kB / 450.6 MB, free: 4.875 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.1167, allocations: 4.062 kB / 450.6 MB, free: 4.871 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.1168, allocations: 31.92 kB / 450.6 MB, free: 4.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.1171, allocations: 27.91 kB / 450.7 MB, free: 4.812 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.1182, allocations: 0.6313 MB / 451.3 MB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.1185, allocations: 0.6926 MB / 452 MB, free: 3.414 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.136e-05/0.1186, allocations: 25.33 kB / 452 MB, free: 3.383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.964e-05/0.1187, allocations: 35.41 kB / 452 MB, free: 3.348 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1187, allocations: 0 / 452 MB, free: 3.348 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01515/0.1339, allocations: 3.054 MB / 455.1 MB, free: 300 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/0.1341, allocations: 222 kB / 455.3 MB, free: 52 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/1.812, allocations: 4 kB / 455.3 MB, free: 48 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat does not exist to compare? outputFormat=mat