Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",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.0009639/0.0009634, allocations: 96.86 kB / 15.7 MB, free: 468 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.001464/0.001464, allocations: 172.5 kB / 16.58 MB, free: 5.93 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.626/1.626, allocations: 205.4 MB / 222.7 MB, free: 5.832 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.3765/0.3765, allocations: 43.54 MB / 314.6 MB, free: 8.914 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.0005108/0.000511, allocations: 16 kB / 384 MB, free: 8.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1142, allocations: 58.86 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002288/0.1166, allocations: 1.383 MB / 444.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.1177, allocations: 0.7499 MB / 445 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.486e-05/0.1178, allocations: 0 / 445 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.1181, allocations: 31.89 kB / 445.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.1183, allocations: 51.77 kB / 445.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.1186, allocations: 75.84 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.1188, allocations: 71.77 kB / 445.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1189, allocations: 20.2 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.284e-05/0.119, allocations: 39.78 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.498e-05/0.119, allocations: 23.86 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.1191, allocations: 4 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.1192, allocations: 39.98 kB / 445.4 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.261e-05/0.1192, allocations: 15.91 kB / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.1193, allocations: 37.64 kB / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.1194, allocations: 76.11 kB / 445.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1194, allocations: 0 / 445.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1195, allocations: 0 / 445.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.1195, allocations: 4 kB / 445.5 MB, free: 10.55 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.0005428/0.12, allocations: 398.8 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.1201, allocations: 12.03 kB / 445.9 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.431e-05/0.1201, allocations: 38.5 kB / 445.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.1202, allocations: 7.906 kB / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.1204, allocations: 206.9 kB / 446.2 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.1205, allocations: 0 / 446.2 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.1205, allocations: 7.938 kB / 446.2 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1206, allocations: 53.67 kB / 446.2 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1207, allocations: 0 / 446.2 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1207, allocations: 3.953 kB / 446.2 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.1207, allocations: 3.984 kB / 446.2 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.321e-05/0.1208, allocations: 19.94 kB / 446.2 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.1211, allocations: 281 kB / 446.5 MB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.1213, allocations: 58.67 kB / 446.6 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.537e-05/0.1214, allocations: 24.84 kB / 446.6 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.1214, allocations: 0 / 446.6 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/0.1216, allocations: 75.28 kB / 446.7 MB, free: 9.207 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.1216, allocations: 0 / 446.7 MB, free: 9.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005358/0.1221, allocations: 169.2 kB / 446.8 MB, free: 9.035 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.1222, allocations: 51.41 kB / 446.9 MB, free: 8.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.1224, allocations: 170.2 kB / 447.1 MB, free: 8.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.1224, allocations: 29.7 kB / 447.1 MB, free: 8.758 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.107e-05/0.1225, allocations: 104.1 kB / 447.2 MB, free: 8.652 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.1225, allocations: 23.66 kB / 447.2 MB, free: 8.629 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-06/0.1225, allocations: 4 kB / 447.2 MB, free: 8.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1226, allocations: 322.8 kB / 447.5 MB, free: 8.301 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.57e-05/0.1227, allocations: 19.98 kB / 447.5 MB, free: 8.281 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.938e-05/0.1228, allocations: 33.7 kB / 447.6 MB, free: 8.242 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.618e-05/0.1228, allocations: 24 kB / 447.6 MB, free: 8.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1228, allocations: 4 kB / 447.6 MB, free: 8.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001819/0.123, allocations: 105.5 kB / 447.7 MB, free: 8.105 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.1231, allocations: 11.94 kB / 447.7 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1231, allocations: 0 / 447.7 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1231, allocations: 0 / 447.7 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.322e-05/0.1232, allocations: 12 kB / 447.7 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.1232, allocations: 4 kB / 447.7 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.05e-05/0.1233, allocations: 7.984 kB / 447.7 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.567e-06/0.1233, allocations: 7.938 kB / 447.7 MB, free: 8.062 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 0.0001016/0.1234, allocations: 125.9 kB / 447.9 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.1234, allocations: 15.77 kB / 447.9 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.156e-05/0.1235, allocations: 16.7 kB / 447.9 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1235, allocations: 4 kB / 447.9 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1235, allocations: 192 / 447.9 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.1235, allocations: 3.984 kB / 447.9 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.1239, allocations: 395.2 kB / 448.3 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1239, allocations: 4.031 kB / 448.3 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.291e-05/0.124, allocations: 8 kB / 448.3 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.124, allocations: 0 / 448.3 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.124, allocations: 7.984 kB / 448.3 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.124, allocations: 0 / 448.3 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.124, allocations: 0 / 448.3 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.1243, allocations: 208.2 kB / 448.5 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.353e-05/0.1243, allocations: 96.92 kB / 448.6 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.1244, allocations: 4.359 kB / 448.6 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.929e-05/0.1245, allocations: 4 kB / 448.6 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.1245, allocations: 4 kB / 448.6 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.1245, allocations: 15.98 kB / 448.6 MB, free: 7.066 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.1247, allocations: 127.9 kB / 448.8 MB, free: 6.941 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1247, allocations: 0 / 448.8 MB, free: 6.941 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.1249, allocations: 28 kB / 448.8 MB, free: 6.914 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.00173/0.1267, allocations: 1.094 MB / 449.9 MB, free: 5.828 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.1269, allocations: 59.92 kB / 449.9 MB, free: 5.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1269, allocations: 0 / 449.9 MB, free: 5.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.859e-05/0.127, allocations: 28.14 kB / 450 MB, free: 5.742 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.1273, allocations: 28.11 kB / 450 MB, free: 5.715 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.1283, allocations: 0.6796 MB / 450.7 MB, free: 4.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.1286, allocations: 0.7041 MB / 451.4 MB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.577e-05/0.1286, allocations: 8.891 kB / 451.4 MB, free: 4.238 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.524e-05/0.1287, allocations: 31.42 kB / 451.4 MB, free: 4.207 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1287, allocations: 0 / 451.4 MB, free: 4.207 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01282/0.1415, allocations: 2.864 MB / 454.3 MB, free: 1.344 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/0.1418, allocations: 221.4 kB / 454.5 MB, free: 1.102 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/1.805, allocations: 0 / 454.5 MB, free: 1.102 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat does not exist to compare? outputFormat=mat