Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",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.001307/0.001307, allocations: 96.67 kB / 15.68 MB, free: 488 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.001687/0.001687, allocations: 172.5 kB / 16.56 MB, free: 6.379 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.743/1.743, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.3446/0.3446, allocations: 43.55 MB / 314.5 MB, free: 8.75 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.0004934/0.0004935, allocations: 20 kB / 384 MB, free: 7.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1061, allocations: 58.85 MB / 442.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002977/0.1092, allocations: 1.58 MB / 444.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.1106, allocations: 0.7694 MB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.575e-05/0.1107, allocations: 0 / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002952/0.111, allocations: 31.78 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000188/0.1112, allocations: 55.86 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.1115, allocations: 99.69 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.1117, allocations: 83.78 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.1118, allocations: 25.47 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.03e-05/0.1119, allocations: 55.77 kB / 445.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.483e-05/0.112, allocations: 35.78 kB / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.112, allocations: 4 kB / 445.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.471e-05/0.1121, allocations: 31.92 kB / 445.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.633e-05/0.1122, allocations: 15.92 kB / 445.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.632e-05/0.1122, allocations: 41.64 kB / 445.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.1124, allocations: 100 kB / 445.8 MB, free: 10.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1124, allocations: 4 kB / 445.8 MB, free: 10.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1124, allocations: 0 / 445.8 MB, free: 10.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1124, allocations: 0 / 445.8 MB, free: 10.03 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005989/0.113, allocations: 476.3 kB / 446.2 MB, free: 9.508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.1131, allocations: 8.031 kB / 446.2 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.308e-05/0.1131, allocations: 34.56 kB / 446.3 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.1132, allocations: 19.75 kB / 446.3 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.1134, allocations: 215.6 kB / 446.5 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1134, allocations: 11.88 kB / 446.5 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.1135, allocations: 8 kB / 446.5 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.1137, allocations: 108.2 kB / 446.6 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1137, allocations: 0 / 446.6 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.1138, allocations: 7.953 kB / 446.6 MB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1138, allocations: 4 kB / 446.6 MB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.1139, allocations: 47.91 kB / 446.7 MB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005686/0.1145, allocations: 0.5165 MB / 447.2 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.1148, allocations: 90.66 kB / 447.3 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.1149, allocations: 0 / 447.3 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002364/0.1151, allocations: 95.3 kB / 447.4 MB, free: 8.211 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.1151, allocations: 0 / 447.4 MB, free: 8.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003881/0.1155, allocations: 153.4 kB / 447.5 MB, free: 8.055 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.1156, allocations: 51.41 kB / 447.6 MB, free: 7.992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.1157, allocations: 187.5 kB / 447.8 MB, free: 7.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.1158, allocations: 25.7 kB / 447.8 MB, free: 7.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.383e-05/0.1158, allocations: 116 kB / 447.9 MB, free: 7.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.1159, allocations: 31.61 kB / 447.9 MB, free: 7.617 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-06/0.1159, allocations: 4 kB / 447.9 MB, free: 7.613 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.116, allocations: 326.8 kB / 448.3 MB, free: 7.285 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.408e-05/0.1161, allocations: 23.98 kB / 448.3 MB, free: 7.262 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.848e-05/0.1162, allocations: 64.27 kB / 448.4 MB, free: 7.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.597e-05/0.1163, allocations: 48.3 kB / 448.4 MB, free: 7.137 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1163, allocations: 3.953 kB / 448.4 MB, free: 7.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002577/0.1166, allocations: 137.3 kB / 448.5 MB, free: 6.992 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1166, allocations: 8.125 kB / 448.5 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1166, allocations: 0 / 448.5 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1167, allocations: 7.984 kB / 448.6 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.1168, allocations: 24 kB / 448.6 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.1168, allocations: 0 / 448.6 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.904e-05/0.1169, allocations: 15.92 kB / 448.6 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.1169, allocations: 4 kB / 448.6 MB, free: 6.934 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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.0001143/0.117, allocations: 133.7 kB / 448.7 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.117, allocations: 27.75 kB / 448.8 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.425e-05/0.1171, allocations: 17.41 kB / 448.8 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1171, allocations: 0 / 448.8 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1171, allocations: 0 / 448.8 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1171, allocations: 0 / 448.8 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.1173, allocations: 205.8 kB / 449 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1173, allocations: 0 / 449 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.898e-05/0.1174, allocations: 19.94 kB / 449 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1174, allocations: 0 / 449 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.1174, allocations: 4 kB / 449 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1174, allocations: 8 kB / 449 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.1175, allocations: 3.938 kB / 449 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.1178, allocations: 184.8 kB / 449.2 MB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.889e-05/0.1179, allocations: 92.89 kB / 449.3 MB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.1179, allocations: 7.953 kB / 449.3 MB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.121e-05/0.118, allocations: 16.05 kB / 449.3 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.118, allocations: 7.984 kB / 449.3 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.1181, allocations: 0 / 449.3 MB, free: 6.125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.1182, allocations: 137.2 kB / 449.4 MB, free: 5.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1182, allocations: 192 / 449.4 MB, free: 5.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000233/0.1184, allocations: 31.98 kB / 449.5 MB, free: 5.961 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.001424/0.1199, allocations: 1.018 MB / 450.5 MB, free: 4.953 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.1201, allocations: 91.95 kB / 450.6 MB, free: 4.863 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1201, allocations: 0 / 450.6 MB, free: 4.863 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.946e-05/0.1202, allocations: 35.98 kB / 450.6 MB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.1205, allocations: 36.11 kB / 450.7 MB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.1219, allocations: 1.436 MB / 452.1 MB, free: 3.293 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.1222, allocations: 0.7201 MB / 452.8 MB, free: 2.547 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.868e-05/0.1222, allocations: 21.41 kB / 452.8 MB, free: 2.523 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.056e-05/0.1223, allocations: 43.42 kB / 452.9 MB, free: 2.48 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1223, allocations: 0 / 452.9 MB, free: 2.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2032/0.3255, allocations: 3.242 MB / 456.1 MB, free: 45.66 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/0.3258, allocations: 224.2 kB / 456.3 MB, free: 45.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.127, allocations: 3.688 kB / 456.3 MB, free: 45.42 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat does not exist to compare? outputFormat=mat